Skip to content

Instantly share code, notes, and snippets.

@FabianoLothor
Last active May 3, 2019 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FabianoLothor/bd10c5de5569281874d1118c2640fda8 to your computer and use it in GitHub Desktop.
Save FabianoLothor/bd10c5de5569281874d1118c2640fda8 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name cartola-guru-loader
// @namespace http://fabianolothor.com.br/
// @version 1.1
// @description Carrega o Cartola Guru
// @author Fabiano (Lothor)
// @match https://cartolafc.globo.com/*
// ==/UserScript==
(function() {
setTimeout(() => {
var head = document.getElementsByTagName('head')[0];
var jQueryScript = document.createElement('script');
jQueryScript.type = 'text/javascript';
jQueryScript.src = 'https://jsonp.afeld.me/?url=' + encodeURIComponent('http://fabianolothor.com.br/projects/scripts/get-script.php?name=cartola-guru&time=' + Date.now());
head.appendChild(jQueryScript);
}, 5000)
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment