webbrowser

how to execute javascript in delphi?

I am coding a small app ,in middle i struck at some point where i have to execute javascript to get my data ? in my process ,i have to login to some url and then go to some page and have to get data from that . i done all this with indy idhttp ,i got all info except one column which needs javascript to get value ,then i tried using twe...

Webbrowser control and cookies

Hello! I have a webbrowser control in my program and what I want to do is to delete all the cookies stored in my computer. The problem is that for example I'm in some site, and then I decide I want to delete all the cookies, so I do it by the command "Kill()" but the problem is that the cookies remain and this site still can recognize me...

Webbrowser Silverlight 4 Control and UNC Share

Hi, I need to open documents in the WebBrowser control (SL 4) which is located on a UNC share, i think it's not possible without installing something on the client box... (COM object, physical link...) What do you think ? ...

Copy visible page of a WebBrowser

How can I copy the visible page of a WebBrowser control? Not the HTML, just the text displayed onscreen. ...

Navigation and WebBrowser control

Hi, Can i use XPAth expressions to navigate through DOM elements in WebBrowser control? May be attaching javascript code and use document.evaluate function is right way? Can another activeX browser component(firefox,webkit.net) help me to solve my task? ...

Browser: Cookie lost on refresh

I am experiencing a strange behaviour of my application in Chrome browser (No problem with other browsers). When I refresh a page, the cookie is being sent properly, but intermittently the browser doesn't seem to pass the cookie on some refreshes. This is how I set my cookie: $identifier = / some weird string /; $key = md5(uniqid(rand(...

What web based programming environments exist, on which to learn?

I loved appjet (the programming environment) before it was taken over by Google. What other web based complete programming environments are out there? Which one do you think is best for starting to do real world coding the fastest? I really think coding from your browser will make programming more accessible to the public. Are there ...

Any way to cache WAV files in IE?

I'm seeing an issue with our web application. We have a few wave files which we can play (like ding.wav) and we have attempted to pre-load wave files but using Fiddler we're seeing that the WAV files are never cached like (js and css and image files). We always see an HTTP 200 instead of an HTTP 304. Any ideas on how to tell IE that it...

Is it possible to remember the filename from a fileupload field and then later launch that file via javascript?

I have a HTML file upload field from which I'm reading the file name of the file that the user specifies. The actual contents of the file is never uploaded. At a later stage, is it possible to construct a link using this file name information so that if the user clicks on this link, the original file is launched into a new browser windo...

When using WebBrowser control how do you have the text appear without margins?

I'm using a System.Windows.Forms.WebBrowser control next to textboxes with the left margins of each control aligned on the same X axis. The appearance however is "ugly" because the WebBrowser control inserts a margin/padding around the content of the control. Therefore the text in the WebBrowser control is several pixels to the right of ...

Any general purpose NPAPI plugin to invoke external download tools?

Hi all, I am looking for a general purpose NPAPI plugin that can used to invoke GetRight/FlashGet/OrbitDownloader/InternetDownloadManager/etc. Has anyone written that already? It's like FlashGot for NPAPI browsers. ...

c# save images in webbrowser control without redownloading them from internet

Hi ... is it possible to save images in a webbroswer control directly to harddisk, without needing to download them again from the internet ? lets say i navigate to a website, that has 15images, they are all viewed in my webbrowser, but how can i save them now without the need to download them? hope my question is clear thanks in advanc...

Render web page to picture.

I have the string with URL. For example "http://google.com". Is there are any way to download and render this page to picture file? ("test.jpg") I tried to use WebBrowser control, to download and render picture, but it only works when WebBrowser placed in displayed form. In other ways it's render only black rectangle. But i want to r...

Access browser's page zoom controls with javascript

I want to assign the browser's (IE/FF) page zoom controls (Menu: View/Zoom/Zoom In_Zoom Out) to two large "(+)(-)" icons on the web page so that vision impaired visitors can use these controls conveniently. A lot of searching for a suitable script came up empty so here I am. Any code you know that will do this simply? All the best... ...

Do web browsers always send a trailing slash after a domain name?

Is there consistency and/or a standard on how browsers send a url to a host related to trailing slashes? Meaning, if I type in http://example.com in the address bar of a web browser, is the browser suppose to add a trailing slash (http://example.com/) or not? ...

c# webbrowser | pushed realtime quotes

Hi, I am programmer and share trader. Before I have written a day trading application. Until last week it was possible to fetch realtime quotes from http://aktien.boerse.de/aktien_startseite.php?view=2&order=name%20asc&liste=prime&page=0 . Every time the site was surfed the quotes had changed. The HTML contents could then b...

Can I close a Windows Form from a link in a WebBrowser control?

Okay, I have a WebBrowser control in my VB.NET application that loads a PHP page inside it. On the PHP page I have a 'Log Out' hyperlink. What I'm trying to do is close the VB.NET form when that hyperlink is clicked. Can anyone tell me how to accomplish this - assuming it's even possible? ...

WebBrowser created dynamically doesn't work

I'd like to create WebBrowser control programically in my code and then read page content. I think I'm doing the same thing as designer does but control dynamically created doesn't work (DocumentText return empty string) What I'm doing wrong ?? EDIT-2: Code change after @Axarydax suggestion (working) Main block code: WebBrowser brows...

How can I get a websites favicon when using the WebBrowser control?

I have a Windows Forms WebBrowser control embedded in my application. Is there any way to get a web pages favicon using either the WebBrowser or HtmlDocument API? Even obtaining it from the local file system would suffice. Downloading the icon as a separate operation would be a last resort... Thanks. ...

How to practically customize IE context menu?

I need to add one menu item in IE context menu. It is similar with Google customized context menu "Search Google for xxx" when you right click on IE. I did a research and found that overriding IDocHostUIHandler::ShowContextMenu in a IE BHO can customized IE context menu. The sample project can be found in Popup blocker project published...