Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netflix.com #135052

Merged
merged 10 commits into from
Nov 25, 2022
4 changes: 4 additions & 0 deletions BaseFilter/sections/general_extensions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ kat.*,kickass.*,kickass2.*,kickasstorrents.*,kat2.*,kattracker.*,thekat.*,thekic
!
!
!
! https://github.com/AdguardTeam/AdguardFilters/pull/135052/
netflix.com#%#(() => { var ReplaceMap = {adBreaks: [], adState: null, currentAdBreak: 'undefined'}; Object.defineProperty = new Proxy(Object.defineProperty, { apply: (target, thisArg, ArgsList) => { var Original = Reflect.apply(target, thisArg, ArgsList); if (ArgsList[1] == 'getAdBreaks' || ArgsList[1] == 'getAdsDisplayStringParams') { return Original[ArgsList[1]] = function() {}; } else if (ArgsList[1] == 'adBreaks' || ArgsList[1] == 'currentAdBreak' || typeof Original['adBreaks'] !== 'undefined') { for (var [key, value] of Object.entries(Original)) { if (typeof ReplaceMap[key] !== 'undefined' && ReplaceMap[key] !== 'undefined') { Original[key] = ReplaceMap[key]; } else if (typeof ReplaceMap[key] !== 'undefined' && ReplaceMap[key] === 'undefined') { Original[key] = undefined; } } return Original; } else { return Original; }}})})()
netflix.com#%#//scriptlet('set-constant', 'netflix.appContext.state.model.models.truths.data.isAdsPlan', 'false')
netflix.com#%#//scriptlet('set-constant', 'netflix.appContext.state.model.models.playerModel.data.config.core.initParams.enableAdPlaygraphs', 'false')
! https://github.com/AdguardTeam/AdguardFilters/issues/135665
nolive.me#%#//scriptlet('prevent-window-open')
! https://github.com/AdguardTeam/AdguardFilters/issues/135293
Expand Down