Yes you can do this, but unless they have the bit of script you want to block in a separate file, then you're likely to be blocking all the other code which is often required to make the site work!
We're a place where coders share, stay up-to-date and grow their careers.
Can't you block the website's javascript and inject your own? That way you should be able to rewrite whatever you would like, right?
Yes you can do this, but unless they have the bit of script you want to block in a separate file, then you're likely to be blocking all the other code which is often required to make the site work!