Strict Standards: Static function gapiAuthMethod::getMethodName() should not be abstract in /home/zajec/domains/zajec.net/public_html/include/gapi.class.php on line 598
Strict Standards: Static function gapiAuthMethod::getTokenName() should not be abstract in /home/zajec/domains/zajec.net/public_html/include/gapi.class.php on line 605
Warning: Cannot modify header information - headers already sent by (output started at /home/zajec/domains/zajec.net/public_html/include/gapi.class.php:598) in /home/zajec/domains/zajec.net/public_html/modules/TextFiles/controller.php on line 13
Protected EMBED element when Java enabled
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