User:JJPMaster/Scripts/CopyvioRedirect.js: Difference between revisions

Content deleted Content added
fix
m JJPMaster moved page User:JJPMaster/CopyvioRedirect.js to User:JJPMaster/Scripts/CopyvioRedirect.js: cleaning up my userspace
 
(4 intermediate revisions by the same user not shown)
Line 1:
if(mw.config.get('wgPageName').toLowerCase().startsWith("copyvios:"))
window.___location.href = `https://copyvios.toolforge.org/?lang=en&project=wikipedia&title=${mw.config.get('wgPageName').replacesubstring("copyvios:", ""9)}&oldid=&action=search&use_engine=1&use_links=1&turnitin=0&noredirect=true`;
else if(mw.config.get('wgPageName').toLowerCase().startsWith("copypatrol:"))
window.___location.href = `https://copypatrol.wmcloud.org/en?filter=all&filterPage=${mw.config.get('wgPageName').replacesubstring("copypatrol:", ""11)}`;