掘金小册免费看

掘金小册 免费观看 须知:【图片无法显示 需要与浏览器代理插件Requestly一起使用,代理插件共享配置 https://app.requestly.io/rules#sharedList/df4e414ab2fb4eb090b72318dad63db5-headers-1742213480655 导入即可!】

当前为 2025-07-02 提交的版本,查看 最新版本

// ==UserScript==
// @name         掘金小册免费看
// @namespace    http://tampermonkey.net/
// @version      4.1
// @description  掘金小册 免费观看 须知:【图片无法显示 需要与浏览器代理插件Requestly一起使用,代理插件共享配置 https://app.requestly.io/rules#sharedList/df4e414ab2fb4eb090b72318dad63db5-headers-1742213480655 导入即可!】
// @author       Growing
// @match         https://juejin.cn/*
// @grant        none
// @run-at       document-start
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    setTimeout(() => {
         document.querySelectorAll('.section-list a').forEach(a => {
        // 提取原 <a> 标签的 href
        let originalHref = a.getAttribute('href');
        console.log(originalHref)
        if (originalHref) {
            let id = originalHref.split('/').pop(); // 获取最后的路径部分作为 ID

            // 创建新的跳转按钮
            let btn = document.createElement('button');
            btn.style.width = "69px";
            btn.style.height = "25px";
            btn.style.marginLeft = "10px";
            btn.style.fontSize = "10px";
            btn.textContent = '免费看';
            btn.onclick = (e) => {
                e.stopPropagation();
                e.preventDefault();
                window.open(`http://166.108.194.17:9952/juejin/${id}`)
            };
            console.log("btn")

            a.appendChild(btn);
        }
    });
    }, 5000)
    // Your code here...
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址