Skip to content

Commit

Permalink
Remove permission clipboardWrite as requested by Google
Browse files Browse the repository at this point in the history
  • Loading branch information
tomimick committed Jun 2, 2021
1 parent 59c28e5 commit fbcca7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ var cachedList = {};

// tab changed
chrome.tabs.onActivated.addListener(function(info) {
// seems chrome.tabs.get always causes exception...
return;
chrome.tabs.get(info.tabId, function(tab) {
tab_updated(tab.id);
});
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "Page Size Inspector",
"short_name": "Page Size Inspector",
"description": "Reports page size, cache usage, network requests, load time.",
"version": "1.0.3",
"version": "1.0.4",
"permissions": [
"<all_urls>", "debugger", "webNavigation", "clipboardWrite"
"<all_urls>", "debugger", "webNavigation"
],
"browser_action": {
"default_title": "Page Size Inspector",
Expand Down
1 change: 0 additions & 1 deletion templates/popup.monk
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<button class="right" id="stop" tabindex="-1">Stop Inspector</button>
<label><input id="disablecache" type="checkbox"
checked={{ is_cache_disabled ? 'checked' : '' }} /> Disable cache</label>
<a href="#" id="copy2clipboard">Copy report to clipboard</a>
</div>

{% endif %}
Expand Down

0 comments on commit fbcca7f

Please sign in to comment.