User talk:TheresNoTime
Add topic(Redirected from User talk:Samtar)
Latest comment: 1 month ago by Matma Rex in topic User:TheresNoTime/stewResponseHelper.js
Please use Steward requests instead of asking for steward actions here. Thanks! |
A bug in this script was reported here: T371735. To fix, please replace this function:
// https://stackoverflow.com/a/26744533
function getURLParams(k) {
var p = {};
location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (s, k, v) {
p[k] = v;
});
return k ? p[k] : p;
}
with:
function getURLParams(k) {
var url = new URL(location.href);
return url.searchParams.get(k);
}