im using greasemonkey in firefox and looking to create a script that will close all but a specified tab(or webpage).
Ive little to no clue what im doing, i wanted it to be simple i.e.
if (tabs >= 3)
Close all tabs except specified webpage
but i just cant seem to figure it out or even find a list of my options =/
any help would be greatly appreciated
You can't do this, for the same reason that a random webpage can't: it would be a security nightmare. A given page can only control itself and its children.