Created
February 4, 2015 15:40
-
-
Save haykuro/11718ec46faac8f48367 to your computer and use it in GitHub Desktop.
A JS bookmark that closes all tabs from the Appcelerator.com Docs page
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
/** | |
* Add as a bookmark. | |
* Open all the tabs you want, and click the bookmark to close them! | |
*/ | |
javascript:if(document.domain==='docs.appcelerator.com'){var closes=document.getElementsByClassName('close');if(closes.length>0)for(i in closes)if(!isNaN(parseInt(i)))closes[i].click();} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment