开发者

external javascript for greasemonkey? (using jquery)

I have a simple user script for greasemonkey and it works great. Now I want to exclude the script and

 $.getScri开发者_JS百科pt("http://www.my-domain.de/my-script.js");

doesn't work.

my-script.js is only

 $("input:text").css("background","tan");


I'm still not finding you question very clear since why would you use getSricpt if you wanted to exclude a script.

Maybe I'm not getting the question at all, but, if you want to exclude a script in greasemonkey you can do so:

// @exclude http://www.my-domain.de/my-script.js

Se a brief explanation here (Beware because I think this tutorial is/might outdated in some parts).

Is this what you were looking for?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜