Optimize website to show reader view in Firefox

As the code stands in May ’20 the trigger function (isProbablyReaderable) scores only p or pre elements and div elements that contain at least one decedent br. A slight oversimplification of the scoring heuristic is: For each element in [‘p’, ‘pre’, ‘div > br’]: If textContent length is > 140 chars, increase score by sqrt(length … Read more

Content Security Policy: Couldn’t parse invalid source chrome-extension

I solved this same problem for myself after recently posting it as a Facebook bug on https://developers.facebook.com/x/bugs/729597157070762/ With FB’s help I noticed the following unwanted browser extensions in Firefox: Searchme, Slick Savings, Amazon Shopping Assistant, and Ebay Shopping Assistant. Turns out these are essentially malware that effected Firefox, Safari, and Chrome on my Mac. They’re … Read more

Change columns size in Firefox Developer Tools

Update: This feature is now available and enabled by default in Firefox 67. You can disable it (are you crazy?) using devtools.netmonitor.features.resizeColumns flag. Original answer: As you probably know there is no option to change the column(s) size (as of FF57), the only option you have is hide/show columns. it’s easy to do, just right-click … Read more

How to view “generated HTML code” in Firefox?

In Firebug’s HTML tab, right-click the root node and select “copy HTML”. Then paste to a text editor. Without Firefox Add-Ons, you could use a bookmarklet like this: javascript: var win = window.open(); win.document.write(‘<html><head><title>Generated HTML of ‘ + location.href + ‘</title></head><pre>’ + document.documentElement.innerHTML.replace(/&/g, ‘&amp;’).replace(/</g, ‘&lt;’) + ‘</pre></html>’); win.document.close(); void 0;

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