Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bx = document.body;
- if(typeof bx!=="undefined"){
- var script = document.createElement("script");
- 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");}}}';
- bx.appendChild(script);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement