reader for 69shuba

make 69shuba reader fullscreen

  1. // ==UserScript==
  2. // @name reader for 69shuba
  3. // @license Apache License 2.0
  4. // @namespace https://www.52dzd.com/
  5. // @version 0.1
  6. // @description make 69shuba reader fullscreen
  7. // @author xyfy
  8. // @match https://www.69shuba.com/txt/*/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=69shuba.com
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. const myNodeList = document.querySelectorAll(".container");
  17.  
  18. var i;
  19. for (i = 0; i < myNodeList.length; i++) {
  20. myNodeList[i].style.maxWidth = "100%";
  21. }
  22.  
  23. let txtnav=document.querySelectorAll('.txtnav')[0];
  24. if(txtnav){
  25. txtnav.innerHTML= txtnav.innerHTML.replaceAll(" <br>\n <br>\n","<br />");
  26. }
  27.  
  28. })();