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
Versão de:
// ==UserScript==
// @name Fix source dropdown menu
// @namespace kawa.tf
// @match *://*.japaneseasmr.com/*
// @grant none
// @version 1.0.1
// @author Tilwa Qendov
// @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
// @license Artistic-2.0
// ==/UserScript==
let dropdown = document.getElementById('selectSource')
if (dropdown !== null) {
dropdown.dispatchEvent(new Event('change'))
console.log("fix-dropdown-menu: Sent an update to the selectSource dropdown menu.")
}