Hi, yes, it is possible.
A kickstarter on the things to do: - Add a div to the body-tag, keep the reference - Set style="position:fixed" to that div - Register a onMouseMove event handler on the document body - Use the event's clientX/clientY properties to determine where the cursor is - Calculate the new top and left coordinates based on the position, object size, desired offset and client size restrictions - Apply the values via CSS Hope that helps. Note: this is a very simple way. It may not work if the document is not the usual full-screen element (iframe, margin to the body-element). But I'm sure you can figure that out. Chris Am 04.03.2019 um 08:53 schrieb Killerko:
Is it possible to have something (picture, black box, text) to follow your mouse cursor using greasemonkey? -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to greasemonkey-users+unsubscr...@googlegroups.com <mailto:greasemonkey-users+unsubscr...@googlegroups.com>. To post to this group, send email to greasemonkey-users@googlegroups.com <mailto:greasemonkey-users@googlegroups.com>. Visit this group at https://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to greasemonkey-users+unsubscr...@googlegroups.com. To post to this group, send email to greasemonkey-users@googlegroups.com. Visit this group at https://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.