javascripttodefeatTOS 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. This is a list of a bunch of javascript & instructions to bypass restrictions on websites to use their service.
  2. Usually you execute by going into the console on your web browser, and just pasting the following in and hitting
  3. 'enter'
  4. The goal here is that you shouldn't have to agree to a legal contract to enjoy the world wide web,
  5. and its resources: these javascript snippets do NOT constitute consent, but they might constitute something like
  6. trespass.
  7. Freshii:
  8. var _request = new XMLHttpRequest();
  9. var url = 'https://n63.network-auth.com/WiFi/hi/I2Zcpb_/grant?continue_url=CONTINUE_URL_PLACEHOLDER';
  10. _request.open('HEAD', window.location, true);
  11. _request.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
  12. _request.onreadystatechange = function() {
  13. if (_request.readyState === 4) {
  14. var continue_url = _request.getResponseHeader('Continue-Url');
  15. window.location.href = url.replace('CONTINUE_URL_PLACEHOLDER', continue_url);
  16. };
  17. };
  18. _request.send(null);
  19. Super8:
  20. 1)
  21. showerror= function showerror(){
  22. var tmpStr;
  23. var ind_eq;
  24. var urlStr = "";
  25. if(document.terms.accept.checked == false){
  26. document.terms.accept.checked=1;
  27. }
  28. tmpStr = document.terms.redirecturl.value;
  29. if(tmpStr=="") {
  30. tmpStr = parent.document.URL.toString();
  31. ind_eq = tmpStr.indexOf("=");
  32. if(ind_eq > 0) {
  33. document.terms.redirecturl.value=tmpStr.substring(ind_eq+1);
  34. }
  35. }
  36. document.terms.action="/cgi-bin/login";
  37. document.terms.submit();
  38. }
  39. 2) put password in
  40. 3) click enter.
  41. tim hortons:
  42. revealLanding()
  43. or
  44. go to http://timhortonswifi.com/cp/tdl4/Connecting_en.asp?ValidConnection=Y
  45. or
  46. function validate(state) {
  47. return true;
  48. }
  49. $(".switcher").click(function () {
  50. console.log("Tac is Checked");
  51. $("p").remove("#my-error-message-container");
  52. $(".content1").fadeOut();
  53. $(".content3").delay(450).fadeIn();
  54. return true;
  55. });
  56. tbpl library:
  57. $('input.requires-tou').enable(); document.getElementById('connect').click();
  58. thunder bay public wifi:
  59. no javascript per se: just go to
  60. "https://n119.network-auth.com/Free-Tbaytel-WiF/hi/zMsg6dl/grant?continue_url=http://www.tbaytel.com"
  61. (the zMsg6dl may be generated on the page)
  62. greyhound:
  63. 1) anonConnect=function(){return true};
  64. 2) then hit connect
  65. 3) anonConnect=function(){return true};
  66. 4) enter in fake email address (spartacus@anonymous.com)
  67. 5) then hit connect
  68. AT&T (at least greyhound)
  69. document.getElementById('account_submit').click();
  70. McDonalds:
  71. document.mcdconnect.submit();
  72. A&W
  73. ((optional)
  74. 1) javascript:
  75. toggle_visibility('agreementBtn');
  76. )
  77. 2) goto
  78. https://n61.network-auth.com/splash/grant?continue_url=http%3A%2F%2Fwww.aw.ca
  79. https://n231.network-auth.com/splash/grant?continue_url=http%3A%2F%2Fwww.aw.ca
  80. maybe nNNN is needed?
  81. Regina RQHR
  82. submitAction();
  83. Safeway:
  84. document.getElementById("ctl00_ContentPlaceHolder1_Button1").click()
  85. SaskTel myWifi:
  86. freethewifipls / 8letters
  87. boston pizza, fort francis:
  88. showerror= function showerror(){
  89. var tmpStr;
  90. var ind_eq;
  91. var urlStr = "";
  92. if(document.terms.accept.checked == false){
  93. document.terms.accept.checked=true;
  94. }
  95. tmpStr = document.terms.redirecturl.value;
  96. if(tmpStr=="") {
  97. tmpStr = parent.document.URL.toString();
  98. ind_eq = tmpStr.indexOf("=");
  99. if(ind_eq > 0) {
  100. document.terms.redirecturl.value=tmpStr.substring(ind_eq+1);
  101. }
  102. }
  103. document.terms.action="/cgi-bin/login";
  104. document.terms.submit();
  105. }