mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Mirror of https://github.com/zotero/zotero.git
As of Firefox 153.3.0esr, Services.scriptloader refuses jar:file: and file: URIs unless allowUnsafeURL is passed (Mozilla bug 1974213), so no plugin loads: bootstrap.js fails with "Trying to load untrusted URI", then "Plugin ... is missing bootstrap method 'startup'". - Pass allowUnsafeURL when loading a plugin's bootstrap.js and prefs.js, and preference pane scripts - Give plugins a Services.scriptloader that allows it for URIs within the plugin itself, since plugins commonly load their own scripts from their XPI with loadSubScript(). A load without a target still goes into the plugin scope, as a direct call would. Add a test that installs a fixture plugin that loads a script from its XPI and sets a default pref. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| app | ||
| chrome | ||
| defaults/preferences | ||
| document-worker@8fb70af400 | ||
| js-build | ||
| note-editor@acec74d09b | ||
| reader@df215c6033 | ||
| resource | ||
| scripts | ||
| scss | ||
| styles@dff7452b24 | ||
| test | ||
| translators@60f2d542ff | ||
| types/gecko | ||
| .babelrc | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| chrome.manifest | ||
| CLAUDE.md | ||
| CONTRIBUTING.md | ||
| COPYING | ||
| eslint.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| update.rdf | ||
| version | ||
Zotero
Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.
For more information on how to use this source code, see the Zotero documentation.