Saturday, 2 February 2019

How to detect which option from hyperlink's right-clicked contextmenu was clicked?

Let's assume I'm using default browser's contextmenu.

  • How can I find out that user for example has chosen "Copy link Location" from right-click contextmenu?
  • How can I overwrite default behaviour after "Copy link Location" action? (e.g. replace the link, but if user choose "Open in a new tab", it'll still be the original link).


from How to detect which option from hyperlink's right-clicked contextmenu was clicked?

No comments:

Post a Comment