gluon-framework / gluon

A new framework for creating desktop apps from websites, using system installed browsers and NodeJS
https://gluonjs.org
MIT License
3.1k stars 76 forks source link

RFC: Restrict Window navigation #51

Closed CanadaHonk closed 1 year ago

CanadaHonk commented 1 year ago

Window/top-level navigations should be restricted by default. This will be handled by the allowRedirects Window option, with the values:

CanadaHonk commented 1 year ago

Done in new allowNavigation option, to be released on 0.13

iacore commented 1 year ago

This is not working for me for some reason. I use Librewolf.

Download project here: https://github.com/iacore/solid-gluon-thingy/releases/tag/bug-navigate

https://github.com/gluon-framework/gluon/assets/74560659/f9ab1993-581a-4879-9f86-2dac6fbac3c2

https://github.com/gluon-framework/gluon/assets/74560659/28245f5d-fcbd-43dd-ab42-4025f4bfc44b