orestbida / iframemanager

🍪 GDPR friendly iframe manager written in vanilla js
https://orestbida.com/demo-projects/iframemanager/demo1/
MIT License
227 stars 26 forks source link

Handle non-js-browsers, allow them to get to the external service as well. #12

Closed melker closed 1 year ago

melker commented 2 years ago

Idea: Initially we could add a <a href="urlOfExternalService" rel="noreferrer">SomeTitle</a> either as the thing to be replaced instead of the div or we can add it inside the div and the javascript will remove the link once triggered (it could have some data-cc-nonjs attribute or something.

melker commented 2 years ago

Hmmm... I realize that this maybe this already works if I add the link is inside the div. Then this issue is a request for it being mentioned in the documentation as an example of handling non-js-browsers I guess :-)

orestbida commented 1 year ago

Checkout the docs. for an example.