Fix source dropdown menu on japaneseasmr.com

When loading a previously visited page, the website won't display the selected media source. You need to select another source and then reselect the source you wanted, in order for it to show the media. This user script fixes that bug

Fra og med 02.11.2022. Se den nyeste version.

  1. // ==UserScript==
  2. // @name Fix source dropdown menu on japaneseasmr.com
  3. // @namespace kawa.tf
  4. // @match *://*.japaneseasmr.com/*
  5. // @grant none
  6. // @version 1.0
  7. // @author Tilwa Qendov
  8. // @description When loading a previously visited page, the website won't display the selected media source. You need to select another source and then reselect the source you wanted, in order for it to show the media. This user script fixes that bug
  9. // @license Artistic-2.0
  10. // ==/UserScript==
  11.  
  12. document.getElementById('selectSource').dispatchEvent(new Event('change'))
  13. console.log("fix-dropdown-menu: Sent an update to the selectSource dropdown menu.")