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.

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top