[Project_owners] escape history

Attila Szabo mid at freemail.hu
Thu Jun 8 12:01:02 EDT 2006

Neil wrote:
> Attila Szabo wrote:
>> I load a chrome to a new tab by addTab, and I'd like to
>> 1. hide the chrome url
>> 2.  avoid the chrome url to be added to the history.
>> please sombody enlighten me, or even give me an extension's name that 
>> do something like it.
> 1. what do you want to see instead?
> 2. chrome urls don't get added to history
1. nothing would be ok. 
2. I use:

 midTab=gBrowser.addTab("chrome://mid/content/mid.xul?" + 
window.content.location.href );
 gBrowser.selectedTab = midTab;

and it appears in the history, somehow.

Should I open the new tab and then load the chrome?


More information about the Project_owners mailing list