[jQuery] Remove JS if statement from other script
How possible is it to remove ONLY part of a script, specifically an if
statement from another script? We have a script that is in the header
of our document, and it screws up a few of our pages, so I don't want
to delete it, since it is needed for some pages, but for specific
pages, I would like it to not execute the if statement.
Is this possible?