ExpertsExchange Greasemonkey Script

This is an edit of the following script: http://userscripts.org/scripts/show/46022

It removes all the junk, adverts and sign up links from experts exchange and gives you just the question and the solution.

I modified it to remove some more junk such as the Related Solutions box, and there will now be a link directly under the question for you to jump straight to the accepted solution.

The script uses jQuery.

// ==UserScript==
// @name           Clean Up ExpertsExchange
// @namespace   All
// @include        http://www.experts-exchange.com/*
// @include        http://experts-exchange.com/*
// ==/UserScript==

// Add jQuery
    var GM_JQ = document.createElement('script');
    GM_JQ.src = 'http://jquery.com/src/jquery-latest.js';
    GM_JQ.type = 'text/javascript';
    document.getElementsByTagName('head')[0].appendChild(GM_JQ);

// Check if jQuery's loaded
    function GM_wait() {
        if(typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,100); }
        else { $ = unsafeWindow.jQuery; letsJQuery(); }
    }
    GM_wait();

// All your GM code must be inside this function
    function letsJQuery() {
        $(".blurredAnswer, .relatedSolutions, .allZonesMain, .qStats, .lightImage, .ontopBanner, .adSense, .startFreeTrial, div#pageRight, #relatedSolutions20X6").remove();

        $(".sectionTwo:first").after('

Skip To The Accepted Solution >>


'); $(".acceptedHeader").before(''); }

2 thoughts on “ExpertsExchange Greasemonkey Script”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.