Question

Basically the question is in title.

Problem:

Some web sites add classes/ids when you click/hover etc... on it.

Is there a way to prevent this action?

Is there a good way to do that? After long googling I did not find anything that is well done.

Était-ce utile?

La solution

You could use jquery's off to do this:

$("*").off("click").off("mouseover").off("hover");

That will remove practically every mouse event from the page. It would need to be made into an extension if you want to automatically run it on every page.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top