Carbonalyser icon indicating copy to clipboard operation
Carbonalyser copied to clipboard

Add-on Google Chrome / Edge disabled by Google

Open supertanuki opened this issue 2 years ago • 6 comments

In french : l'extension a été désactivée par Google pour la raison suivante :

Règles non respectées : Utilisation des autorisations :
Référence du cas de non-respect du règlement : Purple Potassium Description du cas de non-respect du règlement : les autorisations suivantes sont demandées, mais pas utilisées : storage Solution : supprimez les autorisations ci-dessus Extrait du règlement du programme : Demandez les autorisations nécessaires les plus limitées pour exécuter les fonctionnalités ou les services de votre produit. Ne demandez pas d'autorisations pour des fonctionnalités ou services que vous n'avez pas encore implémentés dans l'intention de préparer votre Produit pour l'avenir.

Or, le storage est utilisé pour stocker les données.

supertanuki avatar Jan 03 '22 16:01 supertanuki

Is it possible to still build the extension for Chrome and offer builds for side loading on GitHub ?

bpresles avatar Jan 20 '22 11:01 bpresles

Yes it is possible to offer some build from github but it requires users to disable addons verification. So it is for developpers/testers not for end users.

AAABBBCCCAAAA avatar Feb 04 '22 20:02 AAABBBCCCAAAA

@AAABBBCCCAAAA Indeed, and that's what I meant. I'd like to sideload the extension on Brave Browser as a developer.

bpresles avatar Feb 09 '22 10:02 bpresles

An example of autobuild with github actions (based on git tags eg tag '1.2.1') is avaliable here. Then the release is avaliable in "release" section.

For chrome you can still get carbonalyser with this method.

@bpresles since brave is chrome derivated you should success a similar way as chrome tutorial please let me know if it works for you.

AAABBBCCCAAAA avatar Mar 01 '22 17:03 AAABBBCCCAAAA

It is not an issue from Google but from your extension. The issue comes from the fact that yes you use the storage https://developer.mozilla.org/fr/docs/Web/API/Web_Storage_API. But the classical one (eg cookie) so the permission storage is not needed. The storage permission is needed for webextension storage.

solution: remove the requested permission. or use webxt storage API

AAABBBCCCAAAA avatar Mar 11 '22 20:03 AAABBBCCCAAAA

Was this handled ? Desactivating the permission request is super easy for someone knowing the code.

hugolpz avatar Oct 06 '22 15:10 hugolpz