JS Check-in for Social Comment Systems

Inspired by WP Blog One-click Check-in JS , I modified the JS code to implement one-click check-in functionality for Youyan and Duoshuo comment systems. Youyan Version: javascript : try { document . getElementById ( 'uyan_l_uname' ). value = 'Your Nickname' } catch ( err ) {} var myDate = new Date () var mytime = myDate . toLocaleTimeString () document . getElementById ( 'uyan_comment' ). value = 'Checked in today! Time: ' + mytime UYAN . addCmt ( document . getElementById ( 'uyan_cmt_btn' )) void 0 Usage: Open a page with Youyan and click once. Can be used without login, or after logging in via Weibo first. Duoshuo Version: javascript : var myDate = new Date () var mytime = myDate . toLocaleTimeString () document . getElementsByName ( 'message' ). item ( 0 )....

One-Click Check-in JS for WordPress Blog

This is something I came across on Arefly's blog. Original URL: http://www.arefly.com/zh-cn/wordpress-js-check/ Usage: Bookmark any webpage. Find the bookmark you just created, right-click to edit it. Change the name to "One-Click Check-in" or whatever you prefer, and replace the address with the following code: javascript : document . getElementById ( 'author' ). value = 'Your Nickname' document . getElementById ( 'email' ). value = 'Your Email' document . getElementById ( 'url' ). value = 'Your Website' var myDate = new Date () var mytime = myDate . toLocaleTimeString () document . getElementById ( 'comment' ). value = 'Checked in today! Time: ' + mytime submit . click () void 0 Remember to modify the nickname, email, and website in the code. Open the webpage where you want to check in,...