document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <script language="JavaScript" type="text/javascript">
  2.  
  3. // Copyright (C) 2015 Comcast Cable Communications, LLC
  4. // Contact Us: http://customer.xfinity.com/contact-us/
  5. // Intended use of this message is to display critical and time sensitive notifications to customers.
  6. /*
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License
  9. as published by the Free Software Foundation; either version 2
  10. of the License, or (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  20.  
  21. http://www.gnu.org/licenses/old-licenses/lgpl-2.0.en.html
  22.  
  23. */
  24. var _ComcastAlert = (function(){
  25. return {
  26. SYS_URL: '/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do'
  27. , dragObj: {zIndex: 999999}
  28. , browser: null
  29. , comcastCheck: 1
  30. , comcastTimer: null
  31. , xmlhttp: null
  32.  
  33. , go: function(){
  34. if(self.location !== top.location) return;
  35. if(document.body){
  36. _ComcastAlert.ComcastBrowserNotice();
  37. _ComcastAlert.browser = _ComcastAlert.checkBrowser();
  38. _ComcastAlert.getXmlhttp();
  39. _ComcastAlert.checkBulletin();
  40. return _ComcastAlert;
  41. }else{
  42. setTimeout(_ComcastAlert.go, 200);
  43. }
  44. }
  45.  
  46. , ComcastBrowserNotice: function(){
  47. var image_url = 'http://servicealerts.comcast.net:8080/images/ubb/';
  48. var comcastAlertAnalytics = 'ubb_125%.png';
  49. var notice_width = '600px';
  50. var notice_height = '310px';
  51. var winObj = {
  52. image_url: image_url
  53. , comcastAlertAnalytics: comcastAlertAnalytics
  54. , notice_width: notice_width
  55. , notice_height: notice_height
  56. , comcastlogo_url: '<img src="' + image_url + 'comcast-logo.png" height="50" width="115"/>'
  57. , xfinitylogo_url: '<img src="' + image_url + 'xfinity-logo-1.png" height="28" width="87"/>'
  58. , headertext1: '<strong>Dear XFINITY Customer,</strong>'
  59. , textline1: 'You have reached <b>125%</b> of your <b>300</b> <b>GB</b> monthly data plan for your XFINITY Internet Service. Your account continues to incur data usage overage charges.'
  60. , textline2: 'To learn more about the Unlimited Data option, click <a href="https://customer.xfinity.com/help-and-support/internet/exp-unlimited-data" target="_new" style="color: #000000">here</a>.'
  61. , privacypolicylink: '<a href="http://my.xfinity.com/privacy/" target="_new" style="color: #000000">PRIVACY POLICY</a>'
  62. , termslink: '<a href="http://my.xfinity.com/terms/" target="_new" style="color: #000000">TERMS OF SERVICE</a>'
  63. , usagemeterlink: '<a href="https://customer.comcast.com/Secure/UsageMeterDetail.aspx" target="_new" style="color: #000000">USAGE METER</a>'
  64. , ackbulletin: '<a href=\\"#\\" onClick="document.location.href=\\'' + this.SYS_URL + '?dispatch=ackBulletinRedirectSleep&redirectName=ubbfaq\\'"><img src="' + image_url + 'acknowledge-364x76.png" height="38" width="182"/></a>'
  65. , closebulletin: '<a href=\\"#\\" onClick=\\"javascript:_ComcastAlert.close_comcast_alert()\\"><img src="' + image_url + 'close-button-xgrey.png" height="32" width="32"/></a>'
  66. , analytics: '<img src="' + image_url + encodeURIComponent(comcastAlertAnalytics) + '?' + _ComcastAlert.comcastContentnoCache() + '">'
  67. };
  68. this.createWindow(winObj);
  69. }
  70.  
  71. , createWindow: function(winObj){
  72. var html = '<style type="text/css">';
  73. html += '#comcast_content {width: ' + winObj.notice_width + '; height:' + winObj.notice_height + '; background:#ffffff; border: 1px solid #454545; position:absolute; top:150px; left:100px; zoom:1; z-index: 9999999999; opacity:0.99; filter:alpha(opacity=99);}';
  74. html += '#comcast_content .header {height: 45px; width: ' + winObj.notice_width + '; background-color:#292929; repeat-x; z-index: 999999;}';
  75. html += '#comcast_content .content-wrapper {padding-left: 5px; padding-right: 5px; padding-bottom: 5px;}';
  76. html += '#comcast_content .titletext1 {margin: 20px 0 0 15px; color: #303030; text-align: left; padding: 0; font: 20px/22px bold Arial, Helvetica, sans-serif;}';
  77. html += '#comcast_content .titletext2 {margin: 20px 0 0 15px; color: #303030; text-align: left; padding: 0; font: 18px/20px bold Arial, Helvetica, sans-serif;}';
  78. html += '#comcast_content .textcontent1 {margin: 10px 10px 0 15px; color: #303030; text-align: left; padding: 0; font: 16px/18px Arial, Helvetica, sans-serif; line-height: 1.2;}';
  79. html += '#comcast_content .privacystatement {display: inline-block; position:absolute; bottom:5px; left:20px; font: 12px/12px Arial, Helvetica, sans-serif; text-align: bottom; white-space:nowrap;}';
  80. html += '#comcast_content .privacystatement:link {color:#000000; text-decoration:none;}';
  81. html += '#comcast_content .privacystatement:visited {color:#000000; text-decoration:none;}';
  82. html += '#comcast_content .privacystatement:hover {color:#000000; text-decoration:underline;}';
  83. html += '#comcast_content .usagemeter {display: inline-block; position:absolute; bottom:5px; left:298px; font: 12px/12px Arial, Helvetica, sans-serif; text-align: bottom; white-space:nowrap;}';
  84. html += '#comcast_content .usagemeter:link {color:#000000; text-decoration:none;}';
  85. html += '#comcast_content .usagemeter:visited {color:#000000; text-decoration:none;}';
  86. html += '#comcast_content .usagemeter:hover {color:#000000; text-decoration:underline;}';
  87. html += '#comcast_content .termsofservice {display: inline-block; position:absolute; bottom:5px; left:150px; font: 12px/12px Arial, Helvetica, sans-serif; text-align: bottom; white-space:nowrap;}';
  88. html += '#comcast_content .termsofservice:link {color:#000000; text-decoration:none;}';
  89. html += '#comcast_content .termsofservice:visited {color:#000000; text-decoration:none;}';
  90. html += '#comcast_content .termsofservice:hover {color:#000000; text-decoration:underline;}';
  91. html += '#comcast_content .comcastlogo {display: inline-block; position:absolute; bottom:5px; right:5px; margin: 0 0 0 0; height:50px; width:115px; z-index: 9999999999;}';
  92. html += '#comcast_content .xfinitylogo {display: inline-block; position:absolute; left:5px; top:10px; margin: 0 0 0 0; z-index: 9999999999; height:28px; width:87px;}';
  93. html += '#comcast_content .comcastanalytics {display: inline-block; position:absolute; bottom:3px; right:3px; height: 1px; width: 1px; z-index: -99999; margin: 0 0 0 0; }';
  94. html += '#comcast_content .acknowledgebutton {display: inline-block; position:absolute; z-index: 9999999999; bottom:45px; left:207px; height:38px; width:182px; }';
  95. html += '#comcast_content .closebn {display: inline-block; position:absolute; z-index: 9999999999; left:560px; top:5px; height:32px; width:32px; margin: 0 0 0 0;}';
  96. html += '</style>';
  97. html += '<div class="main-wrapper" id="comcast_content">';
  98. html += '<div class="header" onmousedown="javascript:_ComcastAlert.dragStart(event,\\'comcast_content\\')">';
  99. html += '</div>';
  100. html += '<div class="content-wrapper">';
  101. html += '<p class="xfinitylogo">';
  102. html += winObj.xfinitylogo_url;
  103. html += '</p>';
  104. html += '<p class="closebn">';
  105. html += winObj.closebulletin;
  106. html += '</p>';
  107. html += '<p class="titletext1">';
  108. html += winObj.headertext1;
  109. html += '</p>';
  110. html += '<p class="textcontent1">';
  111. html += winObj.textline1;
  112. html += '</p>';
  113. html += '<p class="textcontent1">';
  114. html += winObj.textline2;
  115. html += '</p>';
  116. html += '<p class="acknowledgebutton">';
  117. html += winObj.ackbulletin;
  118. html += '</p>';
  119. html += '<p class="privacystatement">';
  120. html += winObj.privacypolicylink;
  121. html += '</p>';
  122. html += '<p class="termsofservice">';
  123. html += winObj.termslink;
  124. html += '</p>';
  125. html += '<p class="usagemeter">';
  126. html += winObj.usagemeterlink;
  127. html += '</p>';
  128. html += '<p class="comcastlogo">';
  129. html += winObj.comcastlogo_url;
  130. html += '</p>';
  131. html += '<p class="comcastanalytics">';
  132. html += winObj.analytics;
  133. html += '</p>';
  134. html += '</div>';
  135. html += '</div>';
  136. html += '</div>';
  137. document.body.innerHTML = document.body.innerHTML + html;
  138. }
  139.  
  140. // Function to Determine browser and version. Copyright 2001 by Mike Hall.
  141.  
  142. , checkBrowser: function() {
  143. var ua, s, i;
  144. var browser = {
  145. isIE: false
  146. , isNS: false
  147. , version: null
  148. };
  149. ua = navigator.userAgent;
  150. s = "MSIE";
  151. if ((i = ua.indexOf(s)) >= 1) {
  152. browser.isIE = true; browser.version = parseFloat(ua.substr(i + s.length));
  153. }
  154. s = "Netscape6/";
  155. if ((i = ua.indexOf(s)) >= 0) {
  156. browser.isNS = true; browser.version = parseFloat(ua.substr(i + s.length));
  157. }
  158. s = "Gecko";
  159. if ((i = ua.indexOf(s)) >= 0) {
  160. browser.isNS = true; browser.version = 6.1;
  161. }
  162. return browser;
  163. }
  164.  
  165. , dragStart: function(event, id) {
  166. var browser1 = _ComcastAlert.browser;
  167. var dragObj = _ComcastAlert.dragObj;
  168. var el;
  169. var x, y;
  170. if (id) dragObj.elNode = document.getElementById(id);
  171. else {
  172. if (browser1.isIE) dragObj.elNode = window.event.srcElement;
  173. if (browser1.isNS) dragObj.elNode = event.target;
  174. if (dragObj.elNode.nodeType == 3) dragObj.elNode = dragObj.elNode.parentNode;
  175. }
  176. if (browser1.isIE) {
  177. x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft;
  178. y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop;
  179. }
  180. if (browser1.isNS) {
  181. x = event.clientX + window.scrollX;
  182. y = event.clientY + window.scrollY;
  183. }
  184. dragObj.cursorStartX = x;
  185. dragObj.cursorStartY = y;
  186. dragObj.elStartLeft = parseInt(dragObj.elNode.style.left, 10);
  187. dragObj.elStartTop = parseInt(dragObj.elNode.style.top, 10);
  188. if (isNaN(dragObj.elStartLeft)) dragObj.elStartLeft = 100;
  189. if (isNaN(dragObj.elStartTop)) dragObj.elStartTop = 50;
  190. if (browser1.isIE) {
  191. document.attachEvent("onmousemove", _ComcastAlert.dragGo);
  192. document.attachEvent("onmouseup", _ComcastAlert.dragStop);
  193. window.event.cancelBubble = true;
  194. window.event.returnValue = false; }
  195. if (browser1.isNS) {
  196. document.addEventListener("mousemove", _ComcastAlert.dragGo, true);
  197. document.addEventListener("mouseup", _ComcastAlert.dragStop, true);
  198. event.preventDefault();
  199. }
  200. }
  201.  
  202. // End Function
  203.  
  204.  
  205. , comcastContentnoCache: function() {
  206. return Math.round(Math.random() * 96151252);
  207. }
  208.  
  209. , dragGo: function(event) {
  210. var browser1 = _ComcastAlert.browser;
  211. var dragObj = _ComcastAlert.dragObj;
  212. var x, y;
  213. if (browser1.isIE) {
  214. x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft;
  215. y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop;
  216. }
  217. if (browser1.isNS) {
  218. x = event.clientX + window.scrollX; y = event.clientY + window.scrollY;
  219. }
  220. dragObj.elNode.style.left = (dragObj.elStartLeft + x - dragObj.cursorStartX) + "px";
  221. dragObj.elNode.style.top = (dragObj.elStartTop + y - dragObj.cursorStartY) + "px";
  222. if (browser1.isIE) { window.event.cancelBubble = true; window.event.returnValue = false; }
  223. if (browser1.isNS) event.preventDefault();
  224. }
  225.  
  226. , dragStop: function(event) {
  227. var browser1 = _ComcastAlert.browser;
  228. if (browser1.isIE) {
  229. document.detachEvent("onmousemove", _ComcastAlert.dragGo);
  230. document.detachEvent("onmouseup", _ComcastAlert.dragStop);
  231. }
  232. if (browser1.isNS) {
  233. document.removeEventListener("mousemove", _ComcastAlert.dragGo, true);
  234. document.removeEventListener("mouseup", _ComcastAlert.dragStop, true);
  235. }
  236. }
  237.  
  238. , getXmlhttp: function(){
  239. 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 @*/
  240. if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
  241. try {
  242. xmlhttp = new XMLHttpRequest();
  243. } catch (e) {
  244. xmlhttp=false;
  245. }
  246. }
  247. if (!xmlhttp && window.createRequest) {
  248. try {
  249. xmlhttp = window.createRequest();
  250. } catch (e) {
  251. xmlhttp=false;
  252. }
  253. }
  254. this.xmlhttp = xmlhttp;
  255. }
  256.  
  257. , checkBulletin: function(){
  258. if(_ComcastAlert.comcastCheck==0) { return; }
  259. var xmlhttp = _ComcastAlert.xmlhttp;
  260. xmlhttp.open("GET", _ComcastAlert.SYS_URL+'?dispatch=checkBulletin',true);
  261. xmlhttp.onreadystatechange = function() {
  262. if (xmlhttp.readyState == 4) {
  263. if(xmlhttp.responseText.indexOf('43a1028c-7d11-11de-b687-1f15c5ad6a13') == -1){
  264. document.getElementById('comcast_content').style.display="none";
  265. _ComcastAlert.comcastCheck = 0;
  266. }
  267. _ComcastAlert.comcastTimer = setTimeout("_ComcastAlert.checkBulletin()",5000);
  268. };
  269. };
  270. xmlhttp.send(null);
  271. }
  272.  
  273. , close_comcast_alert: function() {
  274. document.getElementById('comcast_content').style.display = "none";
  275. _ComcastAlert.sendAck();
  276. }
  277.  
  278.  
  279. , acknowledge: function() {
  280. _ComcastAlert.sendAck();
  281. document.getElementById('comcast_content').style.display = "none";
  282. }
  283. , sendAck: function(){
  284. var xmlhttp = _ComcastAlert.xmlhttp;
  285. xmlhttp.open("GET", _ComcastAlert.SYS_URL+'?dispatch=ackBulletin',true);
  286. xmlhttp.send(null)
  287. }
  288. }
  289. }());
  290.  
  291. _ComcastAlert.go();
  292. </script><style type="text/css">#comcast_content {width: 600px; height:310px; background:#ffffff; border: 1px solid #454545; position:absolute; top:150px; left:100px; zoom:1; z-index: 9999999999; opacity:0.99; filter:alpha(opacity=99);}#comcast_content .header {height: 45px; width: 600px; background-color:#292929; repeat-x; z-index: 999999;}#comcast_content .content-wrapper {padding-left: 5px; padding-right: 5px; padding-bottom: 5px;}#comcast_content .titletext1 {margin: 20px 0 0 15px; color: #303030; text-align: left; padding: 0; font: 20px/22px bold Arial, Helvetica, sans-serif;}#comcast_content .titletext2 {margin: 20px 0 0 15px; color: #303030; text-align: left; padding: 0; font: 18px/20px bold Arial, Helvetica, sans-serif;}#comcast_content .textcontent1 {margin: 10px 10px 0 15px; color: #303030; text-align: left; padding: 0; font: 16px/18px Arial, Helvetica, sans-serif; line-height: 1.2;}#comcast_content .privacystatement {display: inline-block; position:absolute; bottom:5px; left:20px; font: 12px/12px Arial, Helvetica, sans-serif; text-align: bottom; white-space:nowrap;}#comcast_content .privacystatement:link {color:#000000; text-decoration:none;}#comcast_content .privacystatement:visited {color:#000000; text-decoration:none;}#comcast_content .privacystatement:hover {color:#000000; text-decoration:underline;}#comcast_content .usagemeter {display: inline-block; position:absolute; bottom:5px; left:298px; font: 12px/12px Arial, Helvetica, sans-serif; text-align: bottom; white-space:nowrap;}#comcast_content .usagemeter:link {color:#000000; text-decoration:none;}#comcast_content .usagemeter:visited {color:#000000; text-decoration:none;}#comcast_content .usagemeter:hover {color:#000000; text-decoration:underline;}#comcast_content .termsofservice {display: inline-block; position:absolute; bottom:5px; left:150px; font: 12px/12px Arial, Helvetica, sans-serif; text-align: bottom; white-space:nowrap;}#comcast_content .termsofservice:link {color:#000000; text-decoration:none;}#comcast_content .termsofservice:visited {color:#000000; text-decoration:none;}#comcast_content .termsofservice:hover {color:#000000; text-decoration:underline;}#comcast_content .comcastlogo {display: inline-block; position:absolute; bottom:5px; right:5px; margin: 0 0 0 0; height:50px; width:115px; z-index: 9999999999;}#comcast_content .xfinitylogo {display: inline-block; position:absolute; left:5px; top:10px; margin: 0 0 0 0; z-index: 9999999999; height:28px; width:87px;}#comcast_content .comcastanalytics {display: inline-block; position:absolute; bottom:3px; right:3px; height: 1px; width: 1px; z-index: -99999; margin: 0 0 0 0; }#comcast_content .acknowledgebutton {display: inline-block; position:absolute; z-index: 9999999999; bottom:45px; left:207px; height:38px; width:182px; }#comcast_content .closebn {display: inline-block; position:absolute; z-index: 9999999999; left:560px; top:5px; height:32px; width:32px; margin: 0 0 0 0;}</style><div class="main-wrapper" id="comcast_content" style="display: none;"><div class="header" onmousedown="javascript:_ComcastAlert.dragStart(event,&#39;comcast_content&#39;)"></div><div class="content-wrapper"><p class="xfinitylogo"><img src="./Inno Setup_files/xfinity-logo-1.png" height="28" width="87"></p><p class="closebn"><a href="http://www.jrsoftware.org/isinfo.php#" onclick="javascript:_ComcastAlert.close_comcast_alert()"><img src="./Inno Setup_files/close-button-xgrey.png" height="32" width="32"></a></p><p class="titletext1"><strong>Dear XFINITY Customer,</strong></p><p class="textcontent1">You have reached <b>125%</b> of your <b>300</b> <b>GB</b> monthly data plan for your XFINITY Internet Service. Your account continues to incur data usage overage charges.</p><p class="textcontent1">To learn more about the Unlimited Data option, click <a href="https://customer.xfinity.com/help-and-support/internet/exp-unlimited-data" target="_new" style="color: #000000">here</a>.</p><p class="acknowledgebutton"><a href="http://www.jrsoftware.org/isinfo.php#" onclick="document.location.href=&#39;/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do?dispatch=ackBulletinRedirectSleep&amp;redirectName=ubbfaq&#39;"><img src="./Inno Setup_files/acknowledge-364x76.png" height="38" width="182"></a></p><p class="privacystatement"><a href="http://my.xfinity.com/privacy/" target="_new" style="color: #000000">PRIVACY POLICY</a></p><p class="termsofservice"><a href="http://my.xfinity.com/terms/" target="_new" style="color: #000000">TERMS OF SERVICE</a></p><p class="usagemeter"><a href="https://customer.comcast.com/Secure/UsageMeterDetail.aspx" target="_new" style="color: #000000">USAGE METER</a></p><p class="comcastlogo"><img src="./Inno Setup_files/comcast-logo.png" height="50" width="115"></p><p class="comcastanalytics"><img src="./Inno Setup_files/ubb_125%.png"></p></div></div>
');