Greasy Fork is available in English.

mbbs360resize

改变360论坛移动版的视图方便在PC上观看,因为PC版论坛经常导致浏览器卡死

  1. // ==UserScript==
  2. // @name mbbs360resize
  3. // @namespace https://greasyfork.org/zh-CN/users/135090
  4. // @version 0.1
  5. // @description 改变360论坛移动版的视图方便在PC上观看,因为PC版论坛经常导致浏览器卡死
  6. // @author zwb83925462
  7. // @include https://m.bbs.360.cn/
  8. // @include https://m.bbs.360.cn/*.html*
  9. // @icon http://360.cn/favicon.ico
  10. // @license CC
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. document.querySelector("html").style.fontSize="4rem";
  17. if (location.pathname=="/category.html"){
  18. document.body.style.width="auto";
  19. }else{
  20. document.body.style.margin="0";
  21. document.querySelectorAll(".banner").forEach(function(i){i.remove()});
  22. document.querySelector("#js-tabList").style.width="auto";
  23. }
  24. })();