Closed
Description
If uBlock Origin is enabled, YouTube will be frozen due to the conflict with ajax-hook.
Reproduction:
- Use Chrome (or Firefox)
- Install uBlock Origin (v1.51.0)
- Install Userscript Manager Tampermonkey or Violentmonkey

- create a new userscript to let the code inject at the very first begining.
// ==UserScript==
// @name Testing 333
// @namespace TestScripts
// @match https://www.youtube.com/*
// @grant none
// @version 1.0
// @author abc
// @description Testing
// @require https://github.com/wendux/ajax-hook/raw/master/dist/ajaxhook.js
// @run-at document-start
// ==/UserScript==
ah.proxy({
onRequest: (config, handler) => {
handler.next(config);
},
onResponse: (response, handler) => {
handler.resolve(response);
}
});
- open youtube.com
- frozen
Screenshots
Chrome:

Firefox:

Console Error:
Remarks 1:
Tried to downgrade to earlier version like
Jun 14, 2022 9efea44
https://github.com/wendux/ajax-hook/raw/9efea44c8b2bc27b5ec0e8c2e3a2477bdc76dab9/dist/ajaxhook.js
Same result.
Remarks 2:
If PR #120 is applied, the issue might get resolved by bypassing the urls.
Metadata
Metadata
Assignees
Labels
No labels