美女图聚合展示by SeLang

目标是聚合网页美女图片,省去翻页烦恼。有需要聚合的网址请反馈。 QQ群号:455809302,点击链接加入群【油猴脚本私人定制】:https://jq.qq.com/?_wv=1027&k=45p9bea

< Spätná väzba na 美女图聚合展示by SeLang

Otázka/komentár

mach6Zablokovaný
§
Pridaný: 29.03.2019
Upravený: 29.03.2019

Question about using external library

Just curious, is it allowed on GreasyFork to inject external library as what it is done in this script?

//注入JS:jquery
function injectJs(e) {
    if (e.jQuery) {
        log('jquery available');
    } else {
        var ele = e.document.createElement('script');
        ele.src = "https://cdn.staticfile.org/jquery/1.12.4/jquery.min.js";
        e.document.body.appendChild(ele);
        var id = e.setInterval(function () {
            if (e.jQuery) {
                e.clearInterval(id);
            }
        }, 100);
    }
}
§
Pridaný: 15.05.2019

已移除,是历史代码。按道理讲,是不推荐直接注入的。

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.