MPCG Link Getter

try to take over the world!

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         MPCG Link Getter
// @namespace    http://cs8898.tk/
// @version      0.1
// @description  try to take over the world!
// @author       cs8898
// @match        http://www.mpc-g.com/*
// @exclude      http://www.mpc-g.com/full-list/
// @exclude      http://www.mpc-g.com/requests/
// @exclude      http://www.mpc-g.com/contact/
// @exclude      http://www.mpc-g.com/games/*
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
     $(document).ready(function(){
         var content = $(".titleContent");
         $(content).children("form").hide();
         var links = $(".titleContent form input[name='downloadLink']");
         var name = $(".titleContent form input[name='downloadTitle']");
         $(content).append("<div class='userScriptAnkorList'></div>");
         $(links).each( (i) => {
             $("div.userScriptAnkorList").append("<a href='"+$(links[i]).val()+"'>"+$(name[i]).val()+"</a><br />");
         });
         $(content).append("<div class='userScriptLinkList'></div>");
         $("div.userScriptLinkList").css("font-size",".6em").css("font-family","monospace").css("font-weight","normal");
         $(links).each( (i) => {
             $("div.userScriptLinkList").append($(links[i]).val()+"<br />");
         });
     });
})();