月度归档:2019年05月

DZ屏蔽指定用户帖子脚本代码备份

适合谷歌火狐带有脚本管理如油猴子Tampermonkey

from http://bbs.pcbeta.com/viewthread-1529903-1-1.html

// ==UserScript==
// @name            DZ_Block
// @author          aa65535
// @version         1.03
// @lastmodified    2014-07-26 11:14:54
// @run-at          document-end
// @noframes        yes
// @description     屏蔽指定用户的帖子
// @namespace       Rin Satsuki
// @updateURL       http://aa65535.com/public/userscript/dz_block.meta.js
// @downloadURL     http://aa65535.com/public/userscript/dz_block.user.js
// @include         http://*/*
// @copyright       2014+ Rin Satsuki
// ==/UserScript==

(function($) {
    'use strict';
    function Block(el) {
        return new Block.prototype.init(el);
    }
    Block.prototype = {
        constructor: Block,
        init: function(el) {
            this.el = el;
            this.start(true);
        },
        start: function(first) {
            var o = this;
            o.blacklist = localStorage.blacklist;
            o.blacklist = o.blacklist ? o.blacklist.trim().split('\n') : [];
            o.self = document.body.innerHTML.match(/我的空间"[^>]*>(\S+)<\/a>/);
            o.self = o.self ? o.self[1] : null;
            Array.prototype.forEach.call($(o.el), function(e) {
                if (first) {
                    o.button(e);
                }
                o.check(e);
            });
        },
        check: function(e) {
            var others, o = this;
            others = e.querySelector('.xw1') || e.querySelector('.by a');
            others = others ? others.textContent : null;
            if (others !== o.self && o.blacklist.indexOf(others) !== -1) {
                e.parentNode.removeChild(e);
            }
        },
        append: function(name) {
            if (this.blacklist.indexOf(name) === -1) {
                this.blacklist.push(name);
                localStorage.blacklist = this.blacklist.join('\n');
                this.start();
            }
        },
        button: function(e) {
            var card, name, a, o = this;
            card = e.querySelector('.imicn');
            name = e.querySelector('.xw1');
            if (!card || !name || name.textContent === o.self) {
                return;
            }
            a = document.createElement('a');
            a.href = 'javascript:;';
            a.textContent = '屏蔽此人';
            a.onclick = function() {
                if (confirm('确认要屏蔽 ' + name.textContent + '?')) {
                    o.append(name.textContent);
                }
                return false;
            };
            card.appendChild(a);
        },
    };
    Block.prototype.init.prototype = Block.prototype;
    Block('#postlist>div');
    Block('#moderate>table>tbody');
} (function(s) {
    return document.querySelectorAll(s);
}));

救急杀软推荐

这些只是给我自己备用,如果中了勒索病毒,只能杀毒,数据恢复无解

有更新功能 推荐
https://www.emsisoft.com/en/home/emergencykit/         [推荐]
https://dl.emsisoft.com/EmsisoftEmergencyKit.exe
https://www.comodo.com/business-security/network-protection/cleaning-essentials.php

无更新功能
https://www.kaspersky.com/downloads/thank-you/free-virus-removal-tool
https://devbuilds.s.kaspersky-labs.com/devbuilds/KVRT/latest/full/KVRT.exe
https://www.kaspersky.com.cn/downloads/thank-you/free-virus-removal-tool
https://devbuilds.s.kaspersky-labs.com/devbuilds/KVRT/latest/full/KVRT.exe

无更新功能
https://free.drweb.cn/download+cureit+free/
https://free.drweb.cn/download+cureit/gr/?lng=en

火狐证书失效导致组件禁用恢复方法

1.打开about:studies,进入更新选项,Firefox 数据收集与使用下面勾上允许 Firefox 向 Mozilla 发送技术信息及交互数据,再勾上允许 Firefox 安装并运行一些实验项目,等待恢复

2.安装https://storage.googleapis.com/moz-fx-normandy-prod-addons/extensions/hotfix-update-xpi-intermediate@mozilla.com-1.0.2-signed.xpi

    蓝奏云地址 https://www.lanzous.com/i4125ah

3.更新到最新版本

    官方FTP链接
    win32
    https://ftp.mozilla.org/pub/fire … 0Setup%2066.0.4.exe
    win64
    https://ftp.mozilla.org/pub/fire … 0Setup%2066.0.4.exe