Skip to content

Commit

Permalink
Merge pull request #90 from DeepDoge/1.7.6
Browse files Browse the repository at this point in the history
Added support for new invidious instances
  • Loading branch information
kodxana authored Jan 10, 2022
2 parents bccbce8 + fde3d7b commit 093deaa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/common/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface SourcePlatform {

export const sourcePlatfromSettings: Record<SourcePlatformName, SourcePlatform> = {
"yewtu.be": {
hostnames: ['yewtu.be'],
hostnames: ['yewtu.be', 'vid.puffyan.us', 'invidio.xamh.de', 'invidious.kavin.rocks'],
htmlQueries: {
mountButtonBefore: '#watch-on-youtube',
videoPlayer: '#player-container video'
Expand Down
16 changes: 11 additions & 5 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,24 @@
"permissions": [
"https://www.youtube.com/",
"https://yewtu.be/",
"https://api.odysee.com/*",
"https://lbry.tv/*",
"https://odysee.com/*",
"https://madiator.com/*",
"https://vid.puffyan.us/",
"https://invidio.xamh.de/",
"https://invidious.kavin.rocks/",
"https://api.odysee.com/",
"https://lbry.tv/",
"https://odysee.com/",
"https://madiator.com/",
"tabs",
"storage"
],
"content_scripts": [
{
"matches": [
"https://www.youtube.com/*",
"https://yewtu.be/*"
"https://yewtu.be/*",
"https://vid.puffyan.us/*",
"https://invidio.xamh.de/*",
"https://invidious.kavin.rocks/*"
],
"js": [
"scripts/ytContent.js"
Expand Down

0 comments on commit 093deaa

Please sign in to comment.