Using "@mozilla.org/embedcomp/prompt-service;1" seems to be a common error now with zotero7.0+ (see https://github.com/retorquere/zotero-better-bibtex/issues/2829). As a result, functions such as "Copy Zotero URIs" were no longer working as intended.
I tried following some advice from this thread (https://github.com/jobisoft/quicktext/issues/348) that at some point had a similar problem by replacing
var prompts = Components.classes['@mozilla.org/embedcomp/prompt-service;1'].getService(Components.interfaces.nsIPromptService);
with
var prompts = Services.prompt;
Worked like a charm.
Using "@mozilla.org/embedcomp/prompt-service;1" seems to be a common error now with zotero7.0+ (see https://github.com/retorquere/zotero-better-bibtex/issues/2829). As a result, functions such as "Copy Zotero URIs" were no longer working as intended.
I tried following some advice from this thread (https://github.com/jobisoft/quicktext/issues/348) that at some point had a similar problem by replacing
var prompts = Components.classes['@mozilla.org/embedcomp/prompt-service;1'].getService(Components.interfaces.nsIPromptService);
withvar prompts = Services.prompt;
Worked like a charm.