js ParseUrl
摘要:js ParseUrlfunction parseURL(url) { var a = document.createElement('a'); a.href = url; return { source: url, protocol: a.protocol.replace(':',''), hos
阅读全文
electron 截图为空
摘要:https://github.com/electron/electron/issues/2610
阅读全文
twitter 等网站console.log不能使用,可用alert或者
摘要:function setConsole() { var iframe = document.createElement('iframe'); iframe.style.display = 'none'; document.body.appendChild(iframe); console = ifr
阅读全文
Fb 第三方接口
摘要:1、Facebook ID? User ID / https://www.piliapp.com/facebook/id/?url=https%3A%2F%2Fwww.facebook.com%2Fzuker
阅读全文
Fb,tw等emoji相关
摘要:最近处理fb emoji,查了下相关的资料。记录于此 twitter blog 关于:https://blog.twitter.com/developer/en_us/a/2014/open-sourcing-twitter-emoji-for-everyone.html 872 emoji. tw
阅读全文
Mysql 多个字段查找重复数
摘要:delete FROM `test_table` WHERE id in (SELECT id,concat(user_id,user_id2) as __fFROM `test_table` where user_id = 11GROUP BY `__f` HAVING COUNT( * ) >1
阅读全文
Js 过滤emoji表情...持续补充中..
摘要:原文来自: https://www.cnblogs.com/tsjTSJ/p/7065544.html 最全最详细的用JS过滤Emoji表情的输入 在前端页面开发过程中,总会碰到不允许输入框输入emoji表情的需求,我的思路是通过编码用正则匹配表情,然后将其替换为空字符创。但是问题也是显而易见的,完
阅读全文