搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can I prevent a website from removing the favorites toolbar on my browser?

  • 3 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 jakartax

more options

There's a website that I need to visit for work related reasons. Unfortunately the site removes my Firefox favorites toolbar and my menu bar (File, Edit, View, etc...). Is there a way to prevent this website from altering my browser like this?

There's a website that I need to visit for work related reasons. Unfortunately the site removes my Firefox favorites toolbar and my menu bar (File, Edit, View, etc...). Is there a way to prevent this website from altering my browser like this?

被選擇的解決方法

A website should not be able to alter the browser interface. Is the change just in popup windows? You can prevent those with dom... settings in about:config. dom.disable_window_open_feature.location -> true (address) dom.disable_window_open_feature.menubar -> true (menu bar) dom.disable_window_open_feature.personalbar -> true (bookmarks bar) dom.disable_window_open_feature.scrollbars -> true dom.disable_window_open_feature.titlebar -> true dom.disable_window_open_feature.toolbar -> true (navigation bar)

從原來的回覆中察看解決方案 👍 3

所有回覆 (3)

more options

選擇的解決方法

A website should not be able to alter the browser interface. Is the change just in popup windows? You can prevent those with dom... settings in about:config. dom.disable_window_open_feature.location -> true (address) dom.disable_window_open_feature.menubar -> true (menu bar) dom.disable_window_open_feature.personalbar -> true (bookmarks bar) dom.disable_window_open_feature.scrollbars -> true dom.disable_window_open_feature.titlebar -> true dom.disable_window_open_feature.toolbar -> true (navigation bar)

more options

jakartax said

There's a website that I need to visit for work related reasons. Unfortunately the site removes my Firefox favorites toolbar and my menu bar (File, Edit, View, etc...). Is there a way to prevent this website from altering my browser like this?
more options

finitarry,

You are correct, this happens when getting pop-up windows from the site. Problem solved, I made the changes you recommended and everything is working as expected! Many thanks!