Created
June 7, 2018 22:46
-
-
Save oskosk/35e0f3a9c4a369d99603c0be4c791e49 to your computer and use it in GitHub Desktop.
This file contains 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()%7Bvar qs %3D window.location.search %7C%7C "%3F"%3Bvar param %3D 'classic-editor'%3Bif (qs.length > 1) %7Bqs %3D qs %2B "%26"%3B%7Dqs %3D qs %2B param%3Bwindow.location.search %3D qs%7D)() |
This file contains 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
var qs = window.location.search || "?"; | |
var param = 'classic-editor'; | |
if (qs.length > 1) { | |
qs = qs + "&"; | |
} | |
qs = qs + param; | |
window.location.search = qs; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment