SHOW:
|
|
- or go back to the newest paste.
1 | bx = document.body; | |
2 | if(typeof bx!=="undefined"){ | |
3 | var script = document.createElement("script"); | |
4 | - | script.textContent = 'var ex=document.querySelectorAll("source[type]"),lx=ex.length,ix,px=new RegExp("^(audio|video)","i");if(lx!==0){for(ix=0;ix<l;ix++){if(px.test(ex[ix].type)===true){ex[ix].removeAttribute("type");}}}'; |
4 | + | script.textContent = 'var ex=document.querySelectorAll("source[type]"),lx=ex.length,ix,px=new RegExp("^(audio|video)","i");if(lx!==0){for(ix=0;ix<lx;ix++){if(px.test(ex[ix].type)===true){ex[ix].removeAttribute("type");}}}'; |
5 | bx.appendChild(script); | |
6 | } |