r/programmingtools • u/iodbh • Sep 15 '16
[request] a javascript lib that allows to programatically "annotate" sites
Hi there,
As the title indicates, i'm looking for a lib that i could use to "annotate" pages without user input.
Something that would allow, for instance, to add a text that says "profile picture" with an arrow pointed at the profile picture if loaded on facebook.
If you ever came across something like this, a name or link would be greatly appreciated !
8
Upvotes
View all comments
Show parent comment
1
u/iodbh Sep 15 '16
Well, i have a semi-clear idea how i could do it : get the position of the element i want to annotate, add a text with
position:absolutesomewhere close and maybe add a css class with borders.But i'm no frontend ninja and finding a tool that does it nicely with all the caveats figured out (what do i do if i'm exceeding the page's length/width for instance) would be a huge time saver.