ചെക്ക് യൂസർമാർ, emailconfirmed, സമ്പർക്കമുഖ കാര്യനിർവാഹകർ, kiteuser, oversight, കാര്യനിർവാഹകർ, അപ്ലോഡ് സഹായി മേള തിരുത്തുന്നവർ
783
തിരുത്തലുകൾ
(ചെ.)No edit summary റ്റാഗ്: Reverted |
(ചെ.)No edit summary |
||
| (ഒരേ ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള 12 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല) | |||
| വരി 1: | വരി 1: | ||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'); | /* mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'); | ||
*/ | |||
window.onload = function () { | |||
// Find all image elements on the page | |||
var images = document.querySelectorAll('img'); | |||
// Loop through the images and modify the `src` if it matches the criteria | |||
/ | for (var i = 0; i < images.length; i++) { | ||
var | var img = images[i]; | ||
// Check if the `src` starts with the specified URL | |||
if (img.src.startsWith("https://tile.openstreetmap.org/v4/marker/")) { | |||
// Replace the `src` with the desired URL | |||
var newSrc = img.src.replace("https://tile.openstreetmap.org/v4/marker/", "https://maps.wikimedia.org/v4/marker/"); | |||
" | img.src = newSrc; | ||
} | |||
} | } | ||
}; | }; | ||
//Quick Edit Box | //Quick Edit Box | ||
തിരുത്തലുകൾ