kriss_feed
kriss_feed copied to clipboard
Use Javascript for Auto target="_blank"
I noticed using "Auto target='_blank' only applies to the main title link, and not any other links in the content. I added my own script to handle this, and thought this would be a better solution for everyone in future versions. It's a lightweight solution to a bigger problem, imo. Thanks! Here's the script I wrote as an example: gist.github.com/elundmark/7187815
I've planned to rewrite most of javascript code, I guess I will add your code too. Thanks
Glad to help!
The script I wrote regarding this has had a few revisions, if you do use it, please get the newest one. One issue it had was it didn't traverse up to find the link if the element clicked wasn't a link or a direct child of a link. That has now been fixed, ex: if the user clicks a > span > img, it finds the link by traversing.
I did not add it yet, but I will. Thanks for the update info