Fix extconfpatches
This commit is contained in:
parent
c43b1daa42
commit
c14aa99e5b
@ -504,15 +504,11 @@ const ExtensionConfPatch = [
|
||||
}, {
|
||||
forVersion: '5.0.4',
|
||||
updateFn: (userOptions, defaultOptions) => {
|
||||
try {
|
||||
userOptions.sites['wwww.disneyplus.com'].DOM.player = {
|
||||
... userOptions.sites['wwww.disneyplus.com'].DOM.player,
|
||||
querySelectors: ".btm-media-client-element",
|
||||
useRelativeAncestor: false,
|
||||
videoAncestor: 1
|
||||
}
|
||||
} catch (e) {
|
||||
// do nothing
|
||||
userOptions.sites['www.disneyplus.com'].DOM.player = {
|
||||
... userOptions.sites['www.disneyplus.com'].DOM.player,
|
||||
querySelectors: ".btm-media-client-element",
|
||||
useRelativeAncestor: true,
|
||||
videoAncestor: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user