To view the silverlight app in full screen (F11)

Is there a way to download a Silverlight application in F11 mode directly? I used

window.open(url, '_self', 'toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=no,fullscreen=yes', 'true'); HtmlPage.window.invoke("launchPage",url); 

But the problem is that two instances of my application open. One in the normal screen, and the other in full screen.

I tried

 App.Current.Host.Content.IsFullScreen = true; 

in the constructor of App.xaml

Still not working. :( Where am I going wrong?

+1
source share
1 answer

starting a Silverlight application automatically in full-screen mode is not possible due to a security restriction. It looks like the following ...

  • You have opened the login page for your banks in the Firefox tab. This is your current tab.
  • You open the malicious silver app in a different tab.
  • The malicious silverlight application downloads and creates a full-screen mode that exactly matches your bank account.
  • You are talking to someone when the silverlight app loads. (Your eye is not on the screen). So you missed the pop-up pop-up message.
  • Now, when you look at the computer screen, you see the login page of the bank system, which is actually a full-screen page of the silverlight application that matches your bank account.
  • You enter your username and password ... and
  • When you click on the login, the malicious application has everything it needs.

This is not just for Silverlight. This is a limitation that SHOULD BE WITH EVERY ACTIVEX MANAGEMENT until this problem is resolved.

What do you do with javascript, you open a new popup without menu, address bar, etc. This is not a replacement for F11. And in my experience, most users hate automatic ascent. And most modern browsers will still block them.

The best way is to tell the user that she needs to view your application in full screen mode, and ALLOW WHAT IT DOES INSTEAD OF EXTERNAL USE.

+2
source

Source: https://habr.com/ru/post/1344404/


All Articles