Open rugk opened 3 years ago
I should be able to define some exclude list to exclude websites from the add-on interferring.
This should be possible in Firefox at least using contentScripts.register()
, although it would require the same changes to your AutomaticSettings library as #30 (see https://github.com/rugk/unicodify/issues/30#issuecomment-823174295).
Or maybe just (also?) a toolbar icon to enable/disable the add-on per website. Like adblockers etc. have.
I am not sure if we would want to clutter up the user’s toolbar with yet another icon, especially since we would not have much of anything to show besides this button. It we were just temporally disabling autocorrection it on the current page, it should be easy to implement. Although if we were permanently disabling them for the whole hostname of the current site, it would likely require the same changes as above. A better option may be to add a checkbox to the context menu, similar to the “Check Spelling”.
Background
from https://github.com/rugk/unicodify/discussions/34
Proposed solution
I should be able to define some exclude list to exclude websites from the add-on interferring. Or maybe just (also?) a toolbar icon to enable/disable the add-on per website. Like adblockers etc. have.
Alternatives
Fix all™ bugs/text problems that add-on's autocompletion may cause. – That would be a strong claim and I'm not sure whether it is achievable though. Technically it most may be fixed by #4, but I guess you can never handle all the cases, where certain characters should not be replaced due to some semantic thing like "On GitHub I do not want --> to be replaced." etc.
Nevertheless, I'd always say, fixing the bugs or providing workarounds for them should be our no. 1 priority. Excluding sites would still be useful though. :slightly_smiling_face:
Additional context