JSFiddle - React, Tailwind, and code Playground

wbb_v3-Sign in (xmlhttprequest instead of the HTMLFormElement.prototype trick)

by dledle2

HTML

wbb_v3-Sign in (xmlhttprequest instead of the HTMLFormElement.prototype trick)

CSS

javascript:eval(unescape(""));

javascript:eval(unescape("javascript: \/* wbb_try2p *\/ \r\n\/* javascript: try { .... *\/ \r\ntry { \/*  var dumyVar1 = ServerData.toSource()  *\/\r\n  \/* var dummyVar2 = top.document.forms[0].autofocus.parentNode; *\/\r\n  var dummyVar2 = top.document.forms[0].autofocus.parentNode;\r\n  \/* if ( top.document.forms[0].autofocus.parentNode)  *\/\r\n\r\n\r\n\r\n\r\n\/*\r\n  if (top.document.forms[0]) {\r\n        alert(\'yes element exists\');\r\n        \r\n          ****START COMMENT*** \/\/if (top.document.forms[0].hideonline) ****END COMMENT***\r\n         if (1)\r\n         {\r\n             alert(\'yes sub-element 1 exists\');\r\n         }\r\n        else\r\n        {\r\n             alert(\'no, sub-element 1 does not exist\');\r\n         }\r\n\r\n  }\r\n  else\r\n  {\r\n     alert(\'no, element does not exist\');\r\n  }\r\n\r\n\r\n*\/\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  \/* if (top.document.forms[0]) {} else {   *\/\r\n \/*\r\n if (1) {} else {\r\n    top.document.location.href = \"https:\/\/www.warez-bb.org\/login.php\";\r\n  }\r\n  *\/\r\n\r\n\r\n\r\n\r\n\r\n} catch (e) {    top.document.location.href = \'https:\/\/www.warez-bb.org\/login.php\';\r\n\r\n\/*           my new code is actually able to handle the main login page  *\/ \/*            instead of the first login failure page   *\/\r\n  \/* alert(e); *\/\r\n}\r\n\r\n\/* var myPPFT;   *\/\r\n\/* myPPFT = top.document.forms[0].authenticity_token.value;   *\/\r\n\/*no random number needed i think on this phpBB login form   *\/\r\n\r\n\r\n\/* myPPFT = myArray1[2].toString();  *\/\r\n\/*  alert (myPPFT);   *\/\r\nfunction get2post_ver2(u, t) {\r\n  var p = u.split(\'?\')[0];\r\n  p = \"https:\/\/login.live.com\/ppsecure\/post.srf?wa=wsignin1.0&rpsnv=12&ct=1401507407&rver=6.4.6456.0&wp=MBI&wreply=http:\/\/mail.live.com\/JA\/&lc=1033&id=64855&mkt=en-us&cbcxt=mai&snsc=1&bk=1401507408&uaid=ae7391fdaadc47ecae6036efa398a10e\";\r\n  p =...

JavaScript

javascript:/* wbb_try2p */ 
/* javascript: try { .... */ 
try { /*  var dumyVar1 = ServerData.toSource()  */
  /* var dummyVar2 = top.document.forms[0].autofocus.parentNode; */
  var dummyVar2 = top.document.forms[0].autofocus.parentNode;
  /* if ( top.document.forms[0].autofocus.parentNode)  */




/*
  if (top.document.forms[0]) {
        alert('yes element exists');
        
          ****START COMMENT*** //if (top.document.forms[0].hideonline) ****END COMMENT***
         if (1)
         {
             alert('yes sub-element 1 exists');
         }
        else
        {
             alert('no, sub-element 1 does not exist');
         }

  }
  else
  {
     alert('no, element does not exist');
  }


*/







  /* if (top.document.forms[0]) {} else {   */
 /*
 if (1) {} else {
    top.document.location.href = "https://www.warez-bb.org/login.php";
  }
  */





} catch (e) {    top.document.location.href = 'https://www.warez-bb.org/login.php';

/*           my new code is actually able to handle the main login page  */ /*            instead of the first login failure page   */
  /* alert(e); */
}

/* var myPPFT;   */
/* myPPFT = top.document.forms[0].authenticity_token.value;   */
/*no random number needed i think on this phpBB login form   */


/* myPPFT = myArray1[2].toString();  */
/*  alert (myPPFT);   */
function get2post_ver2(u, t) {
  var p = u.split('?')[0];
  p = "https://login.live.com/ppsecure/post.srf?wa=wsignin1.0&rpsnv=12&ct=1401507407&rver=6.4.6456.0&wp=MBI&wreply=http://mail.live.com/JA/&lc=1033&id=64855&mkt=en-us&cbcxt=mai&snsc=1&bk=1401507408&uaid=ae7391fdaadc47ecae6036efa398a10e";
  p = "https://www.pivotaltracker.com/dashboard";
  p = "https://www.warez-bb.org/login.php";
  /* var p = ServerData['urlPost'].toString(); /*  var p =  'https://login.live.com/ppsecure/post.srf';  */
  /*  i still don't know the minimum vars to send to end up getting redirected to inbox instead of account settings screen  */

  var q = u.split('?')[1].split('&');
 ...