Skip to content

binghuan/BrowserExtension_TestJavaScriptInjection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/

Releases

No releases published

Packages

No packages published