I managed to insert an attribute in the html tag, using this code in JavaScript:
document.documentElement.style.cssText = 'cursor: url("https://image0.png"), auto !important;';
Therefore, the result in CSS was:
html {
cursor: url("https://image0.png"), auto !important;
}
Now, I know this is probably a silly question, but I can't find the right JavaScript code to obtain this CSS result:
a {
cursor: url("https://image1.png"), auto !important;
}
.content img {
cursor: url("https://image2.png"), auto !important;
}