I have this script: JsBin
It allows to display the corresponding favicon to a certain url. As you can see the favicon is appended to the url, however I need it to append to the class="class" How can I do this? I don’t see anything in the code that I can change in order to make this work.
I’ve modified the script to include in the “config” var a “target” property. This “target” is nothing more than a jQuery selector (such as .class, in this case) which defaults to “this”.
So:
I hope this works out for you!
This is the full working code: