Цитата:
|
потому как пишет что l.element is undefined
|
«BeforeExternalScript
Fired when a script element with a src attribute is encountered.
The script element is available as the element attribute of the UserJSEvent.
...
element
Object, readonly: the script or plug-in element.
All the usual DOM methods are available, such as getAttribute and setAttribute.
Available for BeforeExternalScript»