Windows Phone 7 Web Browser Only Load HTML - windows-phone-7

Hi i'm using the webbrowser control to download a html webpage. I only need the code, however the webbrowser is also downloading all the extra css/javascript/images linked to from the webpage, which is using up time and bandwidth. So is there a way to make the web browser only download the webpage and nothing else? I have to use this webbrowser because it's logged in to the site, so unfortunately a webclient would not work.
Thanks,
ng93

How is it logged into the site? Could you use GetCookies() API on the browser control and add that to the HttpWebRequest?

Related

Pre-Open Links in a Webpage using Firefox Addon SDK

I want to pre-open HTTPS connections (using a proxy) to every server that is linked in a Webpage, so that when a User clicks on a link the connection to the server has already been established.
Anybody got a hint how to achieve this with Firefox Addon SDK? I think I have to use a content script first to parse the Webpage for the links and then connect to every server using the '#mozilla.org/network/socket-transport-service' class?
use HTML5 rel="prefetch" or rel="preconnect" attribute on the link. IDK if this will work because the addon has to fire before the content is parsed as the DOM to take effect

Custom Web Browser - To Load only my URL - Firefox

I need a Portable web Browser, or any install-able (Windows) Browser, which will only load my URL.
Some thing Like I will have my Shortcut in the desktop, when User click, the Web browser with my URL loads.
Is it possible with portable Firefox to modify, I also need cookies to work along, thats the reason I need to find a custom Web browser.
I just found out a partial solution using
Mozilla Client Customization Kit , we can create a extension which allows to customize firefox upto certain limitations.
https://addons.mozilla.org/en-US/firefox/addon/cck/

How do soundcloud keep music playing on when navigating?

I'm wondering how soundcloud can play music seamlessly when navigating between pages. It's possible that they use Ajax cuz the top bar seems not to reload when navigating but i see the URL changes. Is there any way to load content using Ajax and set the URL to another one?
HTML5 has introduced a new API, called HTML5 History API. You can read about using it here – http://diveintohtml5.info/history.html
This API lets you update browser address bar with JavaScript, so you can change the contents of the page according to the URL. The use of AJAX doesn't really have to do with UI changes, you could check the networks tab in Chrome's developer tools to see that requests are issued with XHR.

Load HTML in Firefox Extension

I want to create a Firefox Extension which will display a webpage. It will be like user should write a something in browser like "about:" or even a button would do ?
How can i load the WebPage in Firefox. The user should have a feel that a webpage is being loaded.
PS: I have javascript and CSS in that Page.
If i cannot make then what changes do i need to make in the web page for that change.
I also want to connect to a server and fetch XML data and want to display process that data and and display it on the page. I am developing this extension as my page is static and HTML/Javascript does not allow cross domain queries. I hope that cross-domain queries are possible if i use extension.
There is Browser XUL object that acts a an standalone browser. You can load any document inside that.

Internet Explorer does not load images cross domain (https)

this is an updated question:
I am trying to include a picture on an external server.
PROBLEM HERE: my home website is using https:// and the picture on the external server is just http. The picture is fine (tested) but IE seems not to allow to access http:// sources when on a https:// website.
I am looking for html or javascript code to allow access for loading pictures from other domain WHEN my home domain is HTTPS and my external domain is HTTP
thanks
Klaus
I'm afraid this is a feature of the browser. When you enter a page like this on IE and some other browsers, it will give the user the option to disallow "unsecured" elements on the page (this includes elements served over HTTP); and will not display them. Your page cannot override the users' action.

Resources