diff options
| -rw-r--r-- | background.js | 18 | ||||
| -rw-r--r-- | manifest.json | 8 | 
2 files changed, 1 insertions, 25 deletions
| diff --git a/background.js b/background.js index fe1179d..e69de29 100644 --- a/background.js +++ b/background.js @@ -1,18 +0,0 @@ -browser.webRequest.onCompleted.addListener( -	function(details) { -		var filter = browser.webRequest.filterResponseData(details.requestId); - -		filter.onstop = function(event) { -			var data = event.data; - -			// TODO: transform `data` - -			filter.write(data); -			filter.disconnect(); -		}; -	}, -	{ -		urls: ['https://www.netflix.com/watch/*'], -		types: ['main_frame'] -	} -); diff --git a/manifest.json b/manifest.json index 48c14fb..a57b67e 100644 --- a/manifest.json +++ b/manifest.json @@ -21,11 +21,5 @@  	"background": {  		"scripts": ["background.js"] -	}, - -	"permissions": [ -		"webRequest", -		"webRequestBlocking", -		"https://www.netflix.com/watch/*" -	] +	}  } | 
