How to preload local javascript everytime a new tab or page is opened?
Posted
by Klerk
on Stack Overflow
See other posts from Stack Overflow
or by Klerk
Published on 2010-04-25T03:21:40Z
Indexed on
2010/04/25
3:23 UTC
Read the original article
Hit count: 259
JavaScript
I would like to autoload a local javascript file, everytime a new page/tab is opened in a browser. I tried the bookmarklet approach, but it gets tiresome as the button needs to be pressed everytime a new page/tab is opened. Chrome extensions also seem to work along the same lines (where you have to press an icon to run the js). Googling for javascript and preload seems to return everything except what I am looking for.
Is there a browser indepent way of autoloading (no user action required) a local js file? If not, any browser specific info to do this would be appreciated (even if they mean reducing security by turning off required options). Thanks!
© Stack Overflow or respective owner