Skip to content

Instantly share code, notes, and snippets.

@binux
Forked from anonymous/index.html
Last active Dec 20, 2017
Embed
What would you like to do?
JS Bin// source http://jsbin.com/zitojijuda
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<form action="https://book.jetblue.com/B6/webqtrip.html" method=POST>
<button type=submit>submit</submit> <br />
</form>
<script id="jsbin-javascript">
const data = {"X-1ItxWO9i-a":"37l2J3dbXxErZHjkhc6koDHVZ12CJnZJqpVyZ1klgF2I=cnhGZ29ZwV=pY0xXUkVWs8VmZuuEqNOWK5D0qgODDVOeFhw5LI3MWZGeWEyF_l158mdmTdCQcyGDt420K56peMxv_bOh_lrDf03qxvBe_rMY12g0_Wke03VtGldfzwxWsfym5It4c8dXsyWAfFk4O=xp7gLFc2B_q5RAX0f0u0II12IhuvI5zW6pcoM=7gxm7y_pbgrULdGD=gBlQDTM7lpW08IZSjxpudLhFIijiYxnb=3p2liDn2reWhwDrD6DRROmTdJ5lVyp_DYEc16EuFUqc0wmJ2UG3vb=ZZyfNCkbnJG1xWy5z7phcoke_Yyvz=SecHREqV9pYjgrz3ppZYgmu0atK6CL29ge_ROjb=i4dgi4VEqZY3ZGZ4ZGujivfbOh0AaZKwsm2HVmztGmGVpX9JGfi4yZi2IEYgLGZukDc5qrOdpWQgu0qdgAWjLpsjiAK2GGR1gXwh3h9ryEn4VeK0LmzTpA3dI0XgVvWYXgc1Ge1HVeufO1GgVhZvL0c=g=24QEZ23Fm5xm9fM4WejmuIHs_ZZZzhLD_DBOq=I5HgJmQFpeKIiXOwbtWj9pMFMR_rkJM166QgVrxDGpc9yfzprEq7Zm70MOcj3vuhdfz8=txqO4nlkpNrZRQude18xEY2LZK3pe3Hypc0CQHVZDQW=pcFBjs2U=ncq4sSMW_ZqkYCp4xZytz89A0TkwufymOw2muDYpF2ipzVleKcJUc0txGlH4yE2XZFlt_vi0TjLmiuytbgiMcoeiqrOZc0i4s7Mmk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V4s=JpB8OmW2dEZZYWLgdgsfdpQ2IAuvspuRopyjkes=x2uRANJhrEnrMOfZg5p2FpcuMpZZkv1hDf54ZX92BWWkOXc=9GDZrGb=iXyryZYfEQ28LWzfVmSdierjMpuH4pGvZac0x58lJhng2m3jrDqiRATvwps8k5qrOfzmyEgrMGcexecjNQEWqbb7yFiCMLs0D=I8G0uryXk23Qq=LWKfptkjGDCDkm7wie3dGpclMEHHVecl2efgd57I2EudxprYy8zlqpQHkZ10LzK8uXI5Z05Yidc16DSvJDkmpm_gVtXh3jMebXDryDWdu4zTk6w5ZA74dmA02h1jfp7MREZFkmztxTqZLt3yypDliXsvih_rMgufy4IgVhcvsfzuyfifyp3HkDuFyZstdG1XGZ_j3sfrpNBd9jbg4_FBVXxgCmK7yQZCyv_rZQ2rsuubd5zVMhz1km25gfzjLGSHpKufuZ3OA5zSkQDg3Eu1Gpc=0gZgLpc8p5Lwj4MBLvQZgpTyppsDYefEa5GgwpYEzWzva6TjMGqpq6I8CprdaecyG5Q23pUldmwdUes0=Zc4pGrddeKeIp28GXz0z19In7Sbk5LhZWGVZZWYEpgHG0z=itXjxwVt6tX=iWcGgss=itXrkEDXZ57W6t08L_ZZrpL79ZYjjpcDyeFYLnsTMjs0iZqd117yB","X-1ItxWO9i-b":"z0bcvz","X-1ItxWO9i-c":"AGNtpXVgAQAA9ZkK2eUXFOOEK86PrtIECO7_wf07BDcn63-tjKwt9QQ79nwu","X-1ItxWO9i-d":"0","X-1ItxWO9i-uniqueStateKey":"APRzpXVgAQAA_1U0jcaZFbQ6fCqUS0qtNcH_2wmwwpjwJrAQ58effP7GKXRs","departureDate":"2018-01-03","destination":"JFK","fareDisplay":"lowest","fareFamily":"LOWESTFARE","flexibleSearch":"TRUE","jbBookerCurrency-flights":"usd","jbBookerCurrency-getaways":"usd","jbBookerSearchType":"flights","journeySpan":"OW","lang":"en","numAdults":"1","numChildren":"0","numInfants":"0","origin":"SFO","pos":"JETBLUE","refundable":"false","roundTripFaresFlag":"false","searchType":"NORMAL","sharedMarket":"false"};
for (const key in data) {
const span = document.createElement('span');
span.textContent = key;
if (!['destination', 'origin', 'departureDate'].includes(key)) {
span.style.display = 'none';
}
document.querySelector('form').appendChild(span);
const input = document.createElement('input');
input.name = key;
input.value = data[key];
if (!['destination', 'origin', 'departureDate'].includes(key)) {
input.type = 'hidden';
}
document.querySelector('form').appendChild(input);
document.querySelector('form').appendChild(document.createElement('br'));
}
</script>
<script id="jsbin-source-javascript" type="text/javascript">const data = {"X-1ItxWO9i-a":"uP-Uz4pp0TM=exw7kEB-B9h=o-CdG4Y47Lj=GRHgRZ28wMliyTAagiGRmvhSzh=zowkGJDMaLwAGI7hKoyVOE9CKV8TYGr5BU5dgP7y=pBFKUyo4uiGpVpY4V8-=C7Cq9BYgVBs=MNNRpglqRSY8ZmR=I2A2ziwfPTfPpgwNfzFcpusRkTPJE0q_M0QcKnMyGbCifhK7VyVBETDEZqKYM9-j1q=pVr0UeLwie9Z=MgwHFwA3VSBjC-MqUBfqRU0pp80iRZq517C8pPx-uB23EcYgjIeY9vKKIiG=xiAhR4fD1pJbf1mTk0CMMjY70PhKe7-UCrCvuzxjV8P3zW3KZwvBI4fmfvh=pio4jWx2alNREro5Xwx2grxcI2bjIa0iRCWUpyxjM72715mqeGcnV4f3znd7VT0=wIY2R5k8e=hRXaw3xwZjUdM=OTQgoL=f1ywCIjRQGbMBE5pYYTypo9pR9yZ=G7K0nhMBoiwjVB23opIpU3IgR3GLowA7MDY79MlU1gYJevE=Yp8jEy3KVT-PJgYNpC3K1LIQUSpjo6lvXrRBE7lPJcpgVpp=19pf90GK1TW=X6mrokhKPFY3MSCY15EUE9a7eDLvRdA3go2KkTG5kdoWzLwMzuYS2rZcEWZ5kPYTG9ppG7hp-IYlIidKPiRqe6ycZgL4znOvCLomR35RIIYq6Yq=rvCPRIWcpwAG1TluE=dykcsyp8pWCTe=oD6cE_lJoTLcaifrJrh=p3bjTvKqzrG=z2AWpTAJPhC3PyVaRBp6XL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hYf1Zw0zae9QA1CcJqE","departureDate":"2018-01-03","destination":"JFK","fareDisplay":"lowest","fareFamily":"LOWESTFARE","flexibleSearch":"TRUE","jbBookerCurrency-flights":"usd","jbBookerCurrency-getaways":"usd","jbBookerSearchType":"flights","journeySpan":"OW","lang":"en","numAdults":"1","numChildren":"0","numInfants":"0","origin":"SFO","pos":"JETBLUE","refundable":"false","roundTripFaresFlag":"false","searchType":"NORMAL","sharedMarket":"false"};
for (const key in data) {
const span = document.createElement('span');
span.textContent = key;
if (!['destination', 'origin', 'departureDate'].includes(key)) {
span.style.display = 'none';
}
document.querySelector('form').appendChild(span);
const input = document.createElement('input');
input.name = key;
input.value = data[key];
if (!['destination', 'origin', 'departureDate'].includes(key)) {
input.type = 'hidden';
}
document.querySelector('form').appendChild(input);
document.querySelector('form').appendChild(document.createElement('br'));
}</script></body>
</html>
const data = {"X-1ItxWO9i-a":"uP-Uz4pp0TM=exw7kEB-B9h=o-CdG4Y47Lj=GRHgRZ28wMliyTAagiGRmvhSzh=zowkGJDMaLwAGI7hKoyVOE9CKV8TYGr5BU5dgP7y=pBFKUyo4uiGpVpY4V8-=C7Cq9BYgVBs=MNNRpglqRSY8ZmR=I2A2ziwfPTfPpgwNfzFcpusRkTPJE0q_M0QcKnMyGbCifhK7VyVBETDEZqKYM9-j1q=pVr0UeLwie9Z=MgwHFwA3VSBjC-MqUBfqRU0pp80iRZq517C8pPx-uB23EcYgjIeY9vKKIiG=xiAhR4fD1pJbf1mTk0CMMjY70PhKe7-UCrCvuzxjV8P3zW3KZwvBI4fmfvh=pio4jWx2alNREro5Xwx2grxcI2bjIa0iRCWUpyxjM72715mqeGcnV4f3znd7VT0=wIY2R5k8e=hRXaw3xwZjUdM=OTQgoL=f1ywCIjRQGbMBE5pYYTypo9pR9yZ=G7K0nhMBoiwjVB23opIpU3IgR3GLowA7MDY79MlU1gYJevE=Yp8jEy3KVT-PJgYNpC3K1LIQUSpjo6lvXrRBE7lPJcpgVpp=19pf90GK1TW=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ozyRSTf-o-M=prF=G98Tkp","X-1ItxWO9i-b":"-dufr1x","X-1ItxWO9i-c":"AJBjAnRgAQAAFxzfKnDYykHQ08eP0Hzq8LlNpzLljMiWryTbPUU4yZdgQx2U","X-1ItxWO9i-d":"0","X-1ItxWO9i-uniqueStateKey":"AItnAnRgAQAApMsMLfbZB2MbrCIUQK27PPMuZCOPRhYf1Zw0zae9QA1CcJqE","departureDate":"2018-01-03","destination":"JFK","fareDisplay":"lowest","fareFamily":"LOWESTFARE","flexibleSearch":"TRUE","jbBookerCurrency-flights":"usd","jbBookerCurrency-getaways":"usd","jbBookerSearchType":"flights","journeySpan":"OW","lang":"en","numAdults":"1","numChildren":"0","numInfants":"0","origin":"SFO","pos":"JETBLUE","refundable":"false","roundTripFaresFlag":"false","searchType":"NORMAL","sharedMarket":"false"};
for (const key in data) {
const span = document.createElement('span');
span.textContent = key;
if (!['destination', 'origin', 'departureDate'].includes(key)) {
span.style.display = 'none';
}
document.querySelector('form').appendChild(span);
const input = document.createElement('input');
input.name = key;
input.value = data[key];
if (!['destination', 'origin', 'departureDate'].includes(key)) {
input.type = 'hidden';
}
document.querySelector('form').appendChild(input);
document.querySelector('form').appendChild(document.createElement('br'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment