Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

What is best approach to get past browser asking users permission but open in seperate window?

  • 1 trả lời
  • 2 gặp vấn đề này
  • 16 lượt xem
  • Trả lời mới nhất được viết bởi guigs

more options

I am developing a web application and are in the last phase to launch soon, but are running into a hurdle to present our web app to our users in a seperate window.

Here's what we are trying to do: -when users login our web app on firefox browser (our chosen default browser) main window, we want web app to open in seperate window without requesting permission from user to allow window to open (an example to compare to is when web browser user, right clicks on any web page and goes to view source option, there is a seperate window that popups up displaying source) -we want to display seperate window for app in this presentation with no permissions requested to block user from viewing app

What is the best approach to get past this?

I appreciate any advice. Thank you

I am developing a web application and are in the last phase to launch soon, but are running into a hurdle to present our web app to our users in a seperate window. Here's what we are trying to do: -when users login our web app on firefox browser (our chosen default browser) main window, we want web app to open in seperate window without requesting permission from user to allow window to open (an example to compare to is when web browser user, right clicks on any web page and goes to view source option, there is a seperate window that popups up displaying source) -we want to display seperate window for app in this presentation with no permissions requested to block user from viewing app What is the best approach to get past this? I appreciate any advice. Thank you

Tất cả các câu trả lời (1)

more options

window.open() opens a new window, however there are features in Firefox that can prevent this behavior and force the new window to open in a new tab. What I found in Stackoverflow for preventing defualt: