-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade to new color scheme; Add favicon svg; Add email obfuscator
- Loading branch information
Showing
14 changed files
with
605 additions
and
390 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
--- | ||
|
||
<span class="obfuscated-email" data-name="nico" data-domain="salm.dev">Email</span> | ||
|
||
<script> | ||
function deobfuscateEmail() { | ||
const elements = document.querySelectorAll('.obfuscated-email'); | ||
elements.forEach(element => { | ||
const name = element.getAttribute('data-name'); | ||
const domain = element.getAttribute('data-domain'); | ||
if (name && domain) { | ||
const email = `${name}@${domain}`; | ||
element.setAttribute('data-email', email); | ||
} | ||
}); | ||
} | ||
|
||
// Run the deobfuscation after the page loads | ||
window.addEventListener('load', deobfuscateEmail); | ||
</script> | ||
|
||
<style> | ||
.obfuscated-email { | ||
font-weight: inherit; | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
</style> |
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
Oops, something went wrong.