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

Устаревшая версия за 02.11.2022. Перейдите к последней версии.

// ==UserScript==
// @name        Fix source dropdown menu on japaneseasmr.com
// @namespace   kawa.tf
// @match       *://*.japaneseasmr.com/*
// @grant       none
// @version     1.0
// @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==

document.getElementById('selectSource').dispatchEvent(new Event('change'))
console.log("fix-dropdown-menu: Sent an update to the selectSource dropdown menu.")