Skip to content

Commit

Permalink
Add "use strict"
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Jul 25, 2019
1 parent 55d8d38 commit b9c0aa8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion background.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use strict";

var requestFilter = {
urls: ["https://*.twitter.com/*"]
},
Expand Down Expand Up @@ -31,4 +33,4 @@ function removeCookie() {
}

chrome.webRequest.onBeforeSendHeaders.addListener(handler, requestFilter, extraInfoSpec);
chrome.runtime.onInstalled.addListener(removeCookie);
chrome.runtime.onInstalled.addListener(removeCookie);

0 comments on commit b9c0aa8

Please sign in to comment.