Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest V3 Update #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# About

This is a fork of: https://github.com/NayamAmarshe/firefox-multi-touch-zoom
This is a fork of: https://github.com/bmarwane/chrome-multi-touch-zoom

I added a simple way to support mouse movement when zoomed-in by pressing SHIFT key and moving the mouse.

I do not plan to actively support this extension.
I just updated the extension to work with manifest v3 as v2 is going to be deprecated soon!

# Installation

- clone this repo or [download the code](https://github.com/bmarwane/chrome-multi-touch-zoom/archive/refs/heads/master.zip)

- clone this repo
- Open the extensions page
- Turn on Developer Mode
- Press 'Load Unpacked' button.
Expand Down
42 changes: 19 additions & 23 deletions extension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "Multi-touch Zoom",
"version": "0.95",
// gecko stores browser specific things, no need for it using chrome
//"applications": {
// "gecko": {
// "id": "{90b5a72e-cdbd-49df-8304-5b5d6ea84a0f}",
// "strict_min_version": "57.0"
// }
//},

"description": "Adds smooth multi-touch zoom that matches the behavior in Safari and Chrome",



"icons": {
"48": "icons/icon-48.png",
"96": "icons/icon-96.png",
"192": "icons/icon-192.png"
},

"content_scripts": [{
},

"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["pinch-zoom.js"],
"run_at": "document_start"
}],

}
],

"permissions": [
"storage",
"debugger"
"storage",
"activeTab"
],

"options_ui": {
"page": "settings.html"
}
}

"action": {
"default_popup": "settings.html"
},

"host_permissions": ["<all_urls>"]
}

Loading