开发者

external javascript for greasemonkey? (using jquery)

开发者 https://www.devze.com 2023-02-28 18:47 出处:网络
I have a simple user script for greasemonkey and it works great. Now I want to exclude the script and

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

精彩评论

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