Advertisement
Guest User

fuck comcast

a guest
Jul 1st, 2015
2,509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.82 KB | None | 0 0
  1. <script language="JavaScript" type="text/javascript">
  2. // Comcast Cable Communications, LLC Propriertary, Copyright (C) 2012-2013 Comcast
  3. // Intended use of this message is to display critical and time sensitive notifications to customers.
  4. var SYS_URL='/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do';
  5. var image_url='http://servicealerts.comcast.net:8080/images/copyrightalerts/';
  6. var headertext1='<strong>COPYRIGHT ALERT! #<font size="4">2</font></strong>';
  7. var headertext2='<strong>AN IMPORTANT MESSAGE FROM COMCAST</strong>';
  8. var textline1='As part of the Copyright Alerts System operated by the Center for Copyright Information, a copyright owner has sent Comcast another notice claiming your Internet service Comcast was used to copy or share a movie, television program or song improperly. As we did with the first notice, we have sent an e-mail with more information about this notice to the comcast.net e-mail address of the primary Comcast account holder in your household. The Internet offers many ways to access content online properly. If we receive more notices from copyright owners about this Internet account, the account holder will have to take additional steps to confirm this alert. You can always communicate with Comcast and will be able to challenge alerts online. In all cases, Comcast will protect your privacy as part of the alert program.';
  9. var textline2='Click the button below to confirm you received this Copyright Alert and to close it. Note, a valid comcast.net user id and password will be required for sign in to remove this notice. Please review the frequently asked questions about the Copyright Alert System you will see at http://www.comcast.com/copyrightalerts to learn more about this program and to help you avoid future Alerts.';
  10. var textline3='For a better way to find Movies, TV, and Music visit http://www.copyrightinformation.org/a-better-way-to-find-movies-tv-music/ after you sign in.';
  11. var verifybulletin='<a href="http://customer.comcast.com/help-and-support/internet/copyrightalerts" target="_new">How do I know this message is from Comcast?</a>';
  12. var acknowledgebutton='<a href=\"#\" onClick="document.location.href=\''+SYS_URL+'?dispatch=redirect&redirectName=login&paramName=bmUid\'" title="Sign In to Acknowledge" style="color: #FFFFFF;"><img alt="Sign In to Confirm" src="'+image_url+'/signin_confirm_button.png" width="130" height="34"/></a>';
  13.  
  14. if(self.location==top.location) {
  15. document.write('<style type="text/css">');
  16. document.write('#comcast_content {width: 780px; height:420px; background: #fff; border: 1px solid #454545; position:absolute; top:50px; left:100px; zoom:1; z-index: 9999999; opacity:0.99; filter:alpha(opacity=99);}');
  17. document.write('#comcast_content .header {height: 45px; background-color:#000000;}');
  18. document.write('#comcast_content .a {color: #00a3e0;}');
  19. document.write('#comcast_content .logo {float:left; margin: 5px 0 0 10px;}');
  20. document.write('#comcast_content .close {float:right; text-decoration: none; margin: 15px 10px 0 0; font: 12px/13px bold Arial, Helvetica, sans-serif; color: #FFFFFF;}');
  21. document.write('#comcast_content .content-wrapper {padding-left: 18px; padding-right: 15px; padding-bottom: 12px;}');
  22. document.write('#comcast_content .headerimage { margin-top: 15px;}');
  23. document.write('#comcast_content .header1 {margin: 14px 0 0 0; color: #191919; padding: 0; font: 14px/15px bold Arial, Helvetica, sans-serif;}');
  24. document.write('#comcast_content .textcontent {margin: 12px 0 0 0; color: #303030; word-spacing: 0px; line-height:0px; font: 13px/14px Arial, Helvetica, sans-serif; line-height: 1.15;}');
  25. document.write('#comcast_content .bulletcontent li {list-style-type:circle; list-style-position:outside; color: #303030; padding-left: 0.1em; margin: 10px 10px 10px 10px; word-spacing: 0px; line-height:1.15; font: 12px/13px Arial, Helvetica, sans-serif;}');
  26. document.write('#comcast_content .acknowledge {padding-top:12px; text-align: center;}');
  27. document.write('#comcast_content .how-do-i {float:left; position:absolute; bottom:15px; left:18px; margin: 12px 0 0 0; font: 12px/13px bold Arial, Helvetica, sans-serif; text-align: bottom;}');
  28. document.write('#comcast_content .comcast-wrapper {float:right; position:absolute; bottom:3px; right:3px; padding-top:0px; text-align: right;}');
  29. document.write('</style>');
  30. document.write('<div class="main-wrapper" id="comcast_content">');
  31. document.write('<div class="header" onmousedown="javascript:dragStart(event,\'comcast_content\')">');
  32. document.write('<img src="'+image_url+'comcast_logo.png" width="93" height="33" alt="Comcast" class="logo" />');
  33. document.write('</div>');
  34. document.write('<div class="content-wrapper">');
  35. document.write('<p class="header1">');
  36. document.write(headertext1);
  37. document.write('</p>');
  38. document.write('<p class="header1">');
  39. document.write(headertext2);
  40. document.write('</p>');
  41. document.write('<p class="textcontent">');
  42. document.write(textline1);
  43. document.write('</p>');
  44. document.write('<p class="textcontent">');
  45. document.write(textline2);
  46. document.write('</p>');
  47. document.write('<p class="textcontent">');
  48. document.write(textline3);
  49. document.write('</p>');
  50. document.write('<p class="how-do-i">');
  51. document.write(verifybulletin);
  52. document.write('</p>');
  53. document.write('<div class="acknowledge">');
  54. document.write(acknowledgebutton);
  55. document.write('</div>');
  56. document.write('<div class="comcast-wrapper">');
  57. no_cache=Math.random();
  58. no_cache=no_cache*10101010101;
  59. no_cache=Math.round(no_cache);
  60. document.write('<img src="'+image_url+'/cra_bn2.png?'+no_cache+'" width="1" height="1">');
  61. document.write('</div>');
  62. document.write('</div>');
  63. document.write('</div>');
  64. document.write('</div>');
  65. }
  66.  
  67. // Function to Determine browser and version. Copyright 2001 by Mike Hall.
  68. // See http://www.brainjar.com for terms of use.
  69.  
  70. function Browser() {
  71. var ua, s, i;
  72. this.isIE = false;
  73. this.isNS = false;
  74. this.version = null;
  75. ua = navigator.userAgent;
  76. s = "MSIE";
  77. if ((i = ua.indexOf(s)) >= 1) {
  78. this.isIE = true; this.version = parseFloat(ua.substr(i + s.length)); return;
  79. }
  80. s = "Netscape6/";
  81. if ((i = ua.indexOf(s)) >= 0) {
  82. this.isNS = true; this.version = parseFloat(ua.substr(i + s.length)); return;
  83. }
  84. s = "Gecko";
  85. if ((i = ua.indexOf(s)) >= 0) {
  86. this.isNS = true; this.version = 6.1; return;
  87. }
  88. }
  89. var browser1 = new Browser();
  90. var dragObj = new Object();
  91. dragObj.zIndex = 9999;
  92. function dragStart(event, id) {
  93. var el;
  94. var x, y;
  95. if (id) dragObj.elNode = document.getElementById(id);
  96. else {
  97. if (browser1.isIE) dragObj.elNode = window.event.srcElement;
  98. if (browser1.isNS) dragObj.elNode = event.target;
  99. if (dragObj.elNode.nodeType == 3) dragObj.elNode = dragObj.elNode.parentNode;
  100. }
  101. if (browser1.isIE) {
  102. x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft;
  103. y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop;
  104. }
  105. if (browser1.isNS) {
  106. x = event.clientX + window.scrollX;
  107. y = event.clientY + window.scrollY;
  108. }
  109. dragObj.cursorStartX = x;
  110. dragObj.cursorStartY = y;
  111. dragObj.elStartLeft = parseInt(dragObj.elNode.style.left, 10);
  112. dragObj.elStartTop = parseInt(dragObj.elNode.style.top, 10);
  113. if (isNaN(dragObj.elStartLeft)) dragObj.elStartLeft = 100;
  114. if (isNaN(dragObj.elStartTop)) dragObj.elStartTop = 50;
  115. if (browser1.isIE) {
  116. document.attachEvent("onmousemove", dragGo);
  117. document.attachEvent("onmouseup", dragStop);
  118. window.event.cancelBubble = true;
  119. window.event.returnValue = false; }
  120. if (browser1.isNS) {
  121. document.addEventListener("mousemove", dragGo, true);
  122. document.addEventListener("mouseup", dragStop, true);
  123. event.preventDefault();
  124. }
  125. }
  126.  
  127. // End Function
  128.  
  129. function dragGo(event) {
  130. var x, y;
  131. if (browser1.isIE) {
  132. x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft;
  133. y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop;
  134. }
  135. if (browser1.isNS) {
  136. x = event.clientX + window.scrollX; y = event.clientY + window.scrollY;
  137. }
  138. dragObj.elNode.style.left = (dragObj.elStartLeft + x - dragObj.cursorStartX) + "px";
  139. dragObj.elNode.style.top = (dragObj.elStartTop + y - dragObj.cursorStartY) + "px";
  140. if (browser1.isIE) { window.event.cancelBubble = true; window.event.returnValue = false; }
  141. if (browser1.isNS) event.preventDefault(); }
  142.  
  143. function dragStop(event) {
  144. if (browser1.isIE) {
  145. document.detachEvent("onmousemove", dragGo);
  146. document.detachEvent("onmouseup", dragStop);
  147. }
  148. if (browser1.isNS) {
  149. document.removeEventListener("mousemove", dragGo, true);
  150. document.removeEventListener("mouseup", dragStop, true);
  151. }
  152. }
  153.  
  154. var xmlhttp=false; /*@cc_on @*/ /*@if (@_jscript_version >= 5) try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } } @end @*/ if (!xmlhttp && typeof XMLHttpRequest!='undefined') { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp=false; } } if (!xmlhttp && window.createRequest) { try { xmlhttp = window.createRequest(); } catch (e) { xmlhttp=false; } }
  155.  
  156. function acknowledge() { sendAck(); document.getElementById('comcast_content').style.display="none"; }
  157. function sendAck(){ xmlhttp.open("GET", SYS_URL+'?dispatch=ackBulletin',true); xmlhttp.send(null) }
  158.  
  159. var comcastCheck=1;
  160. var comcastTimer;
  161. function checkBulletin(){
  162. if(comcastCheck==0) { return; }
  163. xmlhttp.open("GET", SYS_URL+'?dispatch=checkBulletin',true);
  164. xmlhttp.onreadystatechange = function() {
  165. if (xmlhttp.readyState == 4) {
  166. if(xmlhttp.responseText.indexOf('43a1028c-7d11-11de-b687-1f15c5ad6a13')==-1){
  167. document.getElementById('comcast_content').style.display="none";
  168. comcastCheck=0;
  169. }
  170. comcastTimer=setTimeout("checkBulletin()",5000);
  171. };
  172. };
  173. xmlhttp.send(null);
  174. }
  175. checkBulletin();
  176. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement