This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GM_name | |
// @namespace https://gist.github.com/tegomass | |
// @description GM_description | |
// @include https://mail.google.com/* | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js | |
// @exclude %exclude% | |
// @version 1 | |
// @grant GM_addStyle | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
usage example: waitForGmail(function(){ console.log('TEGO!!')}); | |
*/ | |
function waitForGmail(callback){ | |
if (window.top != window.self) //don't run on frames or iframes | |
return; | |
var zGbl_PageChangedByAJAX_Timer = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Leboncoin RSS | |
// @namespace http://gist.github.com/tegomass/18866de2d73399136151cd1e7ea8e8b4 | |
// @author Tegomass | |
// @description A kind of RSS for LeBonCoin with your personnal search | |
// @include * | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js | |
// @version 1.4 | |
// @updateURL https://gist.githubusercontent.com/tegomass/18866de2d73399136151cd1e7ea8e8b4/raw | |
// @grant GM_addStyle |
NewerOlder