remove greasemonkey script-install dialog delay

goto
C:\Documents and Settings\Elad\Application Data\Mozilla\Firefox\Profiles\35htmg30.default\extensions\

if your extensions are still in xpi form, use winrar to extract them to a folder in that name, new firefox browsers does not require extracting the xpi file, but doing it on-the-fly. once extracted, you can remove the xpi files. the folders will be used instead.

 

browse {e4a8a97b-f2ed-450b-b12d-ee082ba24781}

browse the chrome folder.

use winrar and extract greasemonkey.jar into a folder \greasemonkey\

browse the folder\content\, open install.js in notepad++

 

change line 13 to:

var gTotalDelay = new GM_PrefManager().getValue(‘installDelay’, 1);

 

 

change line 130 (in the startTimer method) to:

gTimer = window.setInterval(onInterval, 10);

 

save the file.

 

go up one level,

use winzip to compress content,locate,skin

and rename the greasemonkey.zip to .jar

move the greasemonkey.jar to its original place, one level above, overriding the original file.

remove the (extracted from before) \greasemonkey\ folder. you don’t need it.

UserScript JavaScript to Automate SpamCop Reporting

SpamCop Send-Reports Automator GreaseMonkey UserScript JavaScript By Elad Karako

SpamCop is a great service to be assign to, basically, you forward any of your Spam using Outlook or MailWasher for example, and SpamCop Service is taking care to alert the supplier of the email hosting, hoping to stop the distributing of another spam anytime soon…

if you ever visit the SpamCop website you’ve notice you have to click through all the spam you’ve got, at least two clicks and wait for the loading of the next “report page”. My UserScript, to be used with the GreaseMonkey framework, will do the reporting automatically.

in order to use it you will need:
Chrome|Chromium|Firefox (with GreaseMonkey installed).

// ==UserScript==
// @name            SpamCop Send-Reports Automator
// @namespace       http://icompile.eladkarako.com
// @homepage	    http://icompile.eladkarako.com
// @description     All The Reports Would Be Send For You, Automaticly, One By One, No Clicking Needed. Significantly FASTER(!!) then Other SpamCop Scripts! Chrome & Firefox Compatibility
// @include         http://www.spamcop.net/
// @include         http://www.spamcop.net/sc*
// @include         http://members.spamcop.net/sc*
// @version         y2011.m03.d14
// ==/UserScript==

window.addEventListener("load", (function () {
    if (window.location.href == "http://www.spamcop.net/") {
        for (var astart, rx = /spamcop\.net\/sc\?id\=/, i = 0; i < document.links.length; i++) if (rx.test(document.links[i].href)) window.location = document.links[i].href;
    } else {
        var a = document.getElementsByName("sendreport");
        if (a.length == 1) {
            a[0].submit();
        } else {
            a = "sc?id=";
            if (a != null) {
                a = a.toLowerCase();
                for (var c = document.links, b = 0; b < c.length; ++b) if (c[b].innerHTML && c[b].innerHTML.toLowerCase().indexOf(a) != -1 || c[b].href.toLowerCase().indexOf(a) != -1) location.href = function (d) {
                    d = d.replace(/&/g, "&");
                    return d.replace(/"/g, """)
                }(c[b].href)
            }
        }
    }
})(), false);

//.user.js

Copy&Paste to a blank document, Save As "SpamCopAuto.user.js", then Drag&Drop over your browser to install it. use can remove it later using the GreaseMonkey panel (in Firefox) or the extension panel in Chrome|Chromium

JavaScript Mass Checkboxes Handler

assigning a shift key, one needs to click the first (or any) checkbox, holding the shift key and clicking the next (in a few) will check (on or off) the checkboxes in middle.

the script underneath can be loaded into a .user.js file to be use in Firefox (greasemonkey) or Chrome (also Chromium) Browsers.

// ==UserScript==
// @name           Mass Checkboxes Handler
// @description    Handle Multiple Checkboxes Clicking With Ease. Click The First, Hold [SHIFT] and Click The Last, All Checkboxes That Are In Range Would Be Checked/UnChecked Too. Easy And Fast! Compatible With Chrome and Firefox.
// @namespace      http://icompile.eladkarako.com/
// @homepage       http://icompile.eladkarako.com/
// @include        http://*
// @include        https://*
// @include        file:///*
// @exclude        http://*mail.google*/*
// @exclude        https://*mail.google*/*
// @version        d02.m06.y2010
// ==/UserScript==
window.addEventListener("load", function () {
    function j(a) {
        return a == "html" ? "http://www.w3.org/1999/xhtml" : null
    }

    function g(a) {
        var c = a.target;
        if (c.tagName.toUpperCase() == "INPUT" && c.type == "checkbox" && (a.button == 0 || a.keyCode == 32)) {
            if (a.shiftKey && e) {
                a = e;
                var d, b, f, h = document.evaluate(document.documentElement.namespaceURI ? "//html:input[@type='checkbox']" : "//input[@type='checkbox']", document, j, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
                for (d = 0; b = h.snapshotItem(d); ++d) {
                    if (b == c) {
                        f = a;
                        break
                    }
                    if (b == a) {
                        f = c;
                        break
                    }
                }
                for (; b = h.snapshotItem(d); ++d) {
                    if (b != a && b != c && b.checked != a.checked) {
                        var i = document.createEvent("MouseEvents");
                        i.initEvent("click", true, false);
                        b.dispatchEvent(i)
                    }
                    if (b == f) break
                }
            }
            e = c
        }
    }
    var e = null;
    document.documentElement.addEventListener("keyup", g, true);
    document.documentElement.addEventListener("click", g, true)
}(), false);

//.user.js

Disable Google Fade-in Homepage

Here is a nifty useful little greasemonkey script,

// ==UserScript==
// @name          Disable Google Fade-in Homepage
// @namespace     http://icompile.eladkarako.com/
// @homepage	  http://icompile.eladkarako.com/
// @description   Disable Google's Home-Page Taking So Long To Be Fully Shown.
// @include       http://www.google.*/
// @include       http://www.google.*/webhp*
// @version       d28.m07.y2010
// ==/UserScript==
window.addEventListener("load", function () {
    var a = document.createElement("style");
    a.type = "text/css";
    a.innerHTML = "#fctr,#ghead,#pmocntr,#sbl,#tba,#tbe,.fade,.gbh { opacity: 1 !important; filter:alpha(opacity=100) !important; }";
    document.getElementsByTagName("head")[0].appendChild(a);
}, false);

//.user.js

slightly modifying the script taken from http://googlesystem.blogspot.com to enable it faster loading.

how to use it properly:
you can copy&paste it into a file named Disable Google Fade-in Homepage.user.js and then drag&drop it over chrome/firefox browser.