Skip to content

Commit aff4368

Browse files
committed
fork me on github
1 parent 6893b9b commit aff4368

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

img/forkme.png

7.74 KB
Loading

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
</script>
3535
</span>
3636
<span id="antimail"></span>
37+
<a id="forkme" href="https://github.com/pp2-ex/webdev-js"><img style="position: absolute; top: 0; right: 0; border: 0;" src="img/forkme.png" alt="Fork me on GitHub" data-canonical-src="img/forkme.png"></a>
38+
3739
<script type="text/javascript">
40+
// simple spam blocker
3841
function antimail(name,domain,tld,subject){
3942
var a = document.createElement("a");
4043
var mail = name + "@" + domain + "." + tld;
@@ -43,6 +46,8 @@
4346
return a;
4447
}
4548
document.getElementById("antimail").appendChild(antimail("seb","wilzba", "ch"));
49+
// make fork me absolute
50+
document.body.appendChild(document.getElementById("forkme"));
4651
</script>
4752
</section>
4853

0 commit comments

Comments
 (0)