Revolvy.com tracking

Eliminate "disable tracking" alert on Firefox when Tracking Protection or Adblock/uBlock is turned on

// ==UserScript==
// @name        Revolvy.com tracking
// @description Eliminate "disable tracking" alert on Firefox when Tracking Protection or Adblock/uBlock is turned on
// @version     1.0.0
// @include     http://www.revolvy.com/*
// @grant       none
// @author      xul_runner
// @license     MIT
// @namespace https://gf.qytechs.cn/users/41691
// ==/UserScript==
// jshint esnext:true, moz:true, globalstrict:true, browser:true, jquery:true
'use strict';

function init_facebook_events()
{
  $("body").data("fb_init", 1);
  return true;
}

addJS_Node (init_facebook_events);

function addJS_Node (text, s_URL, funcToRun, runOnLoad) {
    var D                                   = document;
    var scriptNode                          = D.createElement ('script');
    if (runOnLoad) {
        scriptNode.addEventListener ("load", runOnLoad, false);
    }
    scriptNode.type                         = "text/javascript";
    if (text)       scriptNode.textContent  = text;
    if (s_URL)      scriptNode.src          = s_URL;
    if (funcToRun)  scriptNode.textContent  = '(' + funcToRun.toString() + ')()';

    var targ = D.getElementsByTagName ('head')[0] || D.body || D.documentElement;
    targ.appendChild (scriptNode);
}

QingJ © 2025

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