Embedded Extension Options: Open all external links in a new tab
Implement WebContentsDelegate::OpenURLFromTab in ExtensionOptionsGuest to handle links that do not have the target=_blank attribute. Force all links to URLs outside of the extension to be opened in a new tab. This also handles <meta> redirects and setting window.location from the options page by opening them in a new tab. BUG=409344 Review URL: https://codereview.chromium.org/546073003 Cr-Commit-Position: refs/heads/master@{#293612}
Showing
Please register or sign in to comment