There is an annoying website that tries to βopen a new tabβ using <div onclick=>instead <a href=>. I wrote a bookmarklet using jQuery, which creates a shell tag <a>and inserts it in <div>around its contents.
<div onclick=>
<a href=>
<a>
<div>
How to remove the onclick source handler?
Not yet indicated:
$('#myId')[0].onclick = null; // remove the inline onclick() event
Disabled, but ...
$("selector").removeAttr("onclick");
I think you already tried
$("selector").unbind("click");
Source: https://habr.com/ru/post/1739489/More articles:What languages ββdoes the while-else type management structure have and how does it work? - programming-languages ββ| fooobar.comMultiselect Form field in PDF - pdf-form.NET: Is there a way to resolve the default namespace in an XPath 1.0 query? - xmlThis page requires an XML namespace declared with the prefix br, but taglibrary - faceletsHow can I display the php source code - fileChecking Facebook cucumbers with Authlogic - how did a test user register as a facebook user? - ruby-on-railsC # Image Deskew - c #Converting integers to bytes - pythonHow to upload image url on sql server and retrieve as grid using ASP.NET? - visual-studioMaven2: How to create a file containing project dependency names? - mavenAll Articles