Turn off sleep mode
Turn off sleep mode: disable sleep mode and keep your device awake on both Mac and Windows. Override your power saving settings
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"default_locale": "en",
"version": "1.0.1",
"manifest_version": 3,
"background": {
"service_worker": "background.bundle.js",
"type": "module"
},
"action": {
"default_icon": {
"16": "images/16x16.png",
"48": "images/48x48.png",
"64": "images/64x64.png",
"96": "images/96x96.png",
"128": "images/128x128.png"
},
"default_title": "__MSG_appName__",
"default_popup": "./html/index.html"
},
"content_scripts": [
{
"matches": [
"https://*/*"
],
"js": [
"contentscript/index.bundle.js"
],
"css": [
"contentscript/tosm.css"
],
"all_frames": false
}
],
"web_accessible_resources": [
{
"resources": [
"images/sleep-mode-off.png",
"images/sleep-mode-on.png"
],
"matches": [
"<all_urls>"
]
}
],
"permissions": [
"storage",
"power"
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
},
"icons": {
"16": "images/16x16.png",
"48": "images/48x48.png",
"64": "images/64x64.png",
"96": "images/96x96.png",
"128": "images/128x128.png"
}
}