1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00

this addresses #1052 (corrected)

This commit is contained in:
gorhill 2015-12-12 16:13:00 -05:00
parent 1183bc6a8a
commit 04c6d16e21

View File

@ -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. // 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 // Ref.: https://developer.mozilla.org/en-US/docs/Web/Events/contextmenu