TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Imtiaz Ali
NA
8
2.4k
display website selective portion in c# application
Sep 27 2016 4:17 PM
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
>
<!-- adsense search -->
<
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
>
<!-- end adsense search -->
</
div
>
<
div
class
=
"search-eot-ad"
id
=
"search-eot-ad"
>
<!-- 350x40 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"
>
<!-- 350x125 ad -->
</
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
>
Reply
Answers (
4
)
Windows 8 Universal App for google widevine video streaming
SQL Lite in windows phone 8.1