I know how to find all the links but I do not know how to programmatically inject html after a tag. I think the html should end up like this:
<a href="http:www.google.com> this is a useful website</a> <input type="checkbox" name="option" >
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this simply in JQuery, using
after:Edit
Inspired by RobG’s comment — to apply to only specific links, change the selector:
Or use a wildcard of some kind: