By using JavaScript, I successfully added an attribute to the HTML tag with the following code:
document.documentElement.style.cssText = 'cursor: url("https://image0.png"), auto !important;';
This resulted in the following CSS being applied:
html {
cursor: url("https://image0.png"), auto !important;
}
However, I am now struggling to find the correct JavaScript code to achieve the desired CSS styling for the following elements:
a {
cursor: url("https://image1.png"), auto !important;
}
.content img {
cursor: url("https://image2.png"), auto !important;
}