Thumb

Multiply - Enable Cloak

By Marti Last update Nov 16, 2009 — Installed 120 times. Daily Installs: 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0

There are 15 previous versions of this script.

(function () {

// ==UserScript==
// @name          Multiply - Enable Cloak
// @namespace     http://userscripts.org/users/37004
// @description   Enables cloak capabilities and removes the nagging alert boxes associated with decloaking.
// @copyright     2009+, Marti Martz (http://userscripts.org/users/37004)
// @license       GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @license       (CC); http://creativecommons.org/licenses/by-nc-sa/3.0/
// @version       0.0.9
// @include   http://*.multiply.com/*
// @exclude   http://images.multiply.com/*
// @exclude   http://images.*.multiply.com/*
// @require   http://usocheckup.dune.net/49612.js?maxage=7
// ==/UserScript==

/* 

CHANGELOG
=========
http://userscripts.org/topics/27168

*/

  if (window.location.hostname.match(/(.+).multiply.com/i)) {
    var win = window.wrappedJSObject || window;

    switch ("function") {
      case typeof win.check_cloakedness:
        win.check_cloakedness = function () {};

      case typeof win.is_cloaked:
        win.is_cloaked = function () {};

      case typeof win.uncloak:
        win.uncloak = function () {};

      case typeof win.show_warning_cloaked:
        win.show_warning_cloaked = function () {};
    }
  }

})();