您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Opens all Kongregate games on page in new tabs.
当前为
// ==UserScript== // @name Kongregate Multiple Game Opener // @namespace Kongregate // @description Opens all Kongregate games on page in new tabs. // @include http://*.kongregate.com/games* // @include http://kongregate.com/games* // @include http://*.kongregate.com/*games* // @include http://kongregate.com/*games* // @include http://*.kongregate.com/my_favorites* // @include http://kongregate.com/my_favorites* // @include http://*.kongregate.com/game_groups* // @include http://kongregate.com/game_groups* // @version 0.0.1.20160306134658 // ==/UserScript== var feat = document.getElementById( "feature" ).childNodes[1]; feat.style.textDecoration = "underline"; feat.style.cursor = "pointer"; feat.title = "Click to open these games in new tabs/windows."; feat.addEventListener('click',function () { var games = document.getElementsByClassName("play_link"); for( var link in games ) { if( link >= 0 ) window.open( games[link].href, "Kong" + link ); } },false)