get-rid-of-from-rss

By Shlomi Fish Last update Nov 25, 2008 — Installed 62 times.
// ==UserScript==
// @name         get-rid-of-from-rss
// @version      0.0.1
// @description  get rid of the &from=rss GET parameters in URLs.
// @author       Shlomi Fish ( http://www.shlomifish.org/ )
// @include      http://use.perl.org/*
// @include      http://*.slashdot.org/*
// ==/UserScript==
// ===============================================================

//
// License is X11 License:
// http://www.opensource.org/licenses/mit-license.php

var loc = window.location.href;
var new_loc = loc.replace(/[&?]from=rss$/, "");
if (new_loc != loc)
{
    window.location = new_loc;
}