Coder Social home page Coder Social logo

fullscreen-popup's People

Contributors

bradtriebwasser avatar michaelwasserman avatar bunneyster avatar inexorabletash avatar tidoust avatar quisquous avatar pwnall avatar anssiko avatar dontcallmedom avatar jpmedley avatar miketaylr avatar reillyeon avatar

Stargazers

 avatar Nick Clark avatar

Watchers

Nick Clark avatar  avatar  avatar  avatar

fullscreen-popup's Issues

Fullscreen-popup should be aligned with "fullscreen" Permission-Policy

Although "fullscreen" was removed from browser permission content setting, however, it is possible to not allow new window open in fullscreen by Permission Policy, such as header Permission-Policy: fullscreen=(). It would be an annoyance issue.

I only see the feature is gated behind "window-placement", but not "fullscreen" permission, should we provide an additional cases , giving a notice and escaping fullscreen mode?

Prevent opening popups fullscreen on the current display

Historically speaking, Internet Explorer 6 already supported a fullscreen=yes feature allowing window.open() to open a new window in fullscreen on the current screen. This was removed in later versions to prevent security problems where a malicious website could mimic another website, application or the operating system.

This features essentially brings this issue back - although partly mitigated using the fullscreen bubble and using a fullscreen window transition.

One possible security consideration that could be added is to prevent opening fullscreen windows on the same display as the user activation is happening. That makes this feature only usable for opening a window fullscreen on a different display. This may make it less interesting to use as an attack vector.

Prevent cross-origin fullscreen popups

A website (which the user had granted window-management), could put untrusted data into a window.open call like below:

window.open(untrustedInputString,"_blank","popup,fullscreen")

While there are existing protections (window-management permission, exit bubbles), it may improve security by preventing cross-origin fullscreen popups altogether.

Additional use case: Point of Sale systems

One additional use case is Point of Sale systems where there are two displays. One display is facing the operator and running the cash register software and one facing the customer. The customer facing display would typically show the receipt and total amount due.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.