Fix the aside-hidden problem

Fix the aside-hidden problem of react.dev

  1. // ==UserScript==
  2. // @name Fix the aside-hidden problem
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.0.1
  5. // @description Fix the aside-hidden problem of react.dev
  6. // @author You
  7. // @match https://*.react.dev/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=react.dev
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. const aside = document.querySelector("aside");
  16. if(aside) {
  17. aside.classList.remove("hidden");
  18. }
  19. console.log("Remove successfully!")
  20. // Your code here...
  21. })();