gf.qytechs.cn

maximale Fensterbreite auf gf.qytechs.cn nutzen

  1. // ==UserScript==
  2. // @name gf.qytechs.cn
  3. // @namespace http*://gf.qytechs.cn/*
  4. // @version 0.14
  5. // @description maximale Fensterbreite auf gf.qytechs.cn nutzen
  6. // @author chillchef
  7. // @match http*://gf.qytechs.cn/*
  8. // @match http*://sleazyfork.org/*
  9. // @grant none
  10. // @run-at document-idle
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. try
  16. {
  17. var e = document.getElementsByClassName("width-constraint");
  18. e[0].style.maxWidth = "95%"; //header
  19. e[1].style.maxWidth = "95%"; //content
  20. }catch(exp){}
  21. try{document.getElementById("browse-script-list").style.width = "100%";}catch(exp){} //suchergebnisse;
  22. try{document.getElementById("user-script-list").style.width = "100%";}catch(exp){} //suchergebnisse;
  23. try{document.getElementById("script-list-option-groups").style.width = "100%";}catch(exp){} //sidebar;
  24. try{document.getElementById("carbonads").style.height = "0px";}catch(exp){} //carbon werbung
  25. //try{document.getElementsByClassName("adsbygoogle")[0].style.height = "0px";}catch(exp){} //google werbung
  26. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址