The DOM structure is from the facebook.com web version. Each div with class clearfix _5x46 will be repeated. I'm able to find the href value from the below code but no idea how to insert the value just after each div with class clearfix _5x46 in native JavaScript.