NostalgicOverflow

Part of the NostalgicOverflow package for PhysicsOverflow. See full instructions here: http://physicsoverflow.org/17999#a18004

目前为 2014-06-09 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name NostalgicOverflow
  3. // @version 4.0
  4. // @description Part of the NostalgicOverflow package for PhysicsOverflow. See full instructions here: http://physicsoverflow.org/17999#a18004
  5. // @match http://physicsoverflow.org/*
  6. // @match http://www.physicsoverflow.org/*
  7. // @namespace https://greasyfork.org/users/2311
  8. // ==/UserScript==
  9.  
  10. $('.qa-logo-link img').css('display','none');
  11. $('.qa-logo-link').append("<a href='http://physicsoverflow.org' style='font-size:36px; color:rgb(0,150,255);'>Physics Overflow</a>");
  12. $('.qa-nav-main-list').append($('li.qa-nav-admin-item'));
  13. $('.qa-nav-main-list').append($('li.qa-nav-po_header-item'));
  14. $("<link/>", {
  15. rel: "stylesheet",
  16. type: "text/css",
  17. href: "http://question2answer.org/qa/qa-theme/Snow/qa-styles.css"
  18. }).appendTo("head");
  19. $(".qa-sidepanel").css("width","24%")