Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding functionality to Exit this page to accept an array of redirects and use one at random #5500

Open
querkmachine opened this issue Nov 15, 2024 · 0 comments
Labels
exit this page feature request User requests a new feature

Comments

@querkmachine
Copy link
Member

Related component

Context

Following a recent blog post I made about the Exit this Page component, a commenter suggested that users always being directed to BBC Weather could raise suspicion in a vulnerable user. This is especially the case if they need to use the exit functionality several times in a relatively short period and are redirected to BBC Weather every time.

To counter this, we could allow services to pass an array of multiple services into the EtP component and have the component choose one of these at random upon each activation to redirect to.

Alternatives

A service could write server-side code to change the target for the EtP button on each page load,

Additional information (if applicable)

There would still need to be a 'main' redirect that exists as the href of the link used as a no-JS fallback. I'm not sure we have a defined format for passing an array via data-* attributes either, so this functionality may have to be limited to JavaScript configuration.

@querkmachine querkmachine added feature request User requests a new feature exit this page labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exit this page feature request User requests a new feature
Projects
None yet
Development

No branches or pull requests

1 participant