resize images in Github
After dragging and dropping, the image size is adjusted accordingly in Github issue or pull request.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "0.1",
"manifest_version": 2,
"name": "resize images in Github",
"description": "After dragging and dropping, the image size is adjusted accordingly in Github issue or pull request.",
"icons": {
"16": "icons/16.png",
"32": "icons/32.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"background": {
"scripts": [
"background.js"
],
"persistent": false
},
"content_scripts": [
{
"matches": [
"https://github.com/*/*/issues/*",
"https://github.com/*/*/pull/*"
],
"js": [
"lib/jquery-3.4.1.min.js",
"content.js"
]
}
],
"permissions": [
"tabs",
"https://github.com/*/*/issues/*",
"https://github.com/*/*/pull/*"
],
"content_security_policy": "script-src 'self'; object-src 'self'"
}