Advertisement
RageQxeen

fixed it uwu

May 27th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. <script defer>
  2. window.onload = function() {
  3. var isCtrl = false;
  4. document.onkeyup=function(e)
  5. {
  6. if(e.which == 17)
  7. isCtrl=false;
  8. }
  9. document.onkeydown=function(e)
  10. {
  11. if(e.which == 17)
  12. isCtrl=true;
  13. if((e.which == 85) || (e.which == 67) && (isCtrl == true))
  14. {
  15. return false;
  16. }
  17. }
  18. var isNS = (navigator.appName == "Netscape") ? 1 : 0;
  19. if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
  20. function mischandler(){
  21. return false;
  22. }
  23. function mousehandler(e){
  24. var myevent = (isNS) ? e : event;
  25. var eventbutton = (isNS) ? myevent.which : myevent.button;
  26. if((eventbutton==2)||(eventbutton==3)) return false;
  27. }
  28. document.oncontextmenu = mischandler;
  29. document.onmousedown = mousehandler;
  30. document.onmouseup = mousehandler;
  31.  
  32. if (document.addEventListener) { // IE >= 9; other browsers
  33. document.addEventListener('contextmenu', function(e) {
  34. alert(" Try asking for the code instead."); //here you draw your own menu
  35. e.preventDefault();
  36. }, false);
  37. } else { // IE < 9
  38. document.attachEvent('oncontextmenu', function() {
  39. alert("");
  40. window.event.returnValue = false;
  41. });
  42. }
  43. };
  44. </script>
  45. <style>
  46. @import url('https://fonts.googleapis.com/css?family=Caveat&display=swap');
  47. body {
  48. background-color: #e6e4d8;
  49. background-image: url('https://cdn.discordapp.com/attachments/679048815910584440/713996774313820160/ed5a900af46d0b3c374ab2bc8051e89f.png') ;
  50. background-position: fixed;
  51. background-size: 25%;
  52. background-repeat:no-repeat;
  53. background-position: right center;
  54. font-family: ;
  55. color: #7c7c7c;
  56. text-shadow:0px 0px 3px #000;
  57.  
  58. }
  59. div.fixed {
  60. position: fixed;
  61. top: 30%;
  62. left: 50%;
  63. width: 500px;
  64. border: ;
  65. color: #000;
  66. font-size: 20px;
  67. font-family: 'Caveat', cursive;
  68. opacity: 0
  69.  
  70. }
  71.  
  72. #navi1 {position: absolute;
  73. left: 25vw;
  74. top: 5vw;}
  75.  
  76. #navi1 a {background-color: #600;
  77. background:url('http://i.picpar.com/uF3e.png')
  78. center center no-repeat;;
  79. background-size: 100%;
  80. display: inline-block;
  81. height: 50px;
  82. width: 50px;
  83. border: 0px solid #fff;
  84.  
  85. }
  86.  
  87. #navi2 {position: absolute;
  88. left: 25vw;
  89. top: 10vw;}
  90.  
  91. #navi2 a {background-color: #600;
  92. background:url('http://i.picpar.com/vF3e.png')
  93. center center no-repeat;;
  94. background-size: 100%;
  95. display: inline-block;
  96. height: 50px;
  97. width: 48px;
  98. border: 0px solid #fff;}
  99.  
  100. #navi3 {position: absolute;
  101. left: 25vw;
  102. top: 15vw;}
  103.  
  104. #navi3 a {background-color: #600;
  105. background:url('http://i.picpar.com/wF3e.png')
  106. center center no-repeat;;
  107. background-size: 100%;
  108. display: inline-block;
  109. height: 50px;
  110. width: 48px;
  111. border: 0px solid #fff;}
  112.  
  113. #navi4 {position: absolute;
  114. left: 25vw;
  115. top: 20vw;}
  116.  
  117. #navi4 a {background-color: #fff;
  118. background:url('http://i.picpar.com/yF3e.png')
  119. center center no-repeat;;
  120. background-size: 100%;
  121. display: inline-block;
  122. height: 50px;
  123. width: 48px;
  124. border: 0px solid #fff;}
  125. </style>
  126. <body>
  127.  
  128. <div class="fixed">
  129. <center>Ryuko Tatsuma<br>
  130. Dragoon Hero: Ryukyu<br>
  131. <s>9th</s> 10th Ranked Pro Hero In Japan<br><br>
  132.  
  133. PM Friendly<br>
  134. MHA Canon<br>
  135. <br>
  136. Temp profile till another time
  137. </div>
  138. </div>
  139.  
  140. <div id="navi4"><a href="#four"></a></div>
  141. <div id="navi3"><a href="#three"></a></div>
  142. <div id="navi2"><a href="#two"></a></div>
  143. <div id="navi1"><a href="#one"></a></div>
  144. </div>
  145.  
  146. </body>
  147. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement