Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
web:js [2026/01/22 12:45] – [Mouse / Touch detection] Bernard Condrauweb:js [2026/09/25 15:13] (current) – [Modify an elements value in an iFrame] Bernard Condrau
Line 7: Line 7:
   * [[https://www.digitalocean.com/community/tools/minify#top|JavaScript Minify Tool (Digital Ocean)]]   * [[https://www.digitalocean.com/community/tools/minify#top|JavaScript Minify Tool (Digital Ocean)]]
   * [[https://www.minifier.org/|Minify JS / CSS]]   * [[https://www.minifier.org/|Minify JS / CSS]]
 +
 +==== 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:<code>const highestZ = Math.max(
 +  ...Array.from(document.querySelectorAll('*'))
 +    .map(el => parseFloat(window.getComputedStyle(el).zIndex))
 +    .filter(z => !isNaN(z))
 +);
 +console.log('Highest z-index on this page:', highestZ);
 +</code>
 +  * 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 ====