From 53720f9c7e6eb5c878dd430d3f78aa5711c1e1eb Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 12 Dec 2015 16:13:00 -0500 Subject: [PATCH] this addresses #1143 --- src/js/contentscript-end.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/js/contentscript-end.js b/src/js/contentscript-end.js index 1f41b8f8c..e2993b607 100644 --- a/src/js/contentscript-end.js +++ b/src/js/contentscript-end.js @@ -958,10 +958,12 @@ var uBlockCollapser = (function() { /******************************************************************************/ /******************************************************************************/ -// To send mouse coordinates to context menu handler, as the chrome API fails +// To send mouse coordinates to main process, as the chrome API fails // to provide the mouse position to context menu listeners. -// This could be inserted in its own content script, but it's so simple that -// I feel it's not worth the overhead. + +// https://github.com/chrisaljoudi/uBlock/issues/1143 +// Also, find a link under the mouse, to try to avoid confusing new tabs +// as nuisance popups. // Ref.: https://developer.mozilla.org/en-US/docs/Web/Events/contextmenu