cynber / lemmy-instance-assistant

Browser extension to help make Lemmy & Kbin easier to use
GNU General Public License v3.0
53 stars 1 forks source link

[Feature] Possibility to disable on certain pages? #54

Open russjr08 opened 7 months ago

russjr08 commented 7 months ago

Hi there! Lemmy Instance Assistant is one of my favorite addons, so I thought a general thank you would be a great way to start this.

I was looking to see if it'd be possible to potentially disable Lemmy Instance Assistant on a certain site? I've noticed that on the Photon frontend for Lemmy, I tend to get the "Find in my home instance" banner throughout Photon's UI:

image

Every now and then, there will be two of these banners as well for some reason.

I do see that integration with the various alternative frontends is intended, and I suppose the better solution to this would be to try to resolve the root cause of this bug - but I also know that these frontends tend to be in rapid development which could make it difficult to fix the issue while making sure it stays fixed. Having an option to disable it on a page/domain would at least be a nice stop-gap solution.

For further context, I'm using Firefox 119 on Fedora Linux - if there's any further information I can provide, I'm happy to do so!

cynber commented 7 months ago

Hi there, thank you for taking the time to make an issue! I'll see about adding more granular controls, so users can disable it for each frontend separately. It shouldn't be too hard to do.

In the meantime, if you are primarily using Photon, you can toggle off "Buttons in community sidebar" in the settings. Unfortunately if you are using the main UI as well, this will remove the button from there too.