Add missing method to outbrain surrogate script

Related issue:
- https://github.com/uBlockOrigin/uAssets/issues/13834
This commit is contained in:
Raymond Hill 2022-06-25 11:06:05 -04:00
parent 063c3ddf90
commit 313d694040
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 33 additions and 8 deletions

View File

@ -25,14 +25,39 @@
}; };
const obr = {}; const obr = {};
const methods = [ const methods = [
'callClick', 'callLoadMore', 'callRecs', 'callUserZapping', 'callClick',
'callWhatIs', 'cancelRecommendation', 'cancelRecs', 'closeCard', 'callLoadMore',
'closeModal', 'closeTbx', 'errorInjectionHandler', 'getCountOfRecs', 'callRecs',
'getStat', 'imageError', 'manualVideoClicked', 'onOdbReturn', 'callUserZapping',
'onVideoClick', 'pagerLoad', 'recClicked', 'refreshSpecificWidget', 'callWhatIs',
'refreshWidget', 'reloadWidget', 'researchWidget', 'returnedError', 'cancelRecommendation',
'returnedHtmlData', 'returnedIrdData', 'returnedJsonData', 'scrollLoad', 'cancelRecs',
'showDescription', 'showRecInIframe', 'userZappingMessage', 'zappingFormAction' 'closeCard',
'closeModal',
'closeTbx',
'errorInjectionHandler',
'getCountOfRecs',
'getStat',
'imageError',
'manualVideoClicked',
'onOdbReturn',
'onVideoClick',
'pagerLoad',
'recClicked',
'refreshSpecificWidget',
'renderSpaWidgets',
'refreshWidget',
'reloadWidget',
'researchWidget',
'returnedError',
'returnedHtmlData',
'returnedIrdData',
'returnedJsonData',
'scrollLoad',
'showDescription',
'showRecInIframe',
'userZappingMessage',
'zappingFormAction'
]; ];
obr.extern = { obr.extern = {
video: { video: {