// ==UserScript== // @name DC - AITL Libre - La Plume Libre // @namespace DreadCast // @include http://www.dreadcast.net/Main // @grant none // @author La plume - xaios & un autre plumé // @user hacker inconnu // @date 02/11/2015 // @version 2.0 // @description AITL libre, canal de la plume libre 2.0 // @compat Firefox, Chrome // @require http://code.jquery.com/jquery-1.10.2.min.js // @downloadURL https://update.greasyfork.icu/scripts/7960/DC%20-%20AITL%20Libre%20-%20La%20Plume%20Libre.user.js // @updateURL https://update.greasyfork.icu/scripts/7960/DC%20-%20AITL%20Libre%20-%20La%20Plume%20Libre.meta.js // ==/UserScript== jQuery.noConflict(); docAnnoncesForAITLLibre = 'http://docs.google.com/uc?export=download&id=0B-Av7SO5FgugbXdnV3ZnWUVNUW8'; function getAnnoncesForAITLLibre(aitlID){ jQuery.ajax({ type: 'GET', url: docAnnoncesForAITLLibre, async: false, jsonpCallback: 'AnnoncesForAITLLibre', contentType: "application/json", dataType: 'jsonp', success: function(json){ $("#nbAnnoncesAITLLibre").html(json.annonces.length); htmlAnnoncesForAITLLibre = $("#"+aitlID+" .AnnoncesForAITLLibre .texte table tbody"); htmlAnnoncesForAITLLibre.html(''); jQuery.each(json.annonces, function(key, val){ htmlAnnoncesForAITLLibre.append('