| Index: lib/options.js |
| =================================================================== |
| --- a/lib/options.js |
| +++ b/lib/options.js |
| @@ -19,7 +19,6 @@ |
| "use strict"; |
| -const {getDecodedHostname} = require("./url"); |
| const {checkWhitelisted} = require("./whitelisting"); |
| const info = require("../buildtools/info"); |
| @@ -214,7 +213,7 @@ |
| action: "showPageOptions", |
| args: [ |
| { |
| - host: getDecodedHostname(currentPage.url).replace(/^www\./, ""), |
| + host: currentPage.url.hostname.replace(/^www\./, ""), |
|
Manish Jethani
2018/05/06 18:37:13
Should we also display the encoded hostname in the
Sebastian Noack
2018/05/06 18:47:40
Whatever we do here, it will be inconsistent with
Manish Jethani
2018/05/07 17:03:45
I remember when I was testing ABP on Firefox for A
|
| whitelisted: !!checkWhitelisted(currentPage) |
| } |
| ] |