How does Same Origin Policy apply to browser extensions?
问题 Given a browser extension that sends information from one webpage to an entirely different server, is this violating the same origin policy? 回答1: The same-origin policy (SOP) appplies to ordinary web pages, not browser extensions, even if they are written in JavaScript. What does "different server" mean when the extension code does not origingate from a server? (The extension script might have some kind of orgin, like chrome-extension://longhashidentificationstr , but not an traditional