摘要:
基于安全的考虑,需要给cookie加上Secure和HttpOnly属性,HttpOnly比较好理解,设置HttpOnly=true的cookie不能被js获取到,无法用document.cookie打出cookie的内容。 Secure属性是说如果一个cookie被设置了Secure=true,那 阅读全文
posted @ 2019-05-18 15:18
方方和圆圆
阅读(26075)
评论(5)
推荐(5)
摘要:
content.js 与 background.js和popup.js 通信和 background.js与popup.js 这些通信都用 chrome.runtime.sendMessage 这个方法 background.js和popup.js 与 content.js通信 都用 chrome. 阅读全文
posted @ 2019-05-18 15:16
方方和圆圆
阅读(4637)
评论(0)
推荐(0)

浙公网安备 33010602011771号