User:NguoiDungKhongDinhDanh/noeditredlinks.js

// Script by Awesome Aasim. Backlink: User:Awesome Aasim/noeditredlinks.js. $(document).ready(function {	window.setInterval(=> { $('a.new').each(function {			if (new URL(window.location.origin + $(this).attr("href")).searchParams.get("action")) {				$(this).attr("href", function {var url = new URL(window.location.origin + $(this).attr("href"));url.searchParams.delete("action");return url;});			}		}); $('.new').each(function {			if (new URL(window.location.origin + $(this).find("a").attr("href")).searchParams.get("action")) {				$(this).find("a").attr("href", function {var url = new URL(window.location.origin + $(this).attr("href"));url.searchParams.delete("action");return url;});			}		}); }, 100); });