Hi everyone,
I'm writing an is.gd extension for Chrome. (Yes, I'm aware that a Bit.ly extension already exists, I'm doing this for various reasons; fun, a preference for is.gd over bit.ly, etc).
My problem is this: When trying to get the url of the current visible tab, i get "chrome-extension://gckiclhecgkgapklkfibjpcdhcadcgpc/isgd_toolstrip.html".
The js I'm using is
Anyone know of a workaround?Code:<div class="toolstrip-button" onclick="chrome.tabs.create({url:'http://is.gd/create.php?longurl=' + window.location.href})">


LinkBack URL
About LinkBacks



Reply With Quote