How to properly invalidate an HTML5 Cache Manifest for online/offline web apps?

I think I’ve got this figured out: if there’s an error in one’s cache-manifest (say, a referenced file does not exist), then Firefox completely will stop processing anything applicationCache related. Meaning, it won’t update anything in your cache, including your cached cache-manifest. To uncover that this was the issue, I borrowed some code from Mozilla … Read more

Firefox invalidate dns cache [closed]

DNS caching occurs at multiple levels: Application asks local system, which asks locally configured resolving DNS server, which asks authoritative DNS servers. Caching by Application varies. I’ve found for Firefox that quitting and restarting works. The relevant settings in about:config are network.dnsCacheEntries and network.dnsCacheExpiration, which can be set to 0 in order to disable caching. … Read more

How to access the subdomain of an IP address in the browser? [closed]

All browsers will return an error for this. The reason is that subdomains are part of the DNS (Domain Name Service) system, where IP addresses are related to the underlying IP protocol. The best way to think of this relationship is that domains (including subdomains) are human-readable labels which DNS then allows you to point … Read more

Firefox and Chrome slow on localhost; known fix doesn’t work on Windows 7

Turns out if you uncomment the 127.0.0.1 line in the hosts file, Chrome goes back to its snappy self on localhost URLs. # localhost name resolution is handled within DNS itself. 127.0.0.1 localhost The hosts file is typically at C:\WINDOWS\system32\drivers\etc\hosts. To edit it in Win7, you’ll need to run Notepad as administrator.

Firefox and SSL: sec_error_unknown_issuer

Just had the same problem with a Comodo Wildcard SSL cert. After reading the docs the solution is to ensure you include the certificate chain file they send you in your config i.e. SSLCertificateChainFile /etc/ssl/crt/yourSERVERNAME.ca-bundle Full details on Comodo site

Programmatically Install Certificate into Mozilla

Here is an alternative way that doesn’t override the existing certificates: [bash fragment for linux systems] certificateFile=”MyCa.cert.pem” certificateName=”MyCA Name” for certDB in $(find ~/.mozilla* ~/.thunderbird -name “cert8.db”) do certDir=$(dirname ${certDB}); #log “mozilla certificate” “install ‘${certificateName}’ in ${certDir}” certutil -A -n “${certificateName}” -t “TCu,Cuw,Tuw” -i ${certificateFile} -d ${certDir} done You may find certutil in the libnss3-tools … Read more

How can I simulate mobile devices and debug in Firefox Browser? [closed]

You can use tools own browser (Firefox, IE, Chrome…) to debug your JavaScript. As for resizing, Firefox/Chrome has own resources accessible via Ctrl + Shift + I OR F12. Going tab “style editor” and clicking “adaptive/responsive design” icon. Old Firefox versions New Firefox/Firebug Chrome *Another way is to install an addon like “Web Developer”

Multiple Firefox Versions on Same PC

Yes. Download and install them in seperate directories. Then, launch each one individually with the -p flag to set up different profiles for each version (or at least one for testing). Then, after you have two seperate profiles, create an icon for each on your desktop. Right click on the icon and select properties. In … Read more