This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js"></script> | |
<script type="text/javascript"> | |
var browser={ | |
versions:function(){ | |
var u = navigator.userAgent, app = navigator.appVersion; | |
return { | |
mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端 | |
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
001 2016-12-16 http://chuansong.me/n/1557982752442 人生只有一次,必须为自己而活 | |
002 2016-12-17 http://chuansong.me/n/1557982652651 很多时候,你缺的不是方法,是环境! | |
003 2016-12-19 http://chuansong.me/n/1557982552358 橙长节导师分享:2016年最触动我的一条认知 | |
004 2016-12-21 http://chuansong.me/n/1557982452845 是什么可以带来源源不断的勇气? | |
005 2016-12-22 http://chuansong.me/n/1557982352439 喂,我的大腿凭什么给你抱? | |
006 2016-12-23 http://chuansong.me/n/1557982252345 三字诀,让普通人也能拥有成就感 | |
007 2016-12-24 http://chuansong.me/n/1557982152830 如何快速制定年度目标 | |
008 2016-12-25 http://chuansong.me/n/1557982052545 创业者你这么忙,怎么过圣诞节? | |
009 2016-12-26 http://chuansong.me/n/1557981952651 估计,你的年度目标里不会想起这件事 | |
010 2016-12-27 http://chuansong.me/n/1557981852037 易仁永澄丨2017年的发展期待 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var allresult = ""; | |
var count=1; | |
$(".feed_body > .pagedlist_item").map(function(){return $(this).find("h2 > span");}).map(function(){ | |
var obj = $(this); | |
var link = "http://chuansong.me"+obj.find(".question_link").attr("href"); | |
var time = obj.find(".timestamp").text(); | |
var title = obj.find(".question_link").text(); | |
var result = (count<10?"00":(count>99?"":"0"))+ count + " "+ time + " " + link + " " + title.trim(); | |
allresult = allresult + "\n" + result; | |
count++; |