I need to go on holiday more often, if people come up with smart ideas like HTML overlays while I am away. Kudos to Dan Glazman and Laurent Jouanneau of Disruptive Innovations (obviously a wise hiring, Dan :-).
- Require that the script have a specific name, e.g.”HTMLoverlays.js”
- Specify a correct “type” attribute and then abuse the deprecated “language” attribute (assuming this works in common browsers), e.g. language=”HTMLOverlays”.
- Put a magic value inside the <script> tag, e.g. <script src=”…” …>HTMLOverlay</script>. This content should be ignored by compliant UAs if the <script> has a src attribute.
- Use a <link> tag with a special “rel” to provide an alternate link to the script; the UA matches up the two filenames and ignores the script.
Any more ideas for solving this problem?