Skip to content

Commit

Permalink
host vreddit: Require permissions to *.redd.it
Browse files Browse the repository at this point in the history
  • Loading branch information
larsjohnsen committed Sep 30, 2020
1 parent 7306117 commit 0f26afb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chrome/beta/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"https://xkcd.com/*/info.0.json",
"https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/*",
"https://www.googleapis.com/drive/v3/*",
"https://v.redd.it/*/DASHPlaylist.mpd",
"https://*.redd.it/*",
"https://www.flickr.com/services/oembed",

"https://redditenhancementsuite.com/oauth",
Expand Down
2 changes: 1 addition & 1 deletion chrome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"https://xkcd.com/*/info.0.json",
"https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/*",
"https://www.googleapis.com/drive/v3/*",
"https://v.redd.it/*/DASHPlaylist.mpd",
"https://*.redd.it/*",
"https://www.flickr.com/services/oembed",

"https://redditenhancementsuite.com/oauth",
Expand Down
2 changes: 1 addition & 1 deletion firefox/beta/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"https://xkcd.com/*/info.0.json",
"https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/*",
"https://www.googleapis.com/drive/v3/*",
"https://v.redd.it/*/DASHPlaylist.mpd",
"https://*.redd.it/*",
"https://www.flickr.com/services/oembed"
],
"web_accessible_resources": [
Expand Down
2 changes: 1 addition & 1 deletion firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"https://xkcd.com/*/info.0.json",
"https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/*",
"https://www.googleapis.com/drive/v3/*",
"https://v.redd.it/*/DASHPlaylist.mpd",
"https://*.redd.it/*",
"https://www.flickr.com/services/oembed"
],
"web_accessible_resources": [
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/hosts/vreddit.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ajax } from '../../environment';
export default new Host('vreddit', {
name: 'v.redd.it',
domains: ['v.redd.it'],
permissions: ['https://v.redd.it/*/DASHPlaylist.mpd'],
permissions: ['https://*.redd.it/*'],
attribution: false,
options: {
forceReplaceNativeExpando: {
Expand Down

0 comments on commit 0f26afb

Please sign in to comment.