mirror of
https://github.com/gorhill/uBlock.git
synced 2025-01-31 12:11:36 +01:00
This commit is contained in:
parent
f638e6af53
commit
4d8ccfdc05
@ -30,6 +30,11 @@ if match:
|
|||||||
firefox_manifest['version'] = match.group(1) + builttype
|
firefox_manifest['version'] = match.group(1) + builttype
|
||||||
else:
|
else:
|
||||||
firefox_manifest['version'] = version
|
firefox_manifest['version'] = version
|
||||||
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=1459007
|
||||||
|
# By design Firefox opens the sidebar with new installation of
|
||||||
|
# uBO when sidebar_action is present in the manifest.
|
||||||
|
# Remove sidebarAction support for stable release of uBO.
|
||||||
|
del firefox_manifest['sidebar_action']
|
||||||
|
|
||||||
with open(firefox_manifest_file, 'w') as f2:
|
with open(firefox_manifest_file, 'w') as f2:
|
||||||
json.dump(firefox_manifest, f2, indent=2, separators=(',', ': '), sort_keys=True)
|
json.dump(firefox_manifest, f2, indent=2, separators=(',', ': '), sort_keys=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user