When it is impossible to programmatically copy selected textgetSelection() does not always return the text value or coordinates of the entire selectionOct 2720Oct 2720
Accessing secured Google Cloud functions from the browserMaking HTTP requests from browser extensions to Cloud functions requiring authenticationOct 129Oct 129
Position of the browser window on the screenHow to determine coordinates of the visible piece of the browser window on the screenOct 714Oct 714
Converting styled SVG markup to imagesCombine SVG images and character in a new SVG image, style and save as a PNG image with needed dimensionsSep 2814Sep 2814
Novel alternative to setTimeout()Why it is important to interrupt long tasks or chained microtasks and how to do itSep 2513Sep 2513
How to copy the HTML of a web page composed of custom elementsHow to compare two DOMs including multiple shadow roots and slotsSep 2116Sep 2116
How to execute JavaScript modules in the browser consoleNo need to copy and paste huge pieces of codeSep 214Sep 214
Intercept XMLHttpRequest responses by overriding prototype propertiesIntercept XMLHttpRequest responses and modify values in response bodies before they reach the web pageSep 159Sep 159
getHTML() — A Superior Alternative to innerHTMLinnerHTML vs getHMTL(). When modern getHTML() is more suitable and how it should be used?Sep 136Sep 136
How to retrieve all shadow roots of a web pageThe only way to extract closed shadow roots defined with declarative shadow DOMSep 514Sep 514