This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| web:js [2016/04/09 16:38] – [iFrames] Bernard Condrau | web:js [2026/09/25 15:13] (current) – [Modify an elements value in an iFrame] Bernard Condrau | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Javascript ====== | ====== Javascript ====== | ||
| + | |||
| + | ==== Minifiers ==== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ==== Find highest z-index on page in browser ==== | ||
| + | * If an unexpected element is blocking your screen, you can find the highest z-index value currently in use. Press F12, go to the Console tab, paste this code, and press Enter:< | ||
| + | ...Array.from(document.querySelectorAll(' | ||
| + | .map(el => parseFloat(window.getComputedStyle(el).zIndex)) | ||
| + | .filter(z => !isNaN(z)) | ||
| + | ); | ||
| + | console.log(' | ||
| + | </ | ||
| + | * To bypass the warning, type allow pasting directly into the Chrome console and press Enter, then paste your code again. | ||
| ==== Modify an elements value in an iFrame ==== | ==== Modify an elements value in an iFrame ==== | ||
| Line 27: | Line 44: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | |||
| + | ==== Crypto ==== | ||
| + | * [[https:// | ||
| + | |||
| + | ==== Mouse / Touch detection ==== | ||
| + | * google "how to detect in browser whether device has mouse capability" | ||
| + | * [[https:// | ||