drmikecrowe / mbfcext

Media Bias Fact Check extension
https://drmikecrowe.github.io/mbfcext/
MIT License
35 stars 8 forks source link

Rating changes across all windows based off the current active windows rating #24

Closed ColinHebert closed 2 years ago

ColinHebert commented 2 years ago

This is a repeat of #14.

On 3.2.1, the rating is shared between all windows.

In the examples below you might also notice that I'm using another extension as well for ToS;DR. That extension seems to be able to do reporting on the current tab as opposed to the window in focus. The code is available on https://github.com/tosdr/browser-extensions for comparison.

Wikipedia seemingly reported as a "Conspiracy Theory/Pseudo-science" website when out of focus:

Screen Shot 2022-01-15 at 08 55 58

Quackery website seemingly reported as "Least biased" when out of focus:

Screen Shot 2022-01-15 at 08 55 49

.

ColinHebert commented 2 years ago

I am far from knowledgeable in this area, but looking at the differences between this extension and ToS;DR's it seems that the plugin is using "Browser Action" as opposed to "Page Action".

https://stackoverflow.com/questions/44712495/what-are-the-differences-between-page-action-and-browser-action/44713058

https://developer.chrome.com/docs/extensions/reference/browserAction/ https://developer.chrome.com/docs/extensions/reference/pageAction/

drmikecrowe commented 2 years ago

Thanks, let me dig into this and get back with you