aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/content.js b/content.js
index 0dbcb50..e970e79 100644
--- a/content.js
+++ b/content.js
@@ -21,9 +21,6 @@ if (chrome) {
browser = chrome;
}
-var domain = location.hostname
- .split('.')
- .slice(-2)
- .join('.');
+var domain = location.hostname;
browser.runtime.sendMessage({ domain: domain });