Tampermonkey / tampermonkey

Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
GNU General Public License v3.0
4.17k stars 416 forks source link

[BUG] The GM_xmlhttpRequest finalURL lost the hash #2134

Open youxiaohou opened 1 month ago

youxiaohou commented 1 month ago

When using GM_xmlhttpRequest to obtain the final redirect link after 302, the hash value of the final link will be lost, as shown in the following figure: all the content after login_success# is lost

Violentmonkey is ok, Tampermonkey and Tampermonkey Beta both have this problem

Expected Behavior

image

Actual Behavior

image

Specifications

derjanb commented 1 month ago

Should be fixed at 5.3.6207 (crx|xpi in review)

Please download the crx file linked above and drag and drop it to the extensions page chrome://extensions (after you've enabled 'Developer Mode').

For a quick fix please export your settings and scripts as zip or (JSON) file at the "Utilities" tab and import it back at the fixed BETA version.