Skip to content

Commit

Permalink
modify permission for only https
Browse files Browse the repository at this point in the history
  • Loading branch information
madneal committed Oct 3, 2017
1 parent 262c834 commit d839e98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"permissions": [
"tabs",
"http://*/*",
"https://*/*"
],
"browser_action": {
Expand Down
3 changes: 1 addition & 2 deletions scripts/widget.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
let mainDiv = document.querySelector('.main')
const loadIcon = document.querySelector('.load')
const exportBtn = document.querySelector('.export')
const MEDIUM_IMG_CDN = 'https://cdn-images-1.medium.com/max/'

document.querySelector('.export').addEventListener('click', function () {
createLoadForm()
Expand All @@ -13,8 +14,6 @@ document.querySelector('.copy').addEventListener('click', function () {
copyToClipboard(value);
})

const MEDIUM_IMG_CDN = 'https://cdn-images-1.medium.com/max/'

function createLoadForm() {
let shadow = document.createElement('div')
shadow.id = 'shadow'
Expand Down

0 comments on commit d839e98

Please sign in to comment.