I have a <embed>
tag in my HTML:
<embed class="flash" src="http://example.com/swf/10/nome.swf">
I wanted to find a way to change the address to http://example.com/swf/5/nome.swf
.
Ignoring flashvars, how can I do this in JavaScript? I need to use this in Tampermonkey.