Greasy Fork is available in English.

美女图聚合展示by SeLang

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

< Feedback on 美女图聚合展示by SeLang

Câu hỏi/Bình luận

mach6Mod
§
Posted: 29-03-2019
Edited: 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);
    }
}
O(∩_∩)OTác giả
§
Posted: 15-05-2019

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

Post reply

Đăng nhập để bình luận