tagged [browser]

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 do I disable text selection with CSS or JavaScript?

How do I disable text selection with CSS or JavaScript? I am making a HTML/CSS/jQuery gallery, with several pages. I indeed have a "next" button, which is a simple link with a jQuery click listener. T...

30 May at 20:25

Targeting only Firefox with CSS

Targeting only Firefox with CSS Using conditional comments it is easy to target Internet Explorer with browser-specific CSS rules: Sometimes it is the Gecko engine (Firefox) that misbehaves. That is, ...

3 Oct at 15:43

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

Check if user is using IE

Check if user is using IE I am calling a function like the one below by click on divs with a certain class. Is there a way I can check when starting the function if a user is using Internet Explorer a...

Edit and replay XHR chrome/firefox etc?

Edit and replay XHR chrome/firefox etc? I have been looking for a way to alter a `XHR request` made in my browser and then replay it again. Say I have a complete `POST` request done in my browser, and...

How to get rendered html (processed by Javascript) in WebBrowser control?

How to get rendered html (processed by Javascript) in WebBrowser control? I have an `ASP.NET` page and some custom class that fetches a specified webpage and returns that page body back. ``` protected...

26 Apr at 22:14

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

JavaScript file not updating no matter what I do

JavaScript file not updating no matter what I do I have an external JavaScript file and whether in FireFox or Chrome, whether all browsing data is cleared, it will NOT update no matter what. I believe...

16 Oct at 23:0

How can I stop the browser back button using JavaScript?

How can I stop the browser back button using JavaScript? I am doing an online quiz application in PHP. I want to restrict the user from going back in an exam. I have tried the following script, but it...

14 Dec at 22:53

Certain elements display smaller in Safari on Mac?

Certain elements display smaller in Safari on Mac? After fiddling around with an issue I am having I have come to this conclusion: my list Elements are displaying smaller in Safari on my Macbook than ...

23 May at 12:1

How can I hide select options with JavaScript? (Cross browser)

How can I hide select options with JavaScript? (Cross browser) This should work: It works in Firefox, but not Chrome (and probably not in IE, not tested). A more interesting example: ``` Hide me v...

9 Dec at 14:10

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

Stylesheet not updating when I refresh my site

Stylesheet not updating when I refresh my site I am creating a website, but when I made changes to the stylesheet on my site, and I refreshed the site, none of the changes were there. I tried to use t...

5 Jul at 13:56

How do I uniquely identify computers visiting my web site?

How do I uniquely identify computers visiting my web site? I need to figure out a way uniquely identify each computer which visits the web site I am creating. Does anybody have any advice on how to ac...

7 Jul at 19:1

How do I force a browser window to always be on top and in focus

How do I force a browser window to always be on top and in focus Is there a way to force a browser window to always be on top and in focus? I am working on a project that I need to have the browser wi...

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

C# WebBrowser control -- Get Document Elements After AJAX?

C# WebBrowser control -- Get Document Elements After AJAX? I'm writing an application that uses the WebBrowser control to view web content that can change with AJAX that adds new content/elements. I c...

11 Mar at 19:32

Correct MIME Type for favicon.ico?

Correct MIME Type for favicon.ico? According to the (IANA), all .ico file falls under the MIME type `image/vnd.microsoft.icon`. ([Source](http://www.iana.org/assignments/media-types/image/vnd.microsof...

29 Aug at 08:10

BrowserLink tooling doesn't work with ASP.NET Core 2.1?

BrowserLink tooling doesn't work with ASP.NET Core 2.1? Since upgrading to ASP.NET Core 2.1 inside Visual Studio 2017 BrowserLink no longer works. If I use the base "ASP.NET Core Web Application" temp...

How to find out which JavaScript events fired?

How to find out which JavaScript events fired? I have a select list: When I select `Closed` the page reloads. In this case it shows closed tickets (instead of opened). It works fine when I do it manua...

How can I read Chrome Cache files?

How can I read Chrome Cache files? A forum I frequent was down today, and upon restoration, I discovered that the last two days of forum posting had been rolled back completely. Needless to say, I'd l...

26 May at 03: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

Relative positioning in Safari

Relative positioning in Safari It has to be simple, here's my CSS: I

14 Nov at 20:43

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