mirror of
https://github.com/Carbon-for-F1TV/Carbon-for-F1TV.git
synced 2026-11-11 01:10:09 +01:00
As of February 2025, F1TV started blocking Firefox, even though it works fine. This spoofs the User-Agent to bypass the restriction. It only affects requests to F1TV and does not modify other websites.
43 lines
1008 B
JSON
43 lines
1008 B
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Carbon for F1TV",
|
|
"description": "Enhance your F1TV experience.",
|
|
"version": "0.1000.1000",
|
|
"icons": {
|
|
"16": "icon/16.png",
|
|
"48": "icon/48.png",
|
|
"128": "icon/128.png",
|
|
"512": "icon/512.png"
|
|
},
|
|
"permissions": [
|
|
"webRequest",
|
|
"webRequestBlocking",
|
|
"https://f1tv.formula1.com/*"
|
|
],
|
|
"background": {
|
|
"scripts": ["background_firefox.js"]
|
|
},
|
|
"content_scripts":[
|
|
{
|
|
"matches":[
|
|
"https://f1tv.formula1.com/*"
|
|
],
|
|
"js": ["load_firefox.js"]
|
|
}
|
|
],
|
|
"browser_action": {
|
|
"default_popup": "popup.html",
|
|
"default_icon": {
|
|
"16": "icon/16.png",
|
|
"48": "icon/48.png",
|
|
"128": "icon/128.png",
|
|
"512": "icon/512.png"
|
|
}
|
|
},
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "carbon-for-f1tv@carbon-for-f1tv"
|
|
}
|
|
}
|
|
}
|