Created
June 15, 2020 17:23
-
-
Save andras-hegedus/12c998625421506cddcfd01cce6ac3b3 to your computer and use it in GitHub Desktop.
Bookmarklet for changing authuser (or any) query parameter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () { | |
const url = new URL(location.href); | |
if (url.searchParams.has('authuser')) { | |
return; | |
} | |
url.searchParams.append('authuser', '1'); | |
location.replace(url.toString()); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment