Tag:javascript
All the articles with the tag "javascript".
Chrome search for dynamically loaded code
Enabling the Chrome DevTools setting 'Search in anonymous and content scripts' allows searching inside dynamically eval-loaded JavaScript.
How to debug Obsidian plugins
Practical guide to debugging Obsidian plugins using Chrome DevTools, eval-loaded source navigation, TypeScript compilation, and hot reload.
Download all of your data from Facebook. I mean ALL OF IT
Step-by-step method to scrape all Facebook activity log data by month using a JavaScript scroll automation script and the Web ScrapBook Chrome extension.
Download Google Drive file via AJAX ignoring CORS
Using the cors-anywhere proxy to fetch a Google Drive download link via AJAX, bypassing the CORS restriction on the redirect.
JavaScript propertyChanging, propertyChanged, propertyGetting events
A reusable JavaScript helper that wraps DOM element properties with CustomEvent-based propertyChanging, propertyChanged, and propertyGetting events.
WTF! MicrosoftAjax.js vs 'use strict' vs Firefox vs IE
Fixing a Firefox-only strict mode error in MicrosoftAjaxWebForms.js caused by window.event being undefined, requiring a cross-browser property descriptor hack.
'One long debug story' or 'checkbox.onclick'
A multi-hour debugging session reveals why setting checkbox.checked inside an onclick handler requires setTimeout to work correctly.
How to debug JavaScript to find code which modifies your DOM
Using Object.defineProperty to intercept input value assignments and trigger a debugger breakpoint on DOM mutation.
jQuery BlockUI and iframe vs require.js
A require.js plugin that loads dependencies from the top-level window so BlockUI works across iframe popups.
require.js, jQuery and race conditions
Fixing a race condition where require.js and a script tag each load jQuery independently, causing plugin conflicts.