开发者

Running scripts from Greasemonkey4IE

开发者 https://www.devze.com 2023-03-08 16:24 出处:网络
Is there any way to call a meth开发者_JS百科od defined in my .js file (the one I will load into greasemonkey) automatically?

Is there any way to call a meth开发者_JS百科od defined in my .js file (the one I will load into greasemonkey) automatically? what I mean by automatically is I don't want to create an html file to call that... Is there some way to use use "script" tags without creating html file. Here I am trying to create a simple UI with a button for example.

The code to create the button will be in the .js file.

Any ideas ??? Thanks


Do you mean:

(function(){
   // gets executed immediately
})();
0

精彩评论

暂无评论...
验证码 换一张
取 消