pdf.js/extensions/chromium
Rob Wu 683b511f20 [CRX] Remove obsolete manifest features
In preparation for migrating the Chrome extension to Manifest Version 3,
this patch removes parts of the manifest that are obsolete and/or
unsupported in MV3.

Remove ftp mentions: ftp was dropped from 6 years ago, in Chrome 59.

Remove file_browser_handlers: does not work on Chrome OS according to
https://github.com/mozilla/pdf.js/issues/14161 . MV3 replacement needs
a different manifest key and logic, which will be added later.

Remove content_security_policy: MV3 does not support unsafe-eval CSP,
and PDF.js does not require it. This may result in a mild performance
degradation in PDFs that contain PostScript.

Remove page_action logic: When this logic was originally introduced,
Chrome showed page action buttons in the address bar, which enabled
the extension to display the button on specific PDF viewer tabs only.
In Chrome 49 (2016), pageActions were dropped from the address bar and
put in an UI area that is hidden by default. The user can pin the button
to be unconditionally visible on the toolbar, which is distracting.
Because the UX is no longer serving the original needs, this patch
removes page_action from the manifest.
2024-08-25 20:34:03 +02:00
..
options Give all HTML button elements a type 2024-07-30 18:49:18 +02:00
.eslintrc Remove the eslint-plugin-mozilla dependency 2024-08-08 19:51:20 +02:00
.gitignore Renaming of extensions/chrome folder to extensions/chromium, and small tweak to manifest.json description as per #3600 2013-08-21 18:11:35 +02:00
contentscript.js [CRX] Drop code supporting ancient Chrome versions 2023-07-02 17:23:18 +02:00
contentstyle.css [CRX] Drop code supporting ancient Chrome versions 2023-07-02 17:23:18 +02:00
extension-router.js [CRX] Remove obsolete manifest features 2024-08-25 20:34:03 +02:00
icon16.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon48.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon128.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
manifest.json [CRX] Remove obsolete manifest features 2024-08-25 20:34:03 +02:00
pdfHandler.html [CRX] Remove obsolete manifest features 2024-08-25 20:34:03 +02:00
pdfHandler.js Remove the eslint-plugin-mozilla dependency 2024-08-08 19:51:20 +02:00
preferences_schema.json Remove the enableHighlightEditor preference 2024-08-10 16:00:31 +02:00
preserve-referer.js Remove the eslint-plugin-mozilla dependency 2024-08-08 19:51:20 +02:00
restoretab.html Restore extension tab after reload 2015-08-14 19:00:12 +02:00
restoretab.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
suppress-update.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
telemetry.js [CRX] Drop code supporting ancient Chrome versions 2023-07-02 17:23:18 +02:00