H
HopfZ
This bookmarklet tries to load a local js file to a page.
javascriptfunction(){
var s=document.createElement('script');
s.setAttribute('src','file:///C:/abc.js');
document.getElementsByTagName('body')[0].appendChild(s);
})()
But it doesn't work in remote web-pages. Is there a way to make this
work? Or it's not allowed due to security reason?
javascriptfunction(){
var s=document.createElement('script');
s.setAttribute('src','file:///C:/abc.js');
document.getElementsByTagName('body')[0].appendChild(s);
})()
But it doesn't work in remote web-pages. Is there a way to make this
work? Or it's not allowed due to security reason?