mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-26 13:19:49 +07:00
* Ignores archived samples * Uses eslint/recommended rules * Runs prettier and eslint (including --fix) pre-commit via husky * Adds new npm scripts: 'lint', 'lint:fix' and 'prettier' * Does not lint inline js code * Fix all prettier and eslint errors * Add custom prettier rules * Apply custom prettier rules * Update readme to explain how to setup the repo * addressed comments
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
|
"name": "Web Accessible Resources Demo",
|
|
"version": "1.0",
|
|
"manifest_version": 3,
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
"action": {},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://web-accessible-resources-1.glitch.me/*",
|
|
"https://web-accessible-resources-2.glitch.me/*"
|
|
],
|
|
"all_frames": true,
|
|
"js": ["content-script.js"]
|
|
}
|
|
],
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": ["test1.png", "test2.png"],
|
|
"matches": ["https://web-accessible-resources-1.glitch.me/*"]
|
|
},
|
|
{
|
|
"resources": ["test3.png", "test4.png"],
|
|
"matches": ["https://web-accessible-resources-2.glitch.me/*"],
|
|
"use_dynamic_url": true
|
|
}
|
|
],
|
|
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCnCTnUK8jgYTxnQLdtE6QzkZgn3rZv0U1naCx4csdSDqYEBXgW2pR2m/uUIAU1HzAUfkDckqTezyIG1bPw8l5X8FyWfgMQANFgTPXGRNXTmDSqHcqvS7zvuEr0xF12oGLBKa7cdEsaQzdfDWsm5BlwFIPfPXUokaHEGvxPBjrXHQmx+Z4xAyhzNh+v5bFr63lsL0ysS8z4KVKc1G1lcUZnp7Oz9n0pZP9QW0Oei2KCumDqGpqVd249232a0E9TUeQ+lqAxiN4ybzBgUT5al7Yh1nIhGHxPyRnihtHmx+hxupCuhzXeaoKjWiADp+FEK/aPAzvP5ynLDQHelez/eGdF"
|
|
}
|