sergei97k / 1click-screenshot

Entire page Screenshot extension for Google Chrome. I'm developing open source extension for Google Chrome. All extension are free for use. Let's make Chrome great again!
https://www.1ce.org
ISC License
0 stars 0 forks source link

Problem with Mozilla Firefox #4

Open sergei97k opened 6 years ago

sergei97k commented 6 years ago

When I try to integrate with Firefox - I got this error:

Reading manifest: Error processing optional_permissions.0: Value "desktopCapture" must either: must either [be one of ["clipboardRead", "clipboardWrite", "geolocation", "idle", "notifications"], be one of ["bookmarks"], be one of ["find"], be one of ["history"], be one of ["activeTab", "tabs", "tabHide"], be one of ["browserSettings"], be one of ["cookies"], be one of ["topSites"], be one of ["webNavigation"], or be one of ["webRequest", "webRequestBlocking"]], or must either [be one of [""], or must either [match the pattern /^(https?|wss?|file|ftp|*):\/\/(*|*.[^/]+|[^/]+)\/.$/, or match the pattern /^file:\/\/\/.$/]] Reading manifest: Error processing offline_enabled: An unexpected property was found in the WebExtension manifest.

Perhaps this is the problem with the incorrect work of the extension.

sergei97k commented 6 years ago

Analyzed the problem. The problem is not just the file manifest.json. The problem is that chrome.tabs API is used. In order to fix this, you need to rewrite all the logic associated with the chrome API on this one.