Nickolay Ponomarev wrote:
On 6/8/06, Attila Szabo <[EMAIL PROTECTED]> wrote:
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.
Sounds similar to the idea at
http://wiki.mozilla.org/Location_Prettyprinting
You probably can ask jhughes if he can share his prototype with you.
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.
You're probably talking about session history, while neil was speaking
about global history (the CTRL+H one).
Yes, sure. And I solved it like this:
midTab=gBrowser.addTab("about:blank");
myBrowser=gBrowser.getBrowserForTab(midTab);
myBrowser.loadURIWithFlags (
"chrome://mid/content/mid.xul?"+window.content.location.href ,
myBrowser.webNavigation.LOAD_FLAGS_BYPASS_HISTORY );
gBrowser.selectedTab = midTab;
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners