Simplified Wattpad

improves desktop wattpad reading experience for the ao3 nerds

  1. // ==UserScript==
  2. // @name Simplified Wattpad
  3. // @namespace https://sharkcat.neocities.org
  4. // @version 0.1
  5. // @description improves desktop wattpad reading experience for the ao3 nerds
  6. // @author sharkcat
  7. // @match https://www.wattpad.com/*
  8. // @grant none
  9. // @require https://code.jquery.com/jquery-3.7.0.min.js
  10. // @license gpl-3.0
  11. // ==/UserScript==
  12.  
  13. // remove scrolling author|pfp
  14. $("#sticky-nav").remove();
  15.  
  16. // remove "you are reading" top bar
  17. $("#media-container").remove();
  18.  
  19. // shrinks gap between title and top of page
  20. document.querySelectorAll('h1.h2')[0].style.margin = "5px 30px";
  21.  
  22. // make author not dissapear when page gets big
  23. $("div").removeClass("hidden-lg");
  24.  
  25. // remove pfp next to author name
  26. document.querySelectorAll('a.on-navigate.avatar.avatar-sm.center-block')[0].style.display = "none";
  27.  
  28. // adds username under title
  29. $("div.author").insertAfter("h1.h2");
  30.  
  31. // trying to add space under author name
  32. document.querySelectorAll('div.author')[0].style.margin = "0px 0px 20px 0px";
  33.  
  34. // remove comments from top stats
  35. $("span.comments.on-comments").remove();
  36.  
  37. // trying to remove side comments
  38. $("button.btn-no-background.comment-marker").remove();
  39. //$("btn-no-background.comment-marker").remove();
  40.  
  41. // remove comments
  42. $("div.row.part-content.part-comments").remove();
  43.  
  44. // remove you'll also like from bottom
  45. $("div.container.similar-stories-container.similar-stories-footer").remove();
  46.  
  47. // remove add and vote buttons from bottom
  48. $("#part-footer-actions").remove();
  49.  
  50. // remove side panel "youll also like"
  51. $("h4.panel-title").remove();
  52. $("#similar-stories.similar-stories").remove();
  53.  
  54. // trying to remove paid stories section at top of browse pages
  55. $("#component-tagpagepaidstoriescontainer-tagpage-paid-stories-%2fstories%2ffantasy").remove();
  56.  
  57.  
  58. // to do:
  59. // remove side comments
  60. // remove hoverable add comment
  61. // remove paid content from browse pages