mikemaccana / outdated-browser-rework

Detects outdated browsers and advises users to upgrade to a new version. Handles mobile devices!
MIT License
226 stars 63 forks source link

Is it possible to configure buttonCloseUpdateBrowser to redirect to a different page? #71

Open jaycincotta opened 5 years ago

jaycincotta commented 5 years ago

Having the close button simply hide outdated div is great default behavior, but sometimes a site is useless for unsupported browsers and it would be great to configure the close button to redirect somewhere else. Looking at the generated code, this could be accomplished by substituting a config value for the href property.

<a title="Close" id="buttonCloseUpdateBrowser" style="color: white;" href="#">×</a>