tagged [browser]

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