Created
August 23, 2016 13:13
-
-
Save jasonclark/c3060070f8bca5dba58ab96e184cadfe to your computer and use it in GitHub Desktop.
CSS as privacy diagnostic tool - mark all unsecure or unencrypted content/links. Add this to your CSS to see a red frowny face next to your non-SSL content.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.content [href^="http:"]::after { | |
content: "\2639\ (unencrypted link)"; | |
display: inline-block; | |
width: .8em; | |
height: .8em; | |
text-indent: .8em; | |
white-space: nowrap; | |
color: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment