MediaWiki:Gadget-exlinks.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
// **********************************************************************// ** ***WARNING GLOBAL GADGET FILE*** **// ** changes to this file affect many users. **// ** please discuss on the talk page before editing **// ** **// **********************************************************************$(function() { var alinks = document.getElementById('content').getElementsByTagName('a'); var tablink, sitename; for (var i = 0, leng = alinks.length; i < leng; i++) { tablink = alinks[i]; if (tablink.className.indexOf("external") != -1 && tablink.href.indexOf(mw.config.get('wgServer')) != 0) tablink.target = "_blank"; }});
🔥 Top keywords: Main PageSpecial:SearchModule:Track gauge/dataSOLID (object-oriented design)Wikipedia:AboutHelp:ContentsHelp:IntroductionSpecial:RecentChangesPornhubBlackAdolf Hitler UunonaFile:ASCII-Table-wide.svgList of constituencies of the Lok SabhaList of U.S. states and territories by time zoneSchrödinger's catList of U.S. states by date of admission to the UnionFile:Sexual intercourse with internal ejaculation.webmHeera MandiList of people who have walked on the MoonDavid24-hour clockModule:Emoji/dataLawrence WongCristiano RonaldoPeriodic tableList of countries by areaUnited StatesCategory:2000s American music groupsList of U.S. statesBismillahir Rahmanir RaheemList of fruitsQueen (band)Special:MyTalkXXXTentacionWikipedia:Contact usHelp:Authority controlWikipedia:Simple talkList of countries by continentsWikipedia:Simple start