Skip to content

Instantly share code, notes, and snippets.

@johannyberg
Last active August 29, 2015 14:22
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 johannyberg/ab135e3caf1b7784b902 to your computer and use it in GitHub Desktop.
Save johannyberg/ab135e3caf1b7784b902 to your computer and use it in GitHub Desktop.
Rebtel TC4 Tampermonkey
// ==UserScript==
// @name Rebtel TC3
// @namespace http://www.conversionista.se
// @version 0.1
// @description Modify search box
// @match http://www.rebtel.com
// @copyright 2015, Johan Nyberg
// @require http://code.jquery.com/jquery-latest.js
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js
// ==/UserScript==
function inject(){
$('head').append("<script src='http://localhost:8000/rebtel/TC4.js'></script>");
console.log('local file injected');
}
setTimeout(function(){
inject();
}, 1500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment