Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top