Created
September 21, 2023 13:13
-
-
Save yasithdev/cf99793e6b83cca73497566484548ced to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Disable Bing Search Engine Scroll | |
// @namespace your-namespace | |
// @description Disables scrolling on the Bing search engine page to prevent accidental scrolling into the Bing chat feature. | |
// @match https://www.bing.com/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
window.addEventListener("wheel", e=> { | |
if(e.target.className.includes("cib-serp-main")) e.stopPropagation(); | |
}); | |
window.addEventListener("touchmove", e => { | |
e.stopImmediatePropagation(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment