Cross-Origin Request Blocked when loading local file

Firefox 68 contains a security patch which restricts the kinds of files that pages can load (and methods of loading) when you open them from a file:// URL. This change was made to prevent exfiltration of valuable data within reach of a local page, as demonstrated in an available exploit. More info: https://developer.mozilla.org/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp I filed … Read more

React debug Using VSCode and Firefox instead of Chrome

The mentioned plugin has the following github prepository: https://github.com/hbenl/vscode-firefox-debug Also if you look over the documentation better it states to do apply the following configuration over firefox in order to enable the debugging: The changes above can get applied via typing about:config to your browser’s address bar. Afterwards in order to debug just use the … Read more

how to run greasemonkey script before the page content is displayed?

EDIT: This post was created prior to the implementation of the @run-at key in Greasemonkey – as noted by Blaise, from Greasemonkey 0.9.8 you may now have the script executed as soon as the page begins to load. @run-at document-start is described in the wiki as follows: Start is new as of version 0.9.8. The … Read more

Manifest v3 background scripts/service worker on Firefox

Just faced the same problem: Chrome is not happy with background.scripts and insists on using background.service_worker Firefox doesn’t support background.service_worker and wants background.scripts Manifest v3 is developed by Google, so looks like Firefox team haven’t fully implemented it yet. Firefox 109 is the first version to “support” manifest v3 (released on January 17). I was … Read more

What heuristics do browsers use to cache resources not explicitly set to be cachable?

Let’s assume all browsers we are interested in are Internet Explorer 8 or newer (e.g. IE5 has some terrible behaviour with caching headers). There is only ONE standards based way of controlling caching (introduced with HTTP/1.1) – the Cache-Control HTTP header. Since at least 1996 IE has been using an opt-out policy for caching HTTPS … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)