Multiple Game Opener *OLD*

Opens all games in new tabs

2016/04/22のページです。最新版はこちら

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name           Multiple Game Opener *OLD*
// @namespace      Kongregate
// @description    Opens all games 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.20160422224725
// ==/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)