36 votes
Accepted

Can I see if someone is using browser snapshot on my website?

No, as there is no API for detecting screenshots. It's impossible to arbitrarily know what happens outside the browser as that would be a security issue.
grg's user avatar
  • 3,207
22 votes
Accepted

Why do browsers know to lookup the `www` record if DNS query for @ gets NXDOMAIN?

Browsers generally have heuristics built in to add missing www. from domain names, but it isn't something you should rely on: Browsers typically have a setting to turn off this "www fix up."...
Stephen Ostermiller's user avatar
14 votes
Accepted

How can I see what filename my browser is reading when it's on a site?

Your browsers doesn't load any file, it requests a resource which the server then provides at his discretion (lengthy elaboration below). If you type google.com into your browsers toolbar, the ...
Polygnome's user avatar
  • 257
14 votes

How can I see what filename my browser is reading when it's on a site?

The browser isn't looking for a file. It's just asking for a resource. The server then decides what that resource returns. At it's most basic level that "file" is literally just a file. In the case ...
John Conde's user avatar
  • 86.2k
9 votes

When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?

It will not use the browser default font. But rather it will use the default sans-serif font. Since the last font in the font stack is not a specific font. It is a generic name. Some browsers allow ...
marc's user avatar
  • 91
9 votes
Accepted

Prevent browser from caching text file

You have two approaches to this problem. The clean way is to set the headers returned for GET data.txt preventing the browser (or proxy) from storing the response in cache. Using apache, this can ...
Antony Gibbs's user avatar
8 votes

Using multiple A-records for my domain - do web browsers ever try more than one?

Be warned that Windows Vista implements the stupid parts of RFC3484 (i.e. the backporting from IPV6 to IPV4) and will prefer the IP address that shares most prefix bits with the user's IP address ...
Mike Scott's user avatar
  • 2,251
6 votes

Can I omit the domain name for href in the HTML base tag?

No. The href must point to an absolute URI. Relative is not allowed on a base element. This attribute specifies an absolute URI that acts as the base URI for resolving relative URIs. The HTML5 ...
Rob's user avatar
  • 4,623
6 votes
Accepted

DOMContentLoaded vs. 'load' event vs. "Finish"

Many web pages that make requests using JS are never really fully loaded, because they can always request more assets seconds, minutes or even hours later, either to update the page (think like Gmail) ...
Maximillian Laumeister's user avatar
5 votes

Are resized browser windows a real-world use case?

Users almost never resize a window while using your site. It is often possible for the resizing itself to cause problems. This is especially the case when you use JavaScript to calculate and set ...
Stephen Ostermiller's user avatar
4 votes

How can I see what filename my browser is reading when it's on a site?

I'm wondering how I know what file is being rendered. I can eventually guess it accurately on a long enough timeline by simply explicitly calling on that filename in the URL. www.xyz.com/index.html ...
Mike -- No longer here's user avatar
4 votes

When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?

It will resort to the default font of the browser. In this case with the sans-serif specification it would look for the default sans-serif font. I think for Windows this font is Arial, and for Mac it'...
Joel Etherton's user avatar
4 votes

How to decide which browsers to support?

The objective measure is in money: How much does it cost to maintain the browser support vs how much it costs to turn away users because of browser compatibility. Costs of turning away users ...
Stephen Ostermiller's user avatar
4 votes

How can I protect my users' privacy when social share buttons may be pre-fetched?

The buttons themselves don't need to be loaded from the social site at all. For example, both Facebook and Twitter let you simply open a window with a special URL, which shows a "New post" window with ...
user1686's user avatar
  • 349
4 votes

Browser seems to automatically add 'nofollow' to links, even though it's not in the page source

As this is happening across all browsers I'd say it's unlikely a browser extension is doing this. Although still check if it happens with any turned off. Failing that, it may be that the site is ...
Max's user avatar
  • 6,117
3 votes
Accepted

How much recyling CSS makes my website faster?

The only part of that, where the browser would work harder, is having to parse the extra few characters for each selector. Insignificantly so because the majority of the work is done on creating a CSS ...
Rob's user avatar
  • 4,623
3 votes

Why is my site getting requests for URLs converted to lowercase?

These are usually hits from bad bots. Unfortunately, it is very common for bots to attempt to lowercase the entire URL. I have a website with mixed case URLs. I get thousands of hits per day for ...
Stephen Ostermiller's user avatar
3 votes

Google Analytics: how to consolidate browser counts by major version number?

This is not currently possible within Google Analytics, but only takes a few short steps to do in excel. In GA, go to Audience > Technology > Browser & OS. Set the secondary dimension to "...
Jason's user avatar
  • 686
3 votes

Do Google and others care how much CPU/GPU is used by the web browser to render a webpage?

Crawlers don't necessarily take into account CPU but page loading time is a factor that is taken into consideration. If your page takes too long to respond then it will not be indexed and it will have ...
Prinny's user avatar
  • 1,388
3 votes
Accepted

robots meta tag for specific web crawler

<meta name="robots" content="index, follow"> <meta name="googlebot" content="index, follow, noimageindex"> Yes, this will "work" as ...
MrWhite's user avatar
  • 42.7k
3 votes
Accepted

Why do browsers only display .jpg images and never .jpeg ones?

Thia is likely due to the way the CDN is set up. When an object is sent by the web server, the server typically asvisises the "mime type" - a string advising the kind of object - to the ...
davidgo's user avatar
  • 7,784
3 votes
Accepted

Recent Samsung Internet browser update is blocking cookies for "log in" and "add to basket" on my site

Smart Anti Tracking has to be disabled on my Samsung galaxy s10e to make Samsung Internet usable for some standard websites such as BBC. Completely unusable otherwise. I'm surprised there's not more ...
Robert Cochran's user avatar
2 votes

Is posting a small "upgrade your browser" message enough to get users off IE 7 so that they see ads?

Unfortunately there is not much you can do to prevent this as there will always be people in the world who use outmoded technology far beyond its usefulness. You can add a banner block (which should ...
Chris Rutherfurd's user avatar
2 votes

Prevent browser from caching text file

The right way would be to change the Apache configuration (via htaccess or conf file) with the expire headers with very low caching time. Double check if you have access to .htaccess file if not ...
Aakash's user avatar
  • 1,316
2 votes

Firefox remembering telephone number as username

You can do something like this: <input type="text" name="username" autocomplete="username"> <input type="default" name="email" autocomplete="email"> <input type="password" name="...
B. Martin's user avatar
  • 121
2 votes

Firefox remembering telephone number as username

It is generally not possible without reordering your fields or without a hack. Your username field has to be right before your password field in Firefox. I had the same issue but last name instead ...
Nelu's user avatar
  • 121
2 votes
Accepted

is it possible to get a IMAGE from chrome theme.?

You can inspect the HTML web page like any other HTML web page and save any resources that have been downloaded to your computer... Inspect (Ctrl+Shift+I) > Resources > Frames > (newtab) >...
MrWhite's user avatar
  • 42.7k
2 votes
Accepted

Is it possible to change from domains to phrases in the URL bar?

Is it possible to completely change the url like from google.com to Welcom.To.The.Website No, you cannot change the domain (ie. the origin). Presumably you are referring to HTML5's pushState()? From ...
MrWhite's user avatar
  • 42.7k
2 votes

An alternate way to access adsense

I remember back in the day I used my phone to access adsense and I get redirected to the mobile site but I forgot the actual URL to it. The actual URL of the "Low-bandwidth version" is: https://www....
galeksic's user avatar
  • 311
2 votes

Redirecting FTP Browser Requests to HTTP

Redirection in HTTP is done at the HTTP protocol level. FTP has no such concept which means redirection at the protocol level is not possible. You might try to offer a HTML page using FTP which ...
Steffen Ullrich's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible