Peter Chen
Peter Chen
**Is your feature request related to a problem? Please describe.** I have a Smartmi Air Purifier (zhimi.airpurifer.za1) which is not supported by official HA `xiaomi_miio` integration, https://github.com/syssi/xiaomi_airpurifier is used instead....
- Device Name: Mi Smart Standing Fan E - Device Model: dmaker.fan.1e - Model Number: BPLDS04DM - Miot Spec: https://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:fan:0000A005:dmaker-1e:1 - Product page: https://www.mi.com/buy/detail?product_id=14436 Thanks!
Refer to https://github.com/moztw/www.moztw.org/commit/5cfd1d1a15b9ca9ced72e2924158f739f004f205 for the new embed codes
需要產生一組 Content-Security-Policy 以避免受到 XSS 攻擊,以及其他內容資源的影響
目前 Sandstone 風格頁面的樣式有為 p tag 指定 "Open Sans","Helvetica","Heiti TC","LiHei Pro","微軟正黑體","WenQuanYi - Micro Hei","Arial",sans-serif; 的樣式,但 h\* tag 只有 "Open Sans Light",sans-serif;,所以在 Windows 上只有醜醜的新細明體。 我們應該重新檢查頁面樣式,然後重新指定字體 fallback 順序
請參考:https://git-lfs.github.com/
repo 裡某些活動或專案網頁都有自己放一份 library,可以統一合併到 /js/library。 隨便列舉一個 jquery 跟相關 plugin petercpg@v3:~/moztw-repo/moztw_web/www.moztw.org$ find ./ -name jq* ./twoffice/jquery-1.6.4.min.js ./twoffice/fancybox/jquery.fancybox-1.3.4.js ./twoffice/fancybox/jquery.fancybox-1.3.4.pack.js ./twoffice/fancybox/jquery.mousewheel-3.0.4.pack.js ./twoffice/fancybox/jquery.fancybox-1.3.4.css ./twoffice/fancybox/jquery.easing-1.3.pack.js ./foxmosa/js/jquery.min.js ./events/sopa/assets/jquery.js ./events/moztw-lab/assets/jquery.js ./events/app-dev-party/assets/jquery.js ./events/firefox4party/landing/jquery.wordcloud.min.js ./events/firefox4party/jquery.wordcloud.min.js ./events/scp0712/assets/jquery.js ./events/code-rush/assets/jquery.js ./js/library/jquery.lightbox-0.5.css ./js/library/fancybox2/jquery.fancybox.pack.js ./js/library/fancybox2/helpers/jquery.fancybox-thumbs.js...
Currently we have these options: - Simply make a self-signed cert. - At least there would be some minimum but not 'trustworthy' security. - Ask Mozilla to sign one [Bug...