Skip to content

Commit 8d588ad

Browse files
committed
Get rid of unnecesarry permissions
1 parent dbe22dc commit 8d588ad

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

js/popup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ const synchronizePageWithUserState = async function() {
3232

3333
const authToken = await Auth.getAuthToken();
3434

35+
document.getElementById('loading').style.display = 'none';
36+
3537
if (authToken == null) {
3638
// User not signed in
3739
signedOutContent.style.display = null;

manifest.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
"https://docs.google.com/document/d/*",
3434
"http://docs.google.com/document/d/*",
3535
"https://linenumbers.app/*",
36-
"*://*.linenumbers.app/*",
37-
"https://accounts.google.com/*",
38-
"https://www.googleapis.com/*",
39-
"*://*.google.com/*",
40-
"tabs",
4136
"storage",
4237
"identity",
4338
"notifications"

popup.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<div id="landing">
2323

2424
<div class="content">
25+
<section id="loading">
26+
Loading...
27+
</section>
28+
2529
<section id="signed-out-content" style="display: none;">
2630
<div class="active-banner">
2731
Line Numbers is active, but some features are not enabled.

0 commit comments

Comments
 (0)