tagged [browser]

Force browser to clear cache

Force browser to clear cache Is there a way I can put some code on my page so when someone visits a site, it clears the browser cache, so they can view the changes? Languages used: ASP.NET, VB.NET, an...

21 Dec at 11:27

Get the size of the screen, current web page and browser window

Get the size of the screen, current web page and browser window How can I get `windowWidth`, `windowHeight`, `pageWidth`, `pageHeight`, `screenWidth`, `screenHeight`, `pageX`, `pageY`, `screenX`, `scr...

AngularJS disable partial caching on dev machine

AngularJS disable partial caching on dev machine I have problem with caching partials in AngularJS. In my HTML page I have: where my partials are loaded. When I change HTML code in my partial, browser...

27 Jan at 00:43

Are the PUT, DELETE, HEAD, etc methods available in most web browsers?

Are the PUT, DELETE, HEAD, etc methods available in most web browsers? I've seen a couple questions around here like [How to debug RESTful services](https://stackoverflow.com/questions/165720/how-to-d...

23 May at 10:31

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

HTML - How do I know when all frames are loaded?

HTML - How do I know when all frames are loaded? I'm using .NET WebBrowser control. How do I know when a web page is fully loaded? I want to know when the browser is not fetching any more data. (The m...

23 Mar at 13:48

How to check whether the images are from cache

How to check whether the images are from cache How to check whether the images are from cache or from server. Since my home page contains 45 images. When I press , want to know whether the images are ...

10 Feb at 14:57

Check if Internet Connection Exists with jQuery?

Check if Internet Connection Exists with jQuery? How do you check if there is an internet connection using jQuery? That way I could have some conditionals saying "use the google cached version of JQue...

How to detect the device orientation using CSS media queries?

How to detect the device orientation using CSS media queries? In JavaScript the orientation mode can be detected using: However, is there a way to detect the orientation using CSS only? Eg. something ...

15 Feb at 10:25

Are there any noted differences in appearance rendering of html and xhtml in Google Chrome from other browsers?

Are there any noted differences in appearance rendering of html and xhtml in Google Chrome from other browsers? Are there any noted differences in appearance rendering of HTML and XHTML in Google Chro...

2 Oct at 19:52

How to set a proxy for Webbrowser Control without effecting the SYSTEM/IE proxy

How to set a proxy for Webbrowser Control without effecting the SYSTEM/IE proxy How can I set a proxy for a Webbrowser Control without setting a proxy for IE? Basically I want my application to use a ...

23 Mar at 11:52

C# How to Click Button automatically via WebBrowser

C# How to Click Button automatically via WebBrowser The Html code of my click page is : I tried this code for clicking: but this not found the button.

30 Mar at 17:29

Silverlight 3 - Can I run Out-of-browser inside another application

Silverlight 3 - Can I run Out-of-browser inside another application The new Silverlight 3 beta includes the ability to run Out-of-Browser applications. The demos so far show this only inside a special...

Stop Visual Studio from launching a new browser window when starting debug?

Stop Visual Studio from launching a new browser window when starting debug? I already have a window open with the web site I'm debugging. I don't need VS to launch another one for me every time I need...

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

How to change the locale in chrome browser

How to change the locale in chrome browser I want to change Accept-language request header to anything I wanted in chrome, is there any extension or plugin where I can do it. I want to be able to chan...

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

'innerText' works in IE, but not in Firefox

'innerText' works in IE, but not in Firefox I have some JavaScript code that works in IE containing the following: However, it seems that the 'innerText' property does not work in Firefox. Is there so...

See :hover state in Chrome Developer Tools

See :hover state in Chrome Developer Tools I want to see the `:hover` style for an anchor I'm hovering on in . In , there's a style dropdown that allows me to select different states for an element. >...

Converting WebBrowser.Document To A Bitmap?

Converting WebBrowser.Document To A Bitmap? Is it possible to draw a WebBrowser.Document to a Bitmap? Basically taking a screenshot of a WebBrowser control (note, this is with a WebBrowser that doesn'...

15 Feb at 17:1

How do I hide javascript code in a webpage?

How do I hide javascript code in a webpage? Is it possible to hide the Javascript code from the html of a webpage, when the source code is viewed through the browsers View Source feature? I know it is...

17 Jul at 22:8

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

Why does HTML think “chucknorris” is a color?

Why does HTML think “chucknorris” is a color? Why do certain random strings produce colors when entered as background colors in HTML? For example, `bgcolor="chucknorris"` produces a : Conversely, `bgc...

6 Jun at 07:37

Javascript - How to extract filename from a file input control

Javascript - How to extract filename from a file input control When a user selects a file in a web page I want to be able to extract just the filename. I did try str.search function but it seems to fa...

14 May at 12:55

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

CSS `height: calc(100vh);` Vs `height: 100vh;`

CSS `height: calc(100vh);` Vs `height: 100vh;` I'm working on a project where the former developer used: I have no way to contact him/her anymore, and I would like to understand what is the difference...

23 Oct at 04:46

How do I force files to open in the browser instead of downloading (PDF)?

How do I force files to open in the browser instead of downloading (PDF)? Is there a way to force PDF files to open in the browser when the option "Display PDF in browser" is unchecked? I tried using ...

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...

How to detect a mobile device using jQuery

How to detect a mobile device using jQuery Is there a way to detect whether or not a user is using a mobile device in jQuery? Something similar to the CSS `@media` attribute? I would like to run a dif...

How to manually send HTTP POST requests from Firefox or Chrome browser

How to manually send HTTP POST requests from Firefox or Chrome browser I want to test some URLs in a web application I'm working on. For that I would like to manually create HTTP POST requests (meanin...

WebSockets vs. Server-Sent events/EventSource

WebSockets vs. Server-Sent events/EventSource Both [WebSockets](http://dev.w3.org/html5/websockets/) and [Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent...

Detect Safari using jQuery

Detect Safari using jQuery Though both are Webkit based browsers, Safari urlencodes quotation marks in the URL while Chrome does not. Therefore I need to distinguish between these two in JS. [jQuery's...

9 Sep at 14:30

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

How to force open links in Chrome not download them?

How to force open links in Chrome not download them? I want to open a link that is .psd format with Photoshop when clicked in Google Chrome like Firefox that asks me to open or download the file. But ...

21 Mar at 12:37

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 ```

WebBrowser Control - Prevent Right-Click

WebBrowser Control - Prevent Right-Click In my application, I have a form that contains a browser control in which I display an SSRS report. I would like to prevent the user from right-clicking in the...

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 ...

How to capture the browser window close event?

How to capture the browser window close event? I want to capture the browser window/tab close event. I have tried the following with jQuery: But it works on form submission as well, which is not what ...

2 Mar at 11:15

How to open a PDF file in an <iframe>?

How to open a PDF file in an ? I want to open the pdf file in an iframe. I am using following code: It is opening fine in Firefox, but it is not opening in IE8. Does anyone know how to make it work al...

2 Dec at 13:53

How to open link in a new tab in HTML?

How to open link in a new tab in HTML? I'm working on an HTML project, and I can't find out how to open a link in a new tab without JavaScript. I already know that `` opens the link in the same tab. A...

11 Mar at 01:2

WebView link click open default browser

WebView link click open default browser Right now I have an app that loads a webview and all the clicks are kept within the app. What I would like to do is when a certain link, for example, [http://ww...

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

Will the IE9 WebBrowser Control Support all of IE9's features, including SVG?

Will the IE9 WebBrowser Control Support all of IE9's features, including SVG? I recently upgraded to IE9-beta. Now, In my .Net (3.5) WinForm application I want to use `WebBrowser` control. So my quest...

Setting a width and height on an A tag

Setting a width and height on an A tag Is it possible to set the width and height in pixels on an anchor tag? I'd like to have the anchor tag to have a background image while retaining the text inside...

27 Jan at 23:1

Why my coreWebView2 which is object of webView2 is null?

Why my coreWebView2 which is object of webView2 is null? I am creating a object of Microsoft.Web.WebView2.WinForm.WebView2 but the sub obect of this coreWebView2 is null ``` Microsoft.Web.WebView2.Win...

How to display a website and a button in one activity?

How to display a website and a button in one activity? I'm making an application that contains button's and those buttons control an embedded browser. My problem is that I want to see the button's and...

2 Mar at 15:48

Prevent browser caching of AJAX call result

Prevent browser caching of AJAX call result It looks like if I load dynamic content using `$.get()`, the result is cached in browser. Adding some random string in QueryString seems to solve this issue...

16 Mar at 06:49

Disabled form inputs do not appear in the request

Disabled form inputs do not appear in the request I have some disabled inputs in a form and I want to send them to a server, but Chrome excludes them from the request. Is there any workaround for this...

7 Jul at 12:35

Browser Link: Failed to invoke return value callback: TypeError: Cannot read property 'files' of null

Browser Link: Failed to invoke return value callback: TypeError: Cannot read property 'files' of null ## Background: Using `Visual Studio 2015`, `ASP.NET Core 1.0` I have created `Web Application` pro...

Can I pass a JavaScript variable to another browser window?

Can I pass a JavaScript variable to another browser window? I have a page which spawns a popup browser window. I have a JavaScript variable in the parent browser window and I would like to pass it to ...

17 Sep at 20:35