Skip to content

Instantly share code, notes, and snippets.

@nizaroni
Created May 6, 2013 22:12
Show Gist options
  • Save nizaroni/5528657 to your computer and use it in GitHub Desktop.
Save nizaroni/5528657 to your computer and use it in GitHub Desktop.
Facebook iframe's HTTP response and request data for Download Tab
POST /b/en-US/facebookapps/downloadtab/noscroll/ HTTP/1.1
Host: www.mozilla.org
Connection: keep-alive
Content-Length: 277
Cache-Control: no-cache
Pragma: no-cache
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Origin: https://s-static.ak.facebook.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31
Content-Type: application/x-www-form-urlencoded
Referer: https://s-static.ak.facebook.com/platform/page_proxy.php?v=5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WT_FPC=id=209.91.202.214-3552165232.30249033:lv=1362063144196:ss=1362063117406; __utma=150903082.883572214.1358954594.1367611950.1367873344.24; __utmb=150903082.10.10.1367873344; __utmc=150903082; __utmz=150903082.1367873344.24.5.utmcsr=s-static.ak.facebook.com|utmccn=(referral)|utmcmd=referral|utmcct=/platform/page_proxy.php
signed_request=AbY2mtho7J1c-N-KsjcizK9v4ywZ4PRsdxMLY-6Pobo.eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsImlzc3VlZF9hdCI6MTM2Nzg3NzEyNCwicGFnZSI6eyJpZCI6IjE0Njk2NDQwMDIxIiwibGlrZWQiOnRydWUsImFkbWluIjpmYWxzZX0sInVzZXIiOnsiY291bnRyeSI6InVzIiwibG9jYWxlIjoiZW5fVVMiLCJhZ2UiOnsibWluIjoyMX19fQ
HTTP/1.1 200 OK
Server: Apache
X-Backend-Server: bedrock3.webapp.phx1.mozilla.com
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Date: Mon, 06 May 2013 21:53:13 GMT
Keep-Alive: timeout=5, max=1000
Transfer-Encoding: chunked
Connection: Keep-Alive
X-Cache-Info: not cacheable; request wasn't a GET or HEAD
<!doctype html>
<html class="windows no-js" lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mozilla — Download Firefox — mozilla.org</title>
<!--[if lte IE 8]>
<script src="//mozorg.cdn.mozilla.net/media/js/libs/html5shiv.js"></script>
<![endif]-->
<link rel="stylesheet" media="screen,projection,tv" href="//mozorg.cdn.mozilla.net/media/css/facebookapps_downloadtab-min.css?build=1f1154a" />
<link rel="shortcut icon" href="//mozorg.cdn.mozilla.net/media/img/favicon.ico">
<script src="//mozorg.cdn.mozilla.net/media/js/site-min.js?build=1f1154a"></script>
<script>
var _gaq = _gaq || [];
var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
_gaq.push(['_setAccount', 'UA-36116321-1']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowAnchor', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
var prefix = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www');
ga.src = prefix + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script> </head>
<body id="" class="html-ltr noscroll
">
<div id="strings" data-app-title="Download Firefox"
data-share-caption="Fast, safe and easy to use."
data-share-description="A browser you’ll want to share with your friends."
data-invite-title="Invite friends to Download Firefox"
data-invite-message="invited you to download Firefox, a faster and safer browser."
></div>
<div id="outer-wrapper">
<div id="wrapper">
<header id="masthead">
<a href="#" id="logo">
<img src="//mozorg.cdn.mozilla.net/media/img/facebookapps/downloadtab/header-firefox.png" alt="Firefox for desktop" width="180">
</a>
<div id="progress">
<ol>
<li class="step1">Download</li>
<li class="step2">Share</li>
<li class="step3">Congratulations</li>
</ol>
<div class="ir" role="progressbar" aria-valuenow="1" aria-valuemin="1" aria-valuenow="3">Step 1: Download</div>
</div>
</header>
<div class="theater" id="theater-firefox">
<div class="stage" id="stage">
<div class="scene animated hidden" id="scene1">
<h1>Different by design</h1>
<ul id="features">
<li>Proudly <span>non-profit</span></li>
<li>Innovating <span>for you</span></li>
<li class="last">Fast, flexible, <span>secure</span></li>
</ul>
<div id="download-button-desktop-release" class="download-button">
<noscript>
<div class="download download-dumb">
<h4>Download Firefox — English (US)</h4>
<ul>
<li><a href="https://download.mozilla.org/?product=firefox-20.0&amp;os=win&amp;lang=en-US" class="button-green">Windows</a></li><li><a href="https://download.mozilla.org/?product=firefox-20.0&amp;os=linux&amp;lang=en-US" class="button-green">Linux</a></li><li><a href="https://download.mozilla.org/?product=firefox-20.0&amp;os=osx&amp;lang=en-US" class="button-green">Mac OS X</a></li><li><a href="https://market.android.com/details?id=org.mozilla.firefox" class="button-green">Android</a></li> </ul>
</div>
</noscript>
<div class="unrecognized-download">
<div class="download download-dumb">
<h4>Download Firefox — English (US)</h4>
<ul>
<li><a href="https://download.mozilla.org/?product=firefox-20.0&amp;os=win&amp;lang=en-US" class="button-green">Windows</a></li><li><a href="https://download.mozilla.org/?product=firefox-20.0&amp;os=linux&amp;lang=en-US" class="button-green">Linux</a></li><li><a href="https://download.mozilla.org/?product=firefox-20.0&amp;os=osx&amp;lang=en-US" class="button-green">Mac OS X</a></li><li><a href="https://market.android.com/details?id=org.mozilla.firefox" class="button-green">Android</a></li> </ul>
</div>
</div>
<p class="unsupported-download">
Your system doesn&#39;t meet the &lt;a href=&#34;/en-US/firefox/20.0/system-requirements/&#34;&gt;requirements&lt;/a&gt; to run Firefox.
</p>
<ul class="download-list">
<li class="os_windows">
<a class="download-link"
href="https://download.mozilla.org/?product=firefox-20.0&amp;os=win&amp;lang=en-US">
<span class="download-content">
<strong class="download-title">Firefox</strong>
<span class="download-subtitle">Free Download</span>
<span class="download-lang">English (US)</span>
<span class="download-platform">Windows</span>
</span>
</a>
</li>
<li class="os_linux">
<a class="download-link"
href="https://download.mozilla.org/?product=firefox-20.0&amp;os=linux&amp;lang=en-US">
<span class="download-content">
<strong class="download-title">Firefox</strong>
<span class="download-subtitle">Free Download</span>
<span class="download-lang">English (US)</span>
<span class="download-platform">Linux</span>
</span>
</a>
</li>
<li class="os_osx">
<a class="download-link"
href="https://download.mozilla.org/?product=firefox-20.0&amp;os=osx&amp;lang=en-US">
<span class="download-content">
<strong class="download-title">Firefox</strong>
<span class="download-subtitle">Free Download</span>
<span class="download-lang">English (US)</span>
<span class="download-platform">Mac OS X</span>
</span>
</a>
</li>
<li class="os_android">
<a class="download-link"
href="https://market.android.com/details?id=org.mozilla.firefox">
<span class="download-content">
<strong class="download-title">&lt;span&gt;Firefox&lt;/span&gt; for Android</strong>
<span class="download-subtitle">Get it free on Google Play</span>
</span>
</a>
</li>
</ul>
<small class="download-other os_android">
<a href="/en-US/firefox/mobile/platforms">Supported Devices</a> |
<a href="/en-US/mobile/notes">What’s New</a> |
<a href="/en-US/legal/privacy/firefox.html">Privacy</a>
</small>
<small class="download-other os_linux os_osx os_windows">
<a href="/en-US/firefox/all">Systems &amp;amp; Languages</a> |
<a href="/en-US/firefox/notes">What’s New</a> |
<a href="/en-US/legal/privacy/firefox.html">Privacy</a>
</small>
</div>
</div><!-- /#scene1 -->
<div class="scene animated hidden" id="scene2">
<h2>Thanks for downloading Firefox</h2>
<p class="message">As a non-profit, we’re free to deliver continuous innovation to meet your browsing needs. Discover a new and faster Web.</p>
<ol class="installation">
<li id="install1">
<span class="install-win">Start the process by clicking Run.</span>
Your download should begin automatically. If not, <a id="direct-download-link" href="#download_url">click here</a>. It could take a few minutes, but it’s worth the wait.
</li>
<li id="install2">
<span class="install-osx">When prompted, drag the Firefox icon onto the image of your Applications folder.</span>
<span class="install-win">Click Run to launch the Mozilla Firefox setup wizard. Then, just follow the steps (we’ve made the process as painless as possible).</span>
</li>
<li id="install3">
<span class="install-osx">Drag the Firefox icon from the Applications folder into the dock. Then, just click on Firefox whenever you want to use the Web!</span>
<span class="install-win">Now you’re ready to leap boldly into a new era of Web surfing. Double-click on the Firefox icon whenever you want to go online.</span>
</li>
</ol>
<a id="button" class="button js-share" href="#">Tell friends about Firefox</a>
</div><!-- /#scene2 -->
<div class="scene animated hidden" id="scene3">
<h2>Congratulations!</h2>
<p class="message">You’re now part of a global community helping us build a brighter future for the Web.</p>
<p class="message facepile">&nbsp;</p>
<div id="slider-container">
<ul id="slider">
<li>
<h3 class="single-line">Love Firefox? Become one of our 14 million fans.</h3>
<img src="//mozorg.cdn.mozilla.net/media/img/facebookapps/downloadtab/icon_like_with_txt.png" width="133" height="42" alt="Like icon" class="like-txt"/>
</li>
<li class="visuallyhidden">
<h3>Facebook Messenger for Firefox</h3>
<p>Keep up with friends wherever you go on the Web.</p>
<a class="button" href="https://addons.mozilla.org/en-US/firefox/addon/facebook-messenger/" target="_top">Turn on Messenger</a>
</li>
<li class="visuallyhidden">
<h3>Become a Firefox Affiliate</h3>
<p>Get the tools you need to share your love of Firefox.</p>
<a class="button" href="https://www.facebook.com/Firefox/app_373528039377278" target="_top">Learn more</a>
</li>
<li class="visuallyhidden">
<h3>Friends tell friends to download Firefox</h3>
<p>Invite friends to download a faster and safer browser.</p>
<a class="button js-invite" href="#">Invite friends</a>
</li>
</ul>
<button class="ir prev">Previous</button>
<button class="ir next">Next</button>
</div><!-- /#slider-container -->
</div><!-- /#scene3 -->
</div><!-- /#stage -->
</div><!-- /#theater-firefox -->
</div><!-- close #wrapper -->
</div><!-- close #outer-wrapper -->
<!--[if IE 9]>
<script src="//mozorg.cdn.mozilla.net/media/js/libs/matchMedia.js"></script>
<![endif]-->
<script src="//mozorg.cdn.mozilla.net/media/js/common-resp-min.js?build=1f1154a"></script>
<div id="init-data"
data-app-id="152684894884181"
data-page-namespace="Firefox"
data-active-scene=""
data-tab-redirect-path="/b/en-US/facebookapps/tab_redirect/"
data-share-image-path="//mozorg.cdn.mozilla.net/media/img/facebookapps/downloadtab/sharing-image.jpg"
data-is-dev="false"
></div>
<div id="fb-root"></div>
<script src="//mozorg.cdn.mozilla.net/media/js/facebookapps_downloadtab-min.js?build=1f1154a"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment