Mercurial > personal > no-gemini
changeset 1:eadd1318ddd6
Add Drive file pages + build script.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Fri, 27 Sep 2024 20:55:42 -0400 |
parents | 4802c0568c26 |
children | e862bd8f7d82 |
files | .hgignore build.ps1 extension/css/drive.css extension/manifest.json |
diffstat | 4 files changed, 11 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Fri Sep 27 20:55:42 2024 -0400 @@ -0,0 +1,2 @@ +syntax: glob +hide-gemini-*.zip
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.ps1 Fri Sep 27 20:55:42 2024 -0400 @@ -0,0 +1,2 @@ +$version = (Get-Content .\extension\manifest.json | ConvertFrom-Json).version +Compress-Archive -Path ".\extension\*" -DestinationPath "hide-gemini-$($version).zip" -Force
--- a/extension/css/drive.css Tue Sep 24 19:26:31 2024 -0400 +++ b/extension/css/drive.css Fri Sep 27 20:55:42 2024 -0400 @@ -1,3 +1,4 @@ -/* top toolbar */ #WWNEkf { +/* top toolbar */ #WWNEkf, +/* in-file toolbar (e.g., opened PDF) */ #viewer-sidekick-button { display: none !important; }
--- a/extension/manifest.json Tue Sep 24 19:26:31 2024 -0400 +++ b/extension/manifest.json Fri Sep 27 20:55:42 2024 -0400 @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Hide Gemini", - "version": "0.1", + "version": "0.2", "icons": { "16": "icons/16.png", "32": "icons/32.png", @@ -21,7 +21,10 @@ }, { "css": ["css/drive.css"], - "matches": ["https://drive.google.com/drive/*"] + "matches": [ + "https://drive.google.com/drive/*", + "https://drive.google.com/file/d/*" + ] }, { "css": ["css/mail.css"],