Java blocking access to EMBED
Click here to try to change class attribute of EMBED element:
document.getElementsByTagName('embed')[0].className = 'green'
On successfull change, background-color of embed should change to green.
With Java enabled this is not possible. With Java disabled all is fine.
Some additional observations
- Creating new property for this element won't work too.
- Changing any attribute with this construct: element.attribute = 'value', won't work too
- Changing attribute with setAttribute WILL work regardless of Java status.
Try with Java enabled