ContextSearch-web-ext icon indicating copy to clipboard operation
ContextSearch-web-ext copied to clipboard

Conflict with add-on. Link to it inside.

Open streetwolf opened this issue 7 years ago • 4 comments

The quick menu does not appear on certain sites with the add-on below. An example page is https://www.msn.com/en-us/news/world/mysterious-giant-shark-spotted-in-rare-sighting/ar-BBMaIx3?li=BBnba9K. This issue probably happens on any page that disables right click.

Add-on can be found here... https://addons.mozilla.org/en-US/firefox/user/Absolute-Ex/

streetwolf avatar Aug 20 '18 21:08 streetwolf

using Click -> Right Button for opening the quick menu...

The quick menu works on the web page you linked until I enable 'Absolute Mode' in the addon you provided. 'Absolute Mode' simply removes all event listeners of type ['contextmenu', 'copy', 'cut', 'paste', 'mouseup', 'mousedown', 'keyup', 'keydown', 'drag', 'dragstart', 'select', 'selectstart'].

Not sure there's much I can do about that.

(edit) Using 'Enable Copy' mode causes both the quick menu and context menu to display due to the addon temporarily allowing the context menu, whereas ContextSearch would hide it.

ssborbis avatar Aug 21 '18 01:08 ssborbis

Perhaps you will figure out a way in the future.


Gary


From: ssborbis [email protected] Sent: Monday, August 20, 2018 9:35:35 PM To: ssborbis/ContextSearch-web-ext Cc: Gary; Author Subject: Re: [ssborbis/ContextSearch-web-ext] Conflict with add-on. Link to it inside. (#95)

The quick menu works on the web page you linked until I enable 'Absolute Mode' in the addon you provided. 'Absolute Mode' simply removes all event listeners of type ['contextmenu', 'copy', 'cut', 'paste', 'mouseup', 'mousedown', 'keyup', 'keydown', 'drag', 'dragstart', 'select', 'selectstart'].

Not sure there's much I can do about that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ssborbis/ContextSearch-web-ext/issues/95#issuecomment-414520912, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAZEr2qN-maCooc1YSTzGGu8rzNI5hdfks5uS2PngaJpZM4WEt19.

streetwolf avatar Aug 21 '18 11:08 streetwolf

I've changed event listeners for the quick menu from bubbling to capturing and it seems to have fixed the conflict. I'll have to do plenty of testing to be sure it hasn't caused any other problems. I'll keep you updated.

ssborbis avatar Aug 21 '18 14:08 ssborbis

Welp, that breaks the other addon. Looks like it's one or the other.

ssborbis avatar Aug 21 '18 14:08 ssborbis