Slashbar

remove sidebars from slashdot.org

  1. // ==UserScript==
  2. // @name Slashbar
  3. // @namespace http://github.com/cswarth
  4. // @version 0.3
  5. // @description remove sidebars from slashdot.org
  6. // @author Chris Warth
  7. // @include http://*slashdot.org/*
  8. // @include https://*slashdot.org/*
  9. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js
  10. // @run-at document-start
  11. // ==/UserScript==
  12.  
  13. $(function () {
  14. "use strict";
  15.  
  16. var main = $(".has-rail-right");
  17. if (main) {
  18. main.removeClass("has-rail-right");
  19. }
  20. $("#slashboxes").remove();
  21. });