You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 viadata-*
attributes either, so this functionality may have to be limited to JavaScript configuration.The text was updated successfully, but these errors were encountered: