Greetings,
Guys i want to make a speedtest application (web based) that when i run main application it only display the following contents from speedtest.net website.
- <div id="st-flash">
- <div class="dfp-ab-leaderboard" id="dfp-ab-leaderboard"></div>
- <object type="application/x-shockwave-flash" id="speedtest" name="speedtest" data="http://c.speedtest.net/flash/speedtest.swf?v=352081" width="728" height="450"><param name="bgcolor" value="#ffffff"><param name="quality" value="high"><param name="menu" value="false"><param name="allowScriptAccess" value="always"><param name="scale" value="default"><param name="salign" value="lt"><param name="wmode" value="transparent"><param name="flashvars" value="ad=banner&adurl=&showsurvey=1&threads=4&cdnconfig=prod&promo="></object>
- <div id="speed" result_up="0" result_dn="0" result_png="0"></div>
- <script type="text/javascript">
- function test_completed(result_id) {
- var social = document.getElementById('social_result_links');
- if (social) {
- social.style.display = "inline";
- }
- }
- function promo_completed(download, upload, ping) {
- }
- function test_error() {
- window.location.reload();
- }
- var flashvars = {
- ad: "banner",
- adurl: "",
- showsurvey: "1",
- threads: "4",
- cdnconfig: "prod",
- promo: ""
- };
- var params = {
- bgcolor: "#ffffff",
- quality: "high",
- menu: "false",
- allowScriptAccess: "always",
- scale: 'default',
- salign: 'lt',
- wmode: 'transparent'
- };
- var attributes = {
- id: 'speedtest',
- name: 'speedtest'
- };
- if (swfobject.hasFlashPlayerVersion("10.0.0")) {
- // User has flash
- swfobject.embedSWF("http://c.speedtest.net/flash/speedtest.swf?v=352081", "flashcontent", "728", "450", "10.0.0", "flash/expressInstall.swf", flashvars, params, attributes);
- //swfmacmousewheel.registerObject(attributes.id);
- } else {
- if ('true' === 'true') {
- window.location="//beta.speedtest.net" + window.location.search;
- }
- // don't redirect again
- else if ( window.location.search.indexOf("noflash=1") == -1) {
- // User does not have flash
- window.location="/?noflash=1";
- }
- }
- </script>
- <div class="ad-eot" id="ad-eot"></div>
- <div class="dfp-eot-large" id="dfp-eot-large"></div>
- <div class="search-eot" id="search-eot">
- <div class="search-eot-search">
- <h3>Search for More Speed</h3>
-
- <form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
- <div>
- <input type="hidden" name="cx" value="partner-pub-1273248303616359:2003744413">
- <input type="hidden" name="ie" value="UTF-8">
- <input type="text" id="search-eot-input" name="q" size="55" style="border: 1px solid #7e9db9; padding: 2px; background: url("https://www.google.com/cse/static/en/google_custom_search_watermark.gif") left center no-repeat #ffffff;">
- <input type="submit" name="sa" value="Search">
- </div>
- <input name="siteurl" type="hidden" value="www.speedtest.net/"><input name="ref" type="hidden" value=""><input name="ss" type="hidden" value=""></form>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
-
- </div>
- <div class="search-eot-ad" id="search-eot-ad">
-
- </div>
- </div>
- <div class="search-eot" id="bbsearch-eot">
- <div class="search-eot-search">
- </div>
- </div>
- <div class="search-eot" id="ybn-search-eot">
-
- </div>
- <div class="dfp-eot-small" id="dfp-eot-small"></div>
- <div class="in-test-ad"><a><img></a></div>
- <div class="dfp-in-test-ad"></div>
- <div class="search-eot" id="eot-ad-native"><a><img></a></div>
- </div>