CanisLupus / swift-selection-search

Swift Selection Search (SSS) is a simple Firefox add-on that lets you quickly search for some text in a page using your favorite search engines.
https://addons.mozilla.org/firefox/addon/swift-selection-search/
MIT License
213 stars 27 forks source link

I get a popup but can't right click #215

Open wwuutt opened 3 years ago

wwuutt commented 3 years ago

I've been loving and using this add-on for a long time now. It's great for lazy people like me where I can just select a word and with just one more click can search with any search engine, copy and open links in new tabs.

One small issue I've seen is on "some" sites. I will get the popup, but my left clicks do nothing. I can't copy, search or open links. I am guessing it's a site problem. I've used the addon "Absolute Enable Right Click & Copy" on these sites, because they blocked simple fuctions such as text selection or right clicking. "Absolute Enable Right Click & Copy" lets me bypass such stupidness on the sites but sadly "Swift-Selection-Search" does not work on these sites.

example, although in Korean : https://blog.naver.com/a_ra1990/222116481565

A just a minor annoyance. But thank you very much for the great work.

System info:

CanisLupus commented 3 years ago

Hi! Happy to hear that SSS is useful to you! :)

Well, that website seems very aggressive at blocking user interaction. I can confirm that the problem happens here too, but I also had to install "Absolute Enable Right Click & Copy" to be able to select things, so I was not sure if the popup icons don't work because of the site or because I'm using the addon (since the addon causes right/middle mouse click behaviours to not work on SSS's popup either, as it "enables" their normal browser functions).

I still suspect it's the site, though, since each click on a popup icon produces these errors from the website's own JavaScript:

image

I've seen something similar before, and it was caused by the website's code trying to access the clicked thing and finding out it's not part of the original page (to put it in simple terms). As of now, I have no ideas to how this could be solved. If you find another website like this, could you please share it here? It might help narrowing the problem down.

Cheers! Daniel

PS: searching through the right click context menu still works.