Quantcast
Channel: javascript – Gea-Suan Lin's BLOG
Browsing latest articles
Browse All 187 View Live

Image may be NSFW.
Clik here to view.

各家首頁 JavaScript 的大小

看到「JavaScript Bloat in 2024 (tonsky.me)」這篇在講各家首頁 JavaScript 的大小,原文在「JavaScript Bloat in 2024」這邊。 作者 Nikita Prokopov 創造了很多 open source project,我比較有印象的是 Fira Code,這篇比較像是他在抱怨現在的網站... 裡面站台一堆都是 10MB+ 的...

View Article


用 Brave 的 brave://flags 設定

因為 Brave 會繼續支援 webRequest 的完整功能,所以早早就已經跳槽過來,不過 Brave 的垃圾功能太多 (一堆 cryptocurrency 相關的功能),有需要全部關掉,所以裝好後第一件事情就是到 brave://flags 裡面把所有 Brave 自家功能的設定關光光,只留下 Brave Sync V2 的功能。 先前都是用滑鼠一個一個關,剛剛覺得太累了,研究一下 js 直接在...

View Article


UI Event 的順序

othree 寫了一篇「UI Event Order」在講滑鼠 (或是更廣廣義的 pointer 類) 以及鍵盤 (包括輸入法) 在瀏覽器上會產生的 event。 裡面有些是歷史 (提到 IE 上的實作方式),現在都不太會碰到了,可以直接看目前的幾份標準就好,然後蠻多標準都還是在 draft 階段,各家瀏覽器更新的速度不一樣,所以會有不同的行為冒出來。 我決定先把文章保留起來,等遇到的時候再回來看 XD

View Article

Cloudflare Workers 支援 Python (是 open beta)

Cloudflare 宣佈 Cloudflare Workers 支援 Python:「Bringing Python to Workers using Pyodide and WebAssembly」。 不過比較特別的是,並不是原生支援 Python 環境,而是透過轉譯成 WebAssembly 丟進 V8 engine 執行,就如同文章標題提到的。...

View Article

Gitea 預定淘汰掉 jQuery + Fomantic-UI + Semantic-UI,改用 Tailwind CSS

在「So long jQuery, and thanks for all the fish」這邊宣佈了 jQuery 的退役計畫,會改用 Tailwind CSS: We would like to celebrate the significant work done to remove a significant portion of jQuery in our codebase and the...

View Article


jQuery 官方鼓勵大家記得使用新版的 jQuery...

的確是很多人掛完 jQuery 後就沒動過了:「Upgrading jQuery: Working Towards a Healthy Web」。 jQuery 官方提供的三個切入點都是安全性的問題,Security Vulnerabilities、Security Best Practices 以及 Compliance Requirements。 相容性是 jQuery 的強項,有些...

View Article

Node.js 實驗性支援 type 的語法 (但不會檢查)

在 Hacker News 上看到「Node.js adds experimental support for TypeScript (github.com/nodejs)」這個,標題有點誤導就是了,GitHub 上面的標題比較正確:「module: add --experimental-strip-types」。 從說明可以看到 --experimental-strip-types 參數只是接受...

View Article

uBlock Origin Lite (也就是 MV3 版本) 放棄在 Mozilla Add-ons 平台上繼續上架

整包故事大概都在「uBOL version updates missing in Firefox add-ons store #197」這邊了。 Raymond Hill (uBlock Origin 以及這次提到的 uBlock Origin Lite 的作者) 被 Mozilla 的 Add-ons Team 亂搞以後不爽,決定徹下 Mozilla Add-ons 平台上的 uBlock...

View Article


Image may be NSFW.
Clik here to view.

Promise.try() 的支援度

在「BCD Universal Implementations Report Mon Nov 11 2024」這邊看到的,其中 Promise.try() 的部分,在 Safari 也實作後,所有主要的瀏覽器引擎都支援了,後面就是 release 的時間問題了: 原生的 Promise 物件功能不多,現在看起來陸陸續續加上去,寫起來會更方便一些...

View Article


Image may be NSFW.
Clik here to view.

CDN 造成的後端壓力問題 (Canva 的 outage)

Hacker News 上看到「The Canva outage: another tale of saturation and resilience (surfingcomplexity.blog)」這個,原文「The Canva outage: another tale of saturation and resilience」是去年十二月的時候在講 Canva 十一月時的 outage。...

View Article
Browsing latest articles
Browse All 187 View Live