Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/binghuan/browserextension_testjavascriptinjection

BrowserExtension to Test JavaScript Injection
https://github.com/binghuan/browserextension_testjavascriptinjection

chrome-extension javascript safari safari-extension

Last synced: 13 days ago
JSON representation

BrowserExtension to Test JavaScript Injection

Awesome Lists containing this project

README

        


Browser Extension to inject Javascript


Here is a example to show you how to injection JavaScript into web page via browser extension.

How to install IE Extension


Open command prompt as administrator and enter the command:

Regsvr32.exe IeExtension.dll

Solution to open link on Popover page




  • Chrome : window.open(“URL”, “_blank”) , hyperlink with target _blank


  • Firefox: window.open(“URL”, “_blank”) , hyperlink with target _blank


  • Safari: hyperlink with target _self


  • IE: window.open(“URL”, “_blank”) , hyperlink with target _blank

How to customize your origin of content script


Open browser extension's option page to set up.


My Blog: http://studiobinghuan.blogspot.tw/?view=flipcard

or http://bhtalk.blogspot.tw/