This file contains hidden or 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
| // this is the background code... | |
| // listen for our browerAction to be clicked | |
| chrome.browserAction.onClicked.addListener(function (tab) { | |
| // for the current tab, inject the "inject.js" file & execute it | |
| chrome.tabs.executeScript(tab.ib, { | |
| file: 'inject.js' | |
| }); | |
| }); |
This file contains hidden or 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
| javascript:(function(){ | |
| //inspired by http://userscripts.org/scripts/show/8924 | |
| var s = document.createElement('script'); | |
| s.setAttribute('src','http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'); | |
| if(typeof jQuery=='undefined') document.getElementsByTagName('head')[0].appendChild(s); | |
| (function() { | |
| if(typeof jQuery=='undefined') setTimeout(arguments.callee, 100) | |
| else{ | |
| jQuery("*").one("click",function(event){ | |
| //http://snippets.dzone.com/posts/show/4349 |
This file contains hidden or 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
| // A background script is needed in order to store | |
| // persistent objects in memory. Content scripts | |
| // run a seperate instance for each open tab in Chrome. | |
| var nextLink = (function(linkArray) { | |
| // Initialize a copy of the original links | |
| var currentSet = linkArray.slice(); | |
| return function() { |
This file contains hidden or 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
| // Based on http://stackoverflow.com/a/10520017/1307721 and http://stackoverflow.com/a/16022728/1307721 | |
| Podium = {}; | |
| Podium.keydown = function(k) { | |
| var oEvent = document.createEvent('KeyboardEvent'); | |
| // Chromium Hack | |
| Object.defineProperty(oEvent, 'keyCode', { | |
| get : function() { |
This file contains hidden or 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
| Generated: Wed, 28 Jan 2015 05:59:39 GMT | |
| User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.16 Safari/537.36 | |
| Extensions: 53 | |
| - Context v0.412: https://chrome.google.com/webstore/detail/aalnjolghjkkogicompabhhbbkljnlka | |
| Sort extensions into groups and easily switch between them. | |
| - 1Password: Password Manager and Secure Wallet v4.2.5.90: https://chrome.google.com/webstore/detail/aomjjhallfgjeglblehebfpbcfeobpgk | |
| 1Password extension for Google Chrome. | |
| - Anything to QRcode v1.0.5: https://chrome.google.com/webstore/detail/calkaljlpglgogjfcidhlmmlgjnpmnmf | |
| Anything to QRcode ( absolute locally and offline, no ads ) : the url of current page, any text/image/link in the page, etc. |
This file contains hidden or 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
| Host * | |
| ControlMaster auto | |
| ControlPath ~/.ssh/sockets/%r@%h-%p | |
| ControlPersist 600 |
This file contains hidden or 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
| javascript:window.open('http://','windowName','width=960,height=720,scrollbars=yes,status=no,titlebar=no,toolbar=no');void(0); |
This file contains hidden or 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
| [ | |
| "https://chrome.google.com/webstore/detail/ballloon-for-chrome/kbmligehjhghebleanjcmenomghmcohn", | |
| "https://chrome.google.com/webstore/detail/shine-for-reddit/acoiihnnfofnpbnofdcgcapbjlcopifa", | |
| "https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk", | |
| "https://chrome.google.com/webstore/detail/highly-highlighter/hjpahjhcglfdopbholajmhpamgblhjhg", | |
| "https://chrome.google.com/webstore/detail/screencastify-screen-vide/mmeijimgabbpbgpdklnllpncmdofkcpn", | |
| "https://chrome.google.com/webstore/detail/sms-from-gmail-facebook-m/iffdacemhfpnchinokehhnppllonacfj", | |
| "https://chrome.google.com/webstore/detail/wot-web-of-trust-website/bhmmomiinigofkjcapegjjndpbikblnp", | |
| "https://chrome.google.com/webstore/detail/mega/bigefpfhnfcobdlfbedofhhaibnlghod", | |
| "https://chrome.google.com/webstore/detail/time-is-money/ooppbnomdcjmoepangldchpmjhkeendl", |
This file contains hidden or 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
| function eventFire(el, etype){ | |
| if (el.fireEvent) { | |
| el.fireEvent('on' + etype); | |
| } else { | |
| var evObj = document.createEvent('Events'); | |
| evObj.initEvent(etype, true, false); | |
| el.dispatchEvent(evObj); | |
| } | |
| } | |
| eventFire(document.getElementById('submitButton'), 'click'); |
This file contains hidden or 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 jQueryfy | |
| // @namespace http://rafasales.com | |
| // @version 0.1 | |
| // @description Loads jQuery in any page | |
| // @match http*://* | |
| // @copyright 2012+, Rafael Sales | |
| // ==/UserScript== | |
| if (typeof(unsafeWindow.jQuery) != 'undefined') { | |
| return; |