amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acssf08af{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/04/iphone-9-new-4-specs-and-may-be-on-sale-soon_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acss04c60{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/04/one-punch-man-live-action-film_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssd3fb5{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2018/07/vaio-s11-s13-hk_pc3leo-compressed-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss4b2ee{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2017/08/saola-animate-06-easing_pc3leo-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

【種族平等】Google Chrome 欲移除「Blacklist」、「Whitelist」字眼

你可否想像過「Blacklist」、「Whitelist」都是種族主義的字眼?最近有外媒指 Google 早已在 2 年前開始悄悄更新 Chrome,只是為了移除「Blacklist」、「Whitelist」之類含「種族差別」字眼。

雖然 Google 支持近日「Black Lives Matter」運動,但是並不代表「Blacklist」、「Whitelist」是因為這場運動移除。早在 2019 年 10 月,Chrome(更準確地應該叫 Chromium)新增開發指引,如何編碼一個「種族中立」的代碼。這指引清晰說明「blacklist」和「whitelist」是不適合的,應分別替換成「blocklist」和「allowlist」。

[the_ad_placement id=”ad2″]

Google 早在 2018 年 5 月開始把 Chrome 瀏覽器的「blacklist」字眼替換成「Whitelist」,但 Chrome 的內部代碼仍然有很多「blacklist」的字眼,例如「components / blacklist」,需要時間替換。因應近日「Black Lives Matter」運動,有 Chromium 開發者向 Gerrit 提交代碼改動,務求在不會破壞瀏覽器的情況之下能安全地將含「components/blacklist 」的代碼替換,現時正等待批核。

[the_ad_placement id=”ad2″]
PLAN

曾是過去 PC3 雜誌記者,現時是 PC3 網站的編輯,渡過接近 10 年科技媒體生涯,至今依然為大家提供科技和生活資訊