Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--SCHRIEB DAS I DIN <HEAD>:-->
- <script type="text/javascript" src="./scripts/jquery-2.1.1.min.js"></script>
- <script type="text/javascript">
- /**************************************************/
- /* Code by Livio */
- /* V1.0 */
- /**************************************************/
- /*EASTER EGG*/
- easteregg = false;
- function activeEasterEgg() {
- console.log("Easer Egg Activated!");
- $("body").append("<img id='hitmarker' src='http://t4.rbxcdn.com/198cd5822a2231611e9afea09e21d055' style='z-index:3;position:fixed;border:none;display:none;height:210px;width:210px;' />");
- easteregg = true;
- }
- $(window).click(function (e) {
- if (easteregg == true) {
- $("#hitmarker").css({
- "left": e.pageX - 100 + "px",
- "top": e.pageY - 100 + "px",
- "display": "inline",
- });
- window.setTimeout(function () {
- $("#hitmarker").css("display", "none");
- }, 100);
- }
- });
- /*MAIN*/
- $(document).ready(function () {
- $("body").append("<div style='height:1px;width:1px;position:fixed;left:0px;top:0px;' onclick='activeEasterEgg()'></div>");
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment