WN

WN (https://www.wn.se/forum/index.php)
-   Klientsidans teknologier, design och grafik (https://www.wn.se/forum/forumdisplay.php?f=12)
-   -   Gömma navigeringsfältet (https://www.wn.se/forum/showthread.php?t=30354)

aikon 2008-07-07 10:34

Efter uppgradering till Firefox 3 fungerar inte javascriptet att dölja adressfältet

window.open('url', 'windowname', 'height=600,width=800,status=0,toolbar=0,location= 0,directories=0,menubar=0,copyhistory=0,scrollbars =auto,resizable=1,scrollbars=1')

Det är bara själva url-adressfältet som jag inte blir av med.

Går det att ställa in i FF3?

Weaver 2008-07-07 11:07

Jag Googlade lite åt dig och hittade detta:



By default, Firefox 3 now blocks Javascript code from hiding the browser navigation bar. The idea behind this is simply to stop malicious popups from emulating a native OS window.

But, for advances users well aware of what constitutes a malicious popup and what it looks like, the ever-present navigation bar can be distracting. Fortunately, you can disabled it by altering a setting in about:config.

1. Type about:config into the navigation bar and press Enter (ignore the warning).
2. Type dom.disable_window_open_feature.location into the filter textbox. A single entry should remain.
3. Change the value field to false.

You can now close the about:config window; popups can now hide the navigation bar like in previous versions of Firefox. To restore the default setting, simply change the value back to true.

htiawe 2008-07-07 11:14

Perfekt, det här har även jag stört mig på. Tack!

tartareandesire 2008-07-07 11:28

Det går att fixa i sin egen läsare, ja, men har det någon större poäng? =)

eliasson 2008-07-07 12:11

Jag tror att aikon vill forca detta på klienten som besöker sidan, och inte på hans egen klient. :)

aikon 2008-07-08 10:42

Stort tack, Weaver!

Nej, eliasson, faktiskt inte. Jag använder själv fönster som jag inte vill att adressfältet ska ta upp plats i. Ingen navigering är avsedd där.

Rimligen en bra ändring som höjer säkerheten, men också bra att man kan gå runt den i sin egen browser.


Alla tider är GMT +2. Klockan är nu 14:35.

Programvara från: vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson