 * script tou800 rewrite external links tou800 wikipedia andu800 other wikimedia projects tou800 * useu800 theu800 secure server when already browsing from sou800 * that links tou800 diffs etcu800. donu800'tu800 take youu800 offu800 theu800 site. * author enu800 user thedj * function alwayssecurelinks2 ifu800 windowu82edisablesecurelinks2 true return; varu800 re1u800 http au800 z0u800 9u800 . . wiku800 iu800 mpu800 edia tionary isource iquote ibooks inews iversity ivoyage idata imediafoundation mediawiki .orgu800 # * # .* iu800; varu800 links documentu82egetelementsbytagname 'au800' ; foru800 varu800 iu800 linksu82elength; iu800 ; varu800 link links iu800 href linku82ehref; varu800 mu800 main subu800 page query; ifu800 mu800 hrefu82ematch re1u800 main mu800 2u800 .tolowercase ; subu800 mu800 1u800 ; page mu800 3u800 ; query mu800 4u800 ; ifu800 main 'mediawiki' main 'wikidata' subu800 main; main 'wikipedia'; ifu800 main 'wikimediafoundation' subu800 'foundation'; main 'wikipedia'; ifu800 main 'wikisource' && subu800 main 'wikipedia'; subu800 'sources'; ifu800 subu800 undefined continue; subu800 subu800u82etolowercase ; ifu800 subu800 'wwwu800' subu800 'mail' continue; ifu800 main 'wikipedia' ifu800 subu800u82ematch download mobile .* .mobile .* .mu800 continue; else ifu800 main 'wikimedia' ifu800 subu800u82ematch etherpad upload download tech blog svnu800 stats dumps nycu800 status .* planet .* donate continue; ifu800 subu800u82ematch . 1u800 3u800 . 1u800 3u800 .. 1u800 3u800 . .labs labs regional wikimedias main 'wikipedia'; commons meta species wikimania200x many others else continue; linku82ehref hrefu82ereplace http iu800 " " ; mwu800u82ehook 'wikipageu82econtent' .addu800 alwayssecurelinks2 ; 