ssborbis / ContextSearch-web-ext

Search engine manager for modern browsers
326 stars 37 forks source link

Can't open Quick menu at the site #302

Closed bluesxblues closed 2 years ago

bluesxblues commented 3 years ago

I use Chrome and this ContextSearch-web-ext worked at other site.

but can't work at the site, can I fix it ? https://www.komica.org/

ssborbis commented 3 years ago

Looks like that page uses <FRAMESET> in place of <BODY> in the html document. This addon relies on <BODY> to function. The only workaround I can see is to link directly to https://www.komica.org/bbsmenu.html or https://www.komica.org/mainmenu2019.html

This is the first site I've seen in a long time that uses frames. I'll look into a workaround, but for now, there isn't much you can do other than rely on the context menu option instead of the quick menu.

bluesxblues commented 3 years ago

Thank you, I hope it will worked one day.

Beexx commented 2 years ago

Hello, I noticed the same kind of problem on all Firefox addon pages. For instance, I can't open the Quick Menu on the following page : https://addons.mozilla.org/fr/firefox/addon/contextsearch-web-ext/ The HTML source code contains a statement, though. It works on other pages like https://framagit.org/ariasuni/tabcenter-reborn/-/wikis/home.

ssborbis commented 2 years ago

@Beexx Mozilla restricts certain addon features ( namely content scripts ) on some domains by default. It's a security feature. There's a pref in about:config you can change to allow it. I don't remember what it is offhand

(edit) Might be this extensions.webextensions.restrictedDomains

Beexx commented 2 years ago

Thanks @ssborbis, that would explain. I've tried changing extensions.webextensions.restrictedDomains, but it didn't work. There might be another hidden pref somewhere. Anyway, it's not that important, I'll avoid using the extension on Mozilla sites...