快轉到主要內容

瀏覽器自動填充autocomplete

·127 字·1 分鐘
Y Cheung
作者
Y Cheung
Blogger, Programer & Traveler.

瀏覽器自動填充功能已經流行很久了,用戶因此可以快速填充註冊表單節省時間。 Autocomplete標籤包含了一些基本的值,包括tel,email,number,name等。

例如自動填充電話號碼:

1<label for="frmPhoneNumA">Phone</label>
2<input type="tel" name="phone" id="frmPhoneNumA" placeholder="+1-650-450-1212" required autocomplete="tel">

Reference:

相關文章

初識Well-Known URI

·268 字·1 分鐘
看NGINX配置SAMPLE時看到這樣一個BLOCK: 1# Allow "Well-Known URIs" as per RFC 5785 2 location ~* ^/.well-known/ { 3 allow all; 4 } 聯想到之前使用Let’s Encrypt SSL 證書的時候也有添加一個路徑配置是.well-known的,Y.Cheung 好奇這個路徑究竟有什麼用。

Facebook APP 权限审核遭拒

·113 字·1 分鐘
The user_groups permission is only approved for apps that let people use Facebook on platforms where Facebook is not already available. If you’re building an app on Android and iOS, for example, you won’t be approved for this permission. Web, Desktop and TV apps will also not be granted this permission. 被拒绝的详细说明,总之facebook就是不给你这个user_group权限啦 = 3 =

提交Facebook App Review

·255 字·1 分鐘
虽然之前提到的那个bug官方还没修复,不过先这样吧,先运行起来,噗噗~ 今天稍微做了一下样式化输出,然后限制输出500条信息,分页还没做(趴)。 因为要用到 user_groups 权限,所以审核时间要久一些,7个工作日.

FACEBOOK WEB APP 制作小记

·216 字·1 分鐘
需求就是生产力! ——by Y.Cheung 因为没找到好的工具,就开始自己动手丰衣足食了XDDDD 目前进度25%。 除了像获取用户个人公开资料之类的是不用什么特别的权限外,都要注意在login的时候指明获取相应的permission。比如: 1$login_url = $helper ->getLoginUrl(array('scope'=>'user_groups')); 对于stdClass Object可以用以下方法转化为array: 1$array = json_decode(json_encode($row), true); 对于4.0以上版本的FACEBOOK PHP SDK来说,可以直接使用 require_once('autoload.php'); 加载所有require的文件。