News i8
// Function to disable jQuery Mousewheel plugin
function disableMouseWheel() {
// Unbind the mousewheel event from all elements
$(document).off("mousewheel");
$(document).off("DOMMouseScroll"); // For Firefox support
}
// Call the function to disable mouse wheel functionality
disableMouseWheel();
$(window).on('load', function() { disableMouseWheel(); // Disable again after all scripts have loaded });
// Function to check if jQuery Mousewheel plugin is loaded
function isMouseWheelLoaded() {
return typeof jQuery.event.special.mousewheel !== 'undefined';
}
// Usage
if (isMouseWheelLoaded()) {
console.log("WARNING: CloudFlare jQuery Mousewheel spyware plugin is loaded.");
} else {
console.log("GREAT: CloudFlare spyware jQuery Mousewheel plugin is NOT loaded.");
}