Fix extconfpatches

This commit is contained in:
Tamius Han 2021-06-13 02:18:47 +02:00
parent c43b1daa42
commit c14aa99e5b

View File

@ -504,15 +504,11 @@ const ExtensionConfPatch = [
}, { }, {
forVersion: '5.0.4', forVersion: '5.0.4',
updateFn: (userOptions, defaultOptions) => { updateFn: (userOptions, defaultOptions) => {
try { userOptions.sites['www.disneyplus.com'].DOM.player = {
userOptions.sites['wwww.disneyplus.com'].DOM.player = { ... userOptions.sites['www.disneyplus.com'].DOM.player,
... userOptions.sites['wwww.disneyplus.com'].DOM.player, querySelectors: ".btm-media-client-element",
querySelectors: ".btm-media-client-element", useRelativeAncestor: true,
useRelativeAncestor: false, videoAncestor: 1
videoAncestor: 1
}
} catch (e) {
// do nothing
} }
} }
} }