• fr-remove-watermark.js fr remove watermark
    netnr 2021-10-19 6
    let wm = {
        startDate: Date.now(),
        remove: () => {
            try {
                document.querySelectorAll('.copyrightInfo-div').forEach(c => {
                    c.style.transform = "translateY(9999px)"
                })
    
                document.querySelectorAll('div').forEach(node => {
                    if (node.innerHTML.trim().startsWith("正在试用功能——")) {
  • wsa.js Web Speech API ,朗读页面选中的内容
    netnr 2019-12-08 5
    var ssu = {
        init: function () {
            var txt = window.getSelection().toString();
            ssu.speech(txt);
        },
        speech: function (txt) {
            if (!txt || txt.trim() == "") {
                txt = "未选择文字";
            }
            var ws = new window.SpeechSynthesisUtterance(txt);
  • LinkAsMd.js 页面链接转成Markdown
    netnr 2019-09-09 4
    var links = document.links, i = 0, md = [];
    for (var len = links.length; i < len; i++) {
        var link = links[i];
        md.push("[" + link.innerHTML.replace(/\[/g,'\\[').replace(/\]/g,'\\]') + "](" + link.href + ")");
    }
    console.log(md.join('  \n'))
  • dead_link_detection.js 检测页面所有链接,找到死链(如导航页面维护清理失效的链接)
    netnr 2019-08-09 332
    var dld = {
        //跨域代理
        proxyServer: [
            "https://cors.eu.org/",
            "https://api.netnr.eu.org/link/",
            "https://api.codetabs.com/v1/proxy?quest=",
            "https://netnr.zme.ink/api/v1/Proxy?url="
        ],
        proxyIndex: 0,
        proxyGet: (link) => {
  • barrage.js 弹幕,斗鱼弹幕临时解决方案
    netnr 2019-06-06 3
    /*
     *  barrage 弹幕
     *  
     *  2019-06
     *  netnr
     */
    
    (function (window) {
    
        var bar = function (obj) {
  • Fetch-QQ-Mail.js 提取QQ邮箱发送的日志,为月度考核作业
    netnr 2019-03-29 14
    /*
        更新时间:2019-03-29
        使用方法:打开QQ邮箱,选择【已发送】界面,打开浏览器控制台(或按F12),拷贝脚本粘贴回车(按Enter)
     */
    
    (function () {
        var win = document.getElementById('mainFrame').contentWindow;
        var tds = win.document.getElementsByTagName('td');
    
        //邮件ID
  • B站自动答题.js B站自动答题
    netnr 2018-08-19 8
    var bbk = {
        //问题序号
        qno: 0,
        //答案序号
        ano: 0,
        init: function () {
            bbk.answer();
        },
        /**当前题目序号 */
        currNo: function () {