User:Timeshifter/common.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.
// Ctrl-click (PC) and Command-click (Mac) to open search in new tab.
// The Command key is the Apple key on Apple keyboards.
// commons.wikimedia.org/wiki/MediaWiki_talk:Gadget-search-new-tab.js
// On the Commons enable the gadget in your preferences. On other wikis...
// Add line below to Special:MyPage/common.js (User:YOUR-USER-NAME/common.js)

mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-search-new-tab.js&action=raw&ctype=text/javascript');