Last active
August 6, 2024 18:22
-
-
Save danieliser/59c01eae386c58c0592655d28a3be165 to your computer and use it in GitHub Desktop.
Automatically hide elements on your site if its loaded in an iframe. JavaScript is used to detect when in a frame and add a class to the <html> element. CSS can then be used to hide or show elements.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment