XF 2.2 Force overlays?

Newsman

Member
Hello!

Is there a way to always force overlays? What I mean by that: I want the user to be unable to open a button/a-tag with a href/action attribute in a new tab..

Cheers!
 
Not really, at least using the built-in mechanisms. The principles of progressive enhancement/graceful degradation apply for situations where JS is disabled or fails to load, and it can also improve convenience and accessibility for users. I suppose you could do some trickery in JS (or potentailly Sec-Fetch-* if you don't care about older Safari/iOS) to inhibit the view from opening via a regular HTTP request if you really wanted to.
 
Back
Top Bottom