I hereby claim:
- I am agillette on github.
- I am andygillette (https://keybase.io/andygillette) on keybase.
- I have a public key ASD21EFoU0gA-fvoB4dtpAqlIwqwmH7Dmrw8ti-aMveYxgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
chrome.browserAction.onClicked.addListener(function(tab) { | |
// Helper function for URL parameter | |
window.location.getParam = function(name) { | |
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); | |
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
result = regex.exec(parent.window.location.search); | |
if (result == null) { |