Chrome extensions: Content script (jQuery) in Youtube does not work properly
- by Fabian
I have this:
$(document).ready(function() {
$("button.yt-uix-expander-arrow").attr("id", "yt-uix-expander-arrow");
$("#yt-uix-expander-arrow").mouseover(function() {
alert("Hello");
});
});
injected into Youtube. Using right click inspect element, the <button class="yt-uix-expander-arrow"> has a…