tagged [browser]

Drag and Drop to a hosted Browser control

Drag and Drop to a hosted Browser control I have a WinForms program written on .NET 2 which hosts a webbrowser control and renders asp.net pages from a known server. I would like to be able to drag, s...

9 Sep at 09:51

Identifying the device requesting a response

Identifying the device requesting a response Is it possible for a web server to know which of device request has been received from? For example, can a create a website which shows different contents ...

14 Sep at 13:17

Accessing Websites through a Different Port?

Accessing Websites through a Different Port? I am wanting to access a website from a different port than 80 or 8080. Is this possible? I just want to view the website but through a different port. I d...

7 Oct at 00:38

How can I get the page title in WebBrowser control?

How can I get the page title in WebBrowser control? How can I get the page title in a WebBrowser control when I navigate to different websites? --- xmlns Properties starting with D xaml tag ```

Retrieve data from browser local storage using c#

Retrieve data from browser local storage using c# Is it possible to retrieve data from chrome/firefox local storage using C#?

2 Nov at 15:7

WebBrowser Control in a new thread

WebBrowser Control in a new thread I have a list Uri's that I want "clicked" To achieve this I"m trying to create a new web-browser control per Uri. I create a new thread per Uri. The problem I'm havi...

13 Dec at 01:5

Async/Await implementation of WebBrowser class for .NET

Async/Await implementation of WebBrowser class for .NET Longtime reader, first-time poster here. My goal: To be able to take advantage of async/await while using the WebBrowser class. As the WebBrowse...

Chrome extension id - how to find it

Chrome extension id - how to find it How can I find out what the chrome extension id is for an extension?

Play button in browser

Play button in browser I want to put songs on a web page and have a little play button, like you can see on Last.fm or Pandora. There can be multiple songs listed on the site, and if you start playing...

27 Jan at 13:21

get client time zone from browser

get client time zone from browser Is there a reliable way to get a timezone from client browser? I saw the following links but I want a more robust solution. [Auto detect a time zone with JavaScript](...

1 Mar at 21:27

Where can I find the default timeout settings for all browsers?

Where can I find the default timeout settings for all browsers? I'm looking for some kind of documentation that specifies how much time each browser (IE6/IE7/FF2/FF3, etc) will wait on a request befor...

23 Mar at 16:54

Headless browser for C# (.NET)?

Headless browser for C# (.NET)? I am (was) a Python developer who is building a GUI web scraping application. Recently I've decided to migrate to .NET framework and write the same application in C# (t...

How can I launch a URL in the users default browser from my application?

How can I launch a URL in the users default browser from my application? How can I have a button in my desktop application that causes the user's default browser to launch and display a URL supplied b...

8 May at 17:59

clear cache of browser by command line

clear cache of browser by command line I am working in media domain. I need to check every change in all leading browsers i.e. IE, Firefox, Chrome, Safari and Opera. To clear cache, every time i need ...

Changing the HTML in a WebBrowser before it is displayed to the user?

Changing the HTML in a WebBrowser before it is displayed to the user? I'm using a WebBrowser Control and I'd like to manipulate the HTML Code before it gets displayed in the Control. For example open ...

27 Sep at 14:12

Why is WebBrowser_DocumentCompleted() firing twice?

Why is WebBrowser_DocumentCompleted() firing twice? Well, I'm using a simple webbrowser control to browse to a page, so I need to change the Text of the form while doing so. I'm using - but using a br...

18 Oct at 20:26

Running Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine

Running Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine Like everyone else, I need to test my code on Internet Explorer 6 and Internet Explorer 7. Now Internet Ex...

getting the location of the browser

getting the location of the browser Is it possible for me to detect the geo-location of the place from where I'm browsing through .net or through any means?

15 Nov at 11:40

What is SignalR's browser compatibility?

What is SignalR's browser compatibility? The most I've found online is in the SignalR FAQ, where it is stated that SignalR does not work in IE6/7. However, for legal reasons I need to present to custo...

Setting a cookie in a WebBrowser control

Setting a cookie in a WebBrowser control I am loading a website using a WebBrowser's Navigate function, and I want the browser to load the page with a cookie I've given it. The following code doesn't ...

25 Dec at 17:8

JavaScript: How to find out if the user browser is Chrome?

JavaScript: How to find out if the user browser is Chrome? I need some function returning a boolean value to check if the browser is [Chrome](http://en.wikipedia.org/wiki/Google_Chrome). How do I crea...

Getting the text from a drop-down box

Getting the text from a drop-down box This gets the value of whatever is selected in my dropdown menu. I cannot however find out what property to go after for the text that's currently displayed by th...

9 Jan at 06:32

How to compress an image via Javascript in the browser?

How to compress an image via Javascript in the browser? Is there a way to compress an image (mostly jpeg, png and gif) directly browser-side, before uploading it ? I'm pretty sure JavaScript can do th...

Webbrowser disable all audio output - from online radio to youtube

Webbrowser disable all audio output - from online radio to youtube My webbrowser: XAML: Code behind C#: My que

30 Mar at 16:29

Browser detection

Browser detection I need to separate IE and FF browsers from others it's a pseudo-code : in `protected void Page_Load()` event (think so) no effects :-/ what is IE and FF types?

15 Apr at 22:19

Clearing WebBrowser control's cookies for all sites WITHOUT clearing for IE itself

Clearing WebBrowser control's cookies for all sites WITHOUT clearing for IE itself EDIT: As far as I know, there is no solution to this problem, making it yet another testament to the fact that one sh...

How to force a web browser NOT to cache images

How to force a web browser NOT to cache images ## Background I am writing and using a very simple CGI-based (Perl) content management tool for two pro-bono websites. It provides the website administra...

How to position a div in bottom right corner of a browser?

How to position a div in bottom right corner of a browser? I am trying to place my div with some notes in the position of the screen which will be displayed all time. I used following css for it: It w...

1 Aug at 18:28

Detecting IE11 with C#

Detecting IE11 with C# Before loading a webpage I am detecting browser and version to determine compatibility. So if the browser is less than IE7 I display an incompatible message. Testing the webpage...

22 Aug at 09:35

How do you click a button in a webbrowser control?

How do you click a button in a webbrowser control? For example, using code and no user input, how would I have my program click the "Search" button on google (assuming I've already filled in the searc...

25 Aug at 19:47

How to copy text to the client's clipboard using jQuery?

How to copy text to the client's clipboard using jQuery? The workflow is simple: 1. You click inside a textarea. 2. The text is copied to the client's clipboard. 3. Display notice to the user. How do ...

Disable browser 'Save Password' functionality

Disable browser 'Save Password' functionality One of the joys of working for a government healthcare agency is having to deal with all of the paranoia around dealing with PHI (Protected Health Informa...

Scroll to a postion in a Web Browser using Wpf

Scroll to a postion in a Web Browser using Wpf I cannot seem to programmatcally scroll in WPF in a normal Windows Form I would use the code below but that property does not exist in WPF. Is there an a...

23 Oct at 15:28

How to clear browser cache on browser back button click in MVC4?

How to clear browser cache on browser back button click in MVC4? I know this is a popular question in stackoverflow. I have gone through every same question and I am unable to find the right answer fo...

Detect Safari browser

Detect Safari browser How to detect Safari browser using JavaScript? I have tried code below and it detects not only Safari but also Chrome browser.

10 Dec at 21:12

Recommended website resolution (width and height)?

Recommended website resolution (width and height)? Is there any standard on common website resolution? We are targeting newer monitors, perhaps at least 1280px wide, but the height may varies, and eac...

18 Dec at 03:26

Add browser action button in internet explorer BHO

Add browser action button in internet explorer BHO So. I'm working on a BHO in IE and I want to add a [browser action](http://developer.chrome.com/extensions/browserAction.html) like this: ![enter ima...

What is the maximum possible length of a query string?

What is the maximum possible length of a query string? Is it browser dependent? Also, do different web stacks have different limits on how much data they can get from the request?

5 Feb at 05:49

How to fix Array indexOf() in JavaScript for Internet Explorer browsers

How to fix Array indexOf() in JavaScript for Internet Explorer browsers If you have worked with JavaScript at any length you are aware that Internet Explorer does not implement the ECMAScript function...

Detecting iOS / Android Operating system

Detecting iOS / Android Operating system I've done some research, and this question has come up, but not in the way I intend. I'm building a page for a client that is a QR code landing, which is a pla...

12 Feb at 23:14

Remove Safari/Chrome textinput/textarea glow

Remove Safari/Chrome textinput/textarea glow I am wondering if its possible to remove the default blue and yellow glow when I click on a text input / text area using CSS?

19 Feb at 15:38

Detect iPad users using jQuery?

Detect iPad users using jQuery? Is there a way to detect if the current user is using an iPad using jQuery/JavaScript?

Detecting when Iframe content has loaded (Cross browser)

Detecting when Iframe content has loaded (Cross browser) I'm trying to detect when an iframe and its content have loaded but not having much luck. My application takes some input in text fields in the...

26 Feb at 11:9

Can I change the headers of the HTTP request sent by the browser?

Can I change the headers of the HTTP request sent by the browser? I'm looking into a restful design and would like to use the HTTP methods (`POST`, `GET`, ...) and HTTP headers as much as possible. I ...

7 Mar at 18:45

How do I open alternative webbrowser (Mozilla or Firefox) and show the specific url?

How do I open alternative webbrowser (Mozilla or Firefox) and show the specific url? I know there is built-in Internet explorer, but what I'm looking for is to open Firefox/Mozilla window (run the app...

30 Apr at 13:50

How to set the correct username and password textboxes?

How to set the correct username and password textboxes? I have a login screen with a user name and password but it also has a company field which is kind of like having a domain. The problem is that t...

7 May at 08:51

How to detect my browser version and operating system using JavaScript?

How to detect my browser version and operating system using JavaScript? I have tried using the code below but it only display results in Chrome and Mozilla not working in IE6. ``` txt = "Browser CodeN...

WebBrowser control caching issue

WebBrowser control caching issue I am using the WebBrowser control inside a Windows Form to display a PDF. Whenever the PDF is regenerated, however, the WebBrowser control only displays its local cach...

14 Oct at 08:1

Chrome - ERR_CACHE_MISS

Chrome - ERR_CACHE_MISS Does anybody know what the following Chrome error is? I have had a look online, but have not found a good answer yet. Somebody said it might be related to the latest Chrome upd...

22 Oct at 19:55

JavaScript get clipboard data on paste event (Cross browser)

JavaScript get clipboard data on paste event (Cross browser) How can a web application detect a paste event and retrieve the data to be pasted? I would like to remove HTML content before the text is p...

11 Dec at 12:39