CanvasBlocker
CanvasBlocker copied to clipboard
Vk.com works incorrect
Description
When using the extension, vk.com (social network) doesn't work correctly, an exception occurs in the JS code and some functions stop working, for example, new messages stop arriving.
Expected Behavior
Correct site working, including receiving messages, sending messages, playing videos.
Current Behavior
After some time of using the site, messages stop loading (although there are notification sounds), it's impossible to send a new message (although it's physically sent, the message doesn't appear in the list), problems with video playback and opening photos. There are a lot of JS exceptions in the browser console.
Browser Console Log
Uncaught (in promise) DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught (in promise) DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Ae https://st1-87.vk.com/js/cmodules/bundles/common.3780e02528df59519a5c.js?9b568a7ea2a8d38c6a78:1
updateTyping https://st1-87.vk.com/js/cmodules/web/imn.96833fb6511aedcb3ab3.js?a0cc82e97d6a624c39b7d14bca77dab6:1
ac https://st1-87.vk.com/js/cmodules/web/imn.96833fb6511aedcb3ab3.js?a0cc82e97d6a624c39b7d14bca77dab6:1
o https://st1-87.vk.com/js/cmodules/web/imn.96833fb6511aedcb3ab3.js?a0cc82e97d6a624c39b7d14bca77dab6:1
(Async: promise callback)
nc https://st1-87.vk.com/js/cmodules/web/imn.96833fb6511aedcb3ab3.js?a0cc82e97d6a624c39b7d14bca77dab6:1
onEvents https://st1-87.vk.com/js/cmodules/web/imn.96833fb6511aedcb3ab3.js?a0cc82e97d6a624c39b7d14bca77dab6:1
forEach self-hosted:206
onEvents https://st1-87.vk.com/js/cmodules/web/imn.96833fb6511aedcb3ab3.js?a0cc82e97d6a624c39b7d14bca77dab6:1
(Async: promise callback)
onEvents https://st1-87.vk.com/js/cmodules/web/imn.96833fb6511aedcb3ab3.js?a0cc82e97d6a624c39b7d14bca77dab6:1
f https://st1-87.vk.com/js/cmodules/web/imn.96833fb6511aedcb3ab3.js?a0cc82e97d6a624c39b7d14bca77dab6:1
emitEvent https://st1-87.vk.com/js/cmodules/bundles/common.3780e02528df59519a5c.js?9b568a7ea2a8d38c6a78:1
c https://st1-87.vk.com/js/cmodules/bundles/common.3780e02528df59519a5c.js?9b568a7ea2a8d38c6a78:1
t https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
s https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
onLp https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
onLp https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
v https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
n https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
onResult https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
onResult self-hosted:1161
(Async: promise callback)
l https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
l https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1
VK error: Notifier error: An exception was thrown common.3780e02528df59519a5c.js:1:779700
[13.434] An exception was thrown Ae@https://st1-87.vk.com/js/cmodules/bundles/common.3780e02528df59519a5c.js?9b568a7ea2a8d38c6a78:1:997698
y@https://st1-87.vk.com/js/cmodules/bundles/common.3780e02528df59519a5c.js?9b568a7ea2a8d38c6a78:1:215490
S@https://st1-87.vk.com/js/cmodules/bundles/common.3780e02528df59519a5c.js?9b568a7ea2a8d38c6a78:1:712149
B@https://st1-87.vk.com/js/cmodules/bundles/common.3780e02528df59519a5c.js?9b568a7ea2a8d38c6a78:1:713168
pushEvent@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:145920
pushEvents/<@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:145035
P@https://st1-87.vk.com/js/cmodules/bundles/common.3780e02528df59519a5c.js?9b568a7ea2a8d38c6a78:1:693874
pushEvents@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:145005
lpChecked@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:171129
lpCheck/<@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:169533
Async*lpCheck@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:168658
setTimeout handler*lpCheck/<@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:169787
Async*lpCheck@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:168658
setTimeout handler*lpCheck/<@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:169787
Async*lpCheck@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:168658
lpOnReset@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:171209
Async*lpReset/curNotifier.resetTO<@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:171570
setTimeout handler*lpReset@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:171320
addKey@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:172864
registerQueue@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:144823
r/this.restart/</t.intervalId<@https://st1-87.vk.com/js/cmodules/web/notifier.24532f6b6de52c868f45.js?53bcd8d0d18df310d7232a9f8e0f896b:1:87487
DOMException: An exception was thrown common.3780e02528df59519a5c.js:1:261016
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught (in promise) DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught (in promise) DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
Uncaught DOMException: An exception was thrown common.3780e02528df59519a5c.js:1
I recorded a video with an example of the behavior:
https://user-images.githubusercontent.com/7840559/107742389-fd899c80-6d1f-11eb-832d-73976f045414.mp4
Steps to Reproduce (for bugs)
- Open vk.com, for example the messages
- Write or read messages for a while, switch between chats
- After a while, it is impossible to load the chat contents, new messages don't arrived, it's impossible to send a message, open a photo, etc.
Context
This problem started around October 2020. Vk.com redesigned some of the page elements. I have been looking for a reason for a long time. Reinstalled browser, clear data and cache, disabled extensions. By exclusion, I determined that the CanvasBlocker was causing the problem.
Your Environment
- CanvasBlocker Version used: 1.5
- Firefox version incl. 32- or 64-bit: Abrowser 84.0.2 (64-bit)
- Operating System and version (desktop or mobile): Fedora 33
- Installed addons:
- uBlock
- Privacy Badger
- FoxyProxy
- Gnome Shell Integration
- HTML5 Video Everywhere
Your Settings
{
"logLevel": 1,
"urlSettings": [],
"hiddenSettings": {},
"expandStatus": {},
"displayHiddenSettings": false,
"whiteList": "",
"sessionWhiteList": "",
"blackList": "",
"blockMode": "fake",
"protectedCanvasPart": "readout",
"minFakeSize": 1,
"maxFakeSize": 0,
"rng": "nonPersistent",
"protectedAPIFeatures": {},
"useCanvasCache": true,
"ignoreFrequentColors": 0,
"minColors": 0,
"fakeAlphaChannel": false,
"webGLVendor": "",
"webGLRenderer": "",
"webGLUnmaskedVendor": "",
"webGLUnmaskedRenderer": "",
"persistentRndStorage": "",
"persistentIncognitoRndStorage": "",
"storePersistentRnd": false,
"persistentRndClearIntervalValue": 0,
"persistentRndClearIntervalUnit": "days",
"lastPersistentRndClearing": 1613116546361,
"sharePersistentRndBetweenDomains": false,
"askOnlyOnce": "individual",
"askDenyMode": "block",
"showCanvasWhileAsking": true,
"showNotifications": true,
"highlightPageAction": "none",
"highlightBrowserAction": "color",
"displayBadge": true,
"storeNotificationData": false,
"storeImageForInspection": false,
"ignoreList": "",
"ignoredAPIs": {},
"showCallingFile": false,
"showCompleteCallingStack": false,
"enableStackList": false,
"stackList": "",
"protectAudio": true,
"audioFakeRate": "100",
"audioNoiseLevel": "minimal",
"useAudioCache": true,
"audioUseFixedIndices": true,
"audioFixedIndices": "14",
"historyLengthThreshold": 2,
"protectWindow": false,
"allowWindowNameInFrames": false,
"protectDOMRect": true,
"domRectIntegerFactor": 4,
"protectTextMetrics": true,
"blockDataURLs": true,
"protectNavigator": false,
"navigatorDetails": {},
"protectScreen": true,
"screenSize": "",
"fakeMinimalScreenSize": true,
"displayAdvancedSettings": false,
"displayDescriptions": false,
"theme": "auto",
"dontShowOptionsOnUpdate": false,
"isStillDefault": false,
"storageVersion": 1
}
Can you test which API causes the issue? I would first try to disable the DOMRect-protection.
Yes, it seems the case is in DOMRect.
Is the problem still present?
Probably no.
OK