Commits

Anonymous committed d789f8d

Added &from=rss.

  • Participants
  • Parent commits 6e4bf1b

Comments (0)

Files changed (1)

File greasemonkey-scripts/get-rid-of-from-rss.user.js

+// ==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;
+var new_loc = loc.replace(/[&?]from=rss$/, "");
+if (new_loc != loc)
+{
+    window.location = new_loc;
+}
+