绕过openwrite公众号导流

去除openwrite“博客导流公众号”功能

当前为 2021-03-28 提交的版本,查看 最新版本

// ==UserScript==
// @name         绕过openwrite公众号导流
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  去除openwrite“博客导流公众号”功能
// @author       GoodbyeNJN
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function () {
    "use strict";

    const hasBTWPlugin = typeof BTWPlugin === "function";
    const hasJquery = typeof $ === "function";

    if (!hasBTWPlugin || !hasJquery) {
        return;
    }

    setTimeout(() => {
        const { id } = (BTWPlugin.prototype && BTWPlugin.prototype.options) || {
            id: "container",
            blogId: "",
            name: "",
            qrcode: "",
            keyword: "",
        };

        $(`#${id}`).height("");
    }, 1000);
})();

QingJ © 2025

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