Skip to content

Instantly share code, notes, and snippets.

View front-thinking's full-sized avatar
🎯
Focusing

front-thinking

🎯
Focusing
  • Tencent
  • ShenZhen,China
View GitHub Profile
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active May 4, 2024 21:33
A badass list of frontend development resources I collected over time.
@airyland
airyland / 前端打点.md
Last active June 23, 2017 07:00
前端错误监控

前端错误监控

注:目前是前端实验性质的工具。

开发环境和用户使用环境不一致,开发时无法对所有浏览器做测试。但是由用户来反馈错误过于被动。为了主动地收集错误并解决,在网页上加了一个JavaScript错误监控脚本。

window.onerror捕获页面上的JavaScript运行错误,并使用beacon的方式保存到seedit.duapp.com上。

window.onerror

@n1k0
n1k0 / 404checker.js
Created January 11, 2013 10:55
A CasperJS script to check for 404 & 500 internal links on a given website
/**
* This casper scipt checks for 404 internal links for a given root url.
*
* Usage:
*
* $ casperjs 404checker.js http://mysite.tld/
* $ casperjs 404checker.js http://mysite.tld/ --max-depth=42
*/
/*global URI*/