ea9982d9ea
There is another extension for this already, but it hooks in after the page has already started loading - doing it on the URL change handler is much faster. Change-Id: I442552cbd8bb040df999a1624cafd436f4a7b875 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2430 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
15 lines
298 B
JSON
15 lines
298 B
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "nittredir",
|
|
"version": "1.0",
|
|
"description": "Redirect twitter.com to nitter.net",
|
|
"background": {
|
|
"scripts": ["background.js"],
|
|
"persistent": true
|
|
},
|
|
"permissions": [
|
|
"webRequest",
|
|
"webRequestBlocking",
|
|
"*://twitter.com/*"
|
|
]
|
|
}
|