fix: Clickable email link
This commit is contained in:
parent
60219d27a7
commit
eb60e304dd
1 changed files with 23 additions and 2 deletions
25
imprint.md
25
imprint.md
|
|
@ -7,7 +7,7 @@ Koppoldstr. 1
|
||||||
GERMANY
|
GERMANY
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
**Email:** [contact@source-collab.com](mailto:contact@source-collab.com)
|
**Email:** <span id="email-container">contact@source-collab.com</span>
|
||||||
|
|
||||||
## EU Dispute Resolution
|
## EU Dispute Resolution
|
||||||
The European Commission provides a platform for online dispute resolution (ODR): [https://ec.europa.eu/consumers/odr/](https://ec.europa.eu/consumers/odr/).
|
The European Commission provides a platform for online dispute resolution (ODR): [https://ec.europa.eu/consumers/odr/](https://ec.europa.eu/consumers/odr/).
|
||||||
|
|
@ -33,4 +33,25 @@ A permanent content control of the linked websites is not reasonable without con
|
||||||
## Copyright
|
## Copyright
|
||||||
Contents and works published on these websites by the site operators are subject to German copyright laws. The reproduction, editing, distribution, and any kind of use outside the scope of the copyright law require a written permission of the respective author or creator. Downloads and copies of these websites are permitted for private, non-commercial use only.
|
Contents and works published on these websites by the site operators are subject to German copyright laws. The reproduction, editing, distribution, and any kind of use outside the scope of the copyright law require a written permission of the respective author or creator. Downloads and copies of these websites are permitted for private, non-commercial use only.
|
||||||
|
|
||||||
Insofar as the content on this site was not created by the operator, the copyrights of third parties are respected. In particular, third-party content is identified as such. Should you nevertheless become aware of a copyright infringement, please inform us accordingly. Upon becoming aware of legal violations, we will remove such contents immediately.
|
Insofar as the content on this site was not created by the operator, the copyrights of third parties are respected. In particular, third-party content is identified as such. Should you nevertheless become aware of a copyright infringement, please inform us accordingly. Upon becoming aware of legal violations, we will remove such contents immediately.
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(document).ready(() => {
|
||||||
|
const u = 'contact';
|
||||||
|
const d = 'source';
|
||||||
|
const e = 'collab';
|
||||||
|
const tld = 'com';
|
||||||
|
const mProto = String.fromCharCode(109, 97, 105, 108, 116, 111, 58);
|
||||||
|
const at = String.fromCharCode(64);
|
||||||
|
const dot = String.fromCharCode(46);
|
||||||
|
const dash = String.fromCharCode(45);
|
||||||
|
const rawEmail = u + at + d + dash + e + dot + tld;
|
||||||
|
const displayHtml = `${u}@${d}-${e}.${tld}`;
|
||||||
|
$('#email-container').each((el) => {
|
||||||
|
const link = document.createElement('a');
|
||||||
|
const $link = $(link);
|
||||||
|
$link.attr('href', mProto + rawEmail).html(displayHtml);
|
||||||
|
$(el).empty().append($link);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue