Most voted "browser" questions
A browser, also known by the English terms web browser or simply browser, is a computer program that enables its users to interact with virtual Internet documents, also known as web pages, that can be written in languages such as HTML, XHTML or HTML5 with or without languages like CSS and that are hosted on a web server.
Learn more…206 questions
Sort by count of
-
15
votes2
answers567
viewsWhat would CSS Injection Attacks be? Does CSS have security holes?
I was reading a documentation from Mozilla and came across this term CSS Injection Attacks I tried to do some research, but I couldn’t get any information that would make it clear what this type of…
-
14
votes2
answers438
viewsWhat are the possible values in Document.readyState?
I noticed in the documentation of MDN, as in the documentation of W3 (not to be confused with w3schools) loading document still loading Interactive the document has already completed loading and the…
-
13
votes1
answer1570
viewsHow to find out if Javascript is disabled?
How can I check and show the message to the user that the browser Javascript is disabled? For example, it will do something, and if its Javascript is disabled I show this message to it, so that it…
-
13
votes2
answers1173
viewsIs it safe to minify HTML?
Like JS and CSS, HTML can also be "minified": <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">…
-
11
votes3
answers318
viewsIs referring to an element via its id considered bad?
In Javascript, you can refer to any element that has a id (and in some cases a name) using simply an identifier with the same name - without the need to declare it: <div…
-
11
votes3
answers2738
viewsHow does the browser handle infinite loop in Javascript?
I was doing an exercise on loop repetition for in Javascript on Codecademy, however, in the exercise I came across the following warning: codecadeny Be very careful with your syntax - if you write a…
-
9
votes8
answers6579
viewsCheck user browser in PHP
How do I check if the user is using the Internet Explorer browser, version 10 down, so I can display a message for him to update that before entering my site?
-
9
votes4
answers12426
viewsHow do I detect a mobile device in Javascript?
I have a web application with Angularjs, where I need to know if the user is on a mobile device to improve their experience, putting buttons to make calls, send message, etc. I have a directive that…
-
9
votes1
answer84
views$ and $$ are now native browser functions?
When using the console on a Javascript-free page I noticed that when typing $ had the same effect as document.querySelector and while typing $$ had the same effect as document.querySelectorAll.…
-
8
votes1
answer3210
viewsMaximum number and size of cookies
When investigating about cookies and their limitations, I came across this Microsoft page where they talk about Internet Explorer and its capabilities regarding Cookies: Size and number limits of a…
-
8
votes2
answers176
viewsWhat is the forecast to support importing text/html content into modern browsers using the link tag?
Recently I came across the current TAG documentation <link> on the website W3.org - http://www.w3.org/TR/html-imports where you specify that you can import content with mime-type text/html, ie…
-
8
votes1
answer1324
viewsWhat do the security modules commonly used in bank websites do?
Most banks offer some kind of security module that acts on the client side for access to internet banking sites. They are usually made in Java and are usually quite boring to install. What exactly…
-
8
votes4
answers1082
viewsHow to verify that the properties of the window object are native?
I’m using Shim that modifies several of the properties in the window object of browsers. At this point I need to validate whether one of the specified properties is native or a Shim. Because Shim…
-
8
votes2
answers174
viewsGrouped id rendering speed vs class
Some time ago I saw some CSS rendering tests using id be faster than rendering using class, due to the amount of id be often lower in the document than the number of classes (one of the tests you…
-
8
votes1
answer707
viewsWhy use Mutationobserver instead of Mutation Events?
Well the title is the question itself, I know it’s because the Mutation Events will not be continued further, but: What is the difference between one and the other (not how to use, but the technical…
-
7
votes2
answers1181
viewsWhy don’t browsers implement HTTP’s PUT and DELETE protocols?
For some reason the Internet browsers (Chrome, Firefox, IE, ...) decided to only implement the GET and POST methods of the HTTP protocol. Other methods such as PUT and DELETE were left out. Why? My…
-
7
votes1
answer2234
viewsManipulating an open window from the parent window with Javascript
I’m thinking of using the native resource window.open() to create a small web system that is similar to desktop systems (made with windows Forms). My problem is in relation to communication and…
-
7
votes1
answer5161
viewsHow do I send push/php notifications with the site window closed?
From time to time (I think 2014 onwards), facebook has been making browser notifications using the HTML5 Notifications API. The curious thing is that facebook can send notifications, even though…
-
7
votes1
answer88
viewsWhat are Core Web Vitals and how do they work, should I worry about them?
I saw recently that Google will consider the reports of Web Vitals (Lighthouse and Search Console) as a factor of rankings, because these factors can directly interfere with the user’s experience…
-
7
votes2
answers80
viewsWhy does image transparency on the Firefox Button not work?
I have this code that is nothing more than an image with opacity inside a button. Chrome works normally, but Firefox is bugged, as you can see. Follow the code for the image above: button { padding:…
-
6
votes2
answers6008
viewsHow do I make the browser not store image caching with HTML or PHP?
I am creating a web page that is practically only image, every day I change the images of the page but their name remains the same. The browser is storing a lot of cache and each time I update the…
-
6
votes2
answers1442
viewsIs it possible to get some value from the browser that identifies the user’s machine?
Problem I am searching for some way to identify and validate workstations, and would like to get some value from the machine that is not changeable, such as the IP that can change. I tried to get…
-
6
votes3
answers6367
viewsHow to disable Developer Tools options in Chrome
Supposedly Facebook uses a code similar to the one on the link http://snapbuilder.com/code_snippets/snippet.php?sid=174&printable=1 to disable and put a warning to your users. Since the above…
-
6
votes2
answers2164
viewsDifferent session in browser tabs
I’m having problems with a system session. What happens is this: I opened the browser, downloaded the system URL and logged in. At this point the "X" session is created. I opened a new browser tab,…
-
6
votes1
answer1501
viewsWhat makes a popup block?
I’ve noticed that some libraries, such as login with facebook, always use popups for user authentication and, almost always, this popup is not blocked. Usually when it opens with a click event there…
-
6
votes1
answer182
viewsHow to add a bookmarklet with a specific favicon?
I made a little script bookmarklet and I’m trying to add a favicon, but I can’t. It is in this bookmarklet that I want to implement a favicon - keepvid.com // Juntar a url ativa na barra de…
-
6
votes2
answers2941
viewsIs it possible to change the browser zoom with code?
Is there any way to change the browser zoom with JavaScript? When loading the script would like to change the browser zoom to 100%, can be using any framework (Angular, jQuery). I’d really…
-
6
votes2
answers272
viewsFocus() event does not work on the browser console
Whenever I want to test something through the web I end up using the console browser (F12 > Console) to check some behaving, especially in the case of javascript. However, I recently noticed that…
-
6
votes1
answer152
viewsWhat are Evergreen Browsers? Does this philosophy also apply to system development?
I heard that term, Evergreen Browsers in an English lecture on the evolution of browsers etc., but I didn’t quite understand what this concept would be. What would be a browser Evergreen or what is…
-
6
votes1
answer118
viewsIn Devtools is there any way to capture the entire screen of the site, even if it has scroll?
I’m not looking for Chorme extension or screenshot code etc. I just want to know if this developer tool has some native option of this type. I know if you open the DevTools chrome and press…
-
6
votes2
answers61
viewsIs it still recommended to treat IE (Internet Explorer) in Crossbrowser tests?
Today we know that 80% or more of website access is mobile, and that technologies are increasingly advancing in this direction as the PWA and the AMP. Source:…
-
5
votes1
answer504
viewsAjax Locking Page Exchange (Longpolling)
I am trying to complete a connection using Long Polling, where the browser sends a request to the server and awaits a response. To avoid this door being open endlessly, I created a routine so that…
-
5
votes3
answers10221
viewsIdentify browser and its version
I did several searches on different sites but I have not found a definitive solution and that for sure for all browsers I wonder how I can identify the browser and its version using PHP. For…
-
5
votes1
answer777
viewsData formatting works on Chrome and does not work on Internet Explorer, or vice versa, with MVC C#
If I wear the model [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd'/'MM'/'yyyy}")] public DateTime data { get; set; } Works perfectly on I.E. but doesn’t work on Chrome. When…
-
5
votes2
answers2851
viewsCheck if user closed browser
Would there be a way for me to know when a user closes the browser and, before closing, record in the bank that their session is inactive? Or, how can I make some external program that monitors if…
-
5
votes1
answer2773
views"The getPreventDefault() method should no longer be used. Instead, use defaultPrevented"
In some browsers, such as Google Chrome, always when "move" in some element of the page, the following message appears: Event.returnValue is deprecated. Please use the standard…
-
5
votes2
answers1859
viewsIs there a maximum size limit for an HTML page?
Note: This question is not on code optimization. It is known that browsers have a size limit for a URI. There is some kind of limit for requesting/rendering an HTML file? Giving a simple example,…
-
5
votes1
answer307
viewsBlock old browsers
Is there any way to block browsers ancient? To be more direct: do not leave these browsers, such as IE 6 access my website? I did some research on internet and found no source on this subject.…
-
5
votes1
answer11856
viewsIs there any way to save edits made in the Inspect element?
Well, as the question says, is there any way I can save locally in my browser the changes made in inspect element?. So that every time I go to that site, it’s edited like I did? The preferred…
-
5
votes1
answer1122
viewsHow to get 'unique identifier' from browser
In my research I have already found the Object - Navigator, to obtain information relevant to the user’s browser. However I found nothing satisfactory in this Navigator that I can use to generate a…
-
5
votes1
answer76
viewsIs there any way to test a CSS animation by Devtools?
I have this simple animation done in CSS, but I’m having difficulties to "debug" your behavior. Every time I have to go in the code, save, and update in the browser. Is there any way to test a…
-
5
votes1
answer166
viewsCarousel content harms SEO? Is the hidden Carousel content indexed?
I have a question about Carrousel and how its content is indexed or not by crawlers search. First, I believe that most Carousels are not so friendly from the point of view of Accessibility. This…
-
4
votes3
answers3627
viewsHow to Lock a Responsive Page in Portrait(Picture)?
Is there any solution to display the web page always in Portrait(portrait) on mobile devices, even if the user turns to Landscape(landscape) mode? That is, always leave locked in Portrait.
-
4
votes2
answers3494
viewsHow to change the text of the OK button of Alert?
People I need an Alert with the "Confirm" button instead of the "OK" button. how do I do that?
-
4
votes2
answers4463
viewsHow to view a browser’s http request, and the server’s http response
I would like to get this information to study full examples of https protocols with Cookie and Sessions, either through Socket Java, PHP. If possible through the browser itself.
-
4
votes3
answers1195
viewsBlock Internet Explorer
IE has a really bad performance on my website. Do Not Work Rounded Edges on Buttons, and some other defects. Basically, Internet Explorer is being Extinguished by Mozilla Firefox and By Fellow…
-
4
votes1
answer371
viewsAdd current page to browser bookmarks
The code below is working, but the technique is old and probably outdated compared to current versions of browsers: function addFavorite( a, b ) { title = document.title; url = document.location;…
-
4
votes2
answers257
viewsSimulate browser without HTML5 support
I am developing a website that can be opened in a browser without HTML5 support (canvas, etc). I would like to perform tests, just change the User Agent or there is a specific tool?
-
4
votes1
answer768
viewsgetUserMedia has now been discontinued on non https connections?
This morning I updated my Google Chrome, on Ubuntu. When I went to do a test on the part of the system (place) where we took a picture of the webcam, instead of displaying the authorization message…
-
4
votes5
answers6498
viewsClear Browser Cache after Version Upgrade
I have the following scenario: Each month we release new versions for our customers, and a lot of the time our customers call in saying that X functionality isn’t working the way it should. Because…