RealEnder / signTextLSF

WebExtension implementing crypto.signText() over LSF
1 stars 0 forks source link

Avoid conflicts with other extensions, implementing crypto.signText() #2

Open RealEnder opened 7 years ago

RealEnder commented 7 years ago

There are others, trying to implement it from scratch, like this and this. Experience shows users will try to install all, or at least will have it installed before that. Have to check if we can mark conflicting extensions under some platforms and issue a user message if the class is already implemented somehow.

user890104 commented 7 years ago

It is possible to detect it, at the moment the extension simply skips loading if another piece of code implements the same function.

user890104 commented 7 years ago

We can issue a message if the function is already there, only if this script is loaded after the other one.

In the other case, we can't detect if something overwrites our function. So in that case we can't show a message either.

AFAIK extensions load asyncronously, and I don't know a way to force a specific order of loading.

RealEnder commented 7 years ago

Hm, let's leave that open then, we may think of something "clever" ;)