Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.
Difference between revisions of "MediaWiki:Gadget-search-new-tab.js"
From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
*>MSGJ (create per request at MediaWiki_talk:Gadgets-definition#The_search_gadget_is_now_a_preference_on_the_Commons) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:43, 14 March 2013
// According to Krinkle, gadgets don't have to wait using $(function() {... (only core stuff) // Open search in new tab by [[User:Timeshifter]] /* global:$ */ /* jshint-valid */ $('#searchform, #searchbox, #search, .search-types, #search-types, #powersearch').bind('keyup keydown mousedown', function(e) { $(this).attr('target', e.ctrlKey || e.metaKey ? '_blank' : ''); });