[Firefox to support Google's WebP image format for a faster web - CNET](https://www.cnet.com/news/firefox-to-support-googles-webp-image-format-for-a-faster-web/) 桌面版还好说,只用 WebP 的页面很少,手机版就麻烦了,移动版 Chrome 一家独大,Firefox for Android 的占有率太低,被忽视是理所当然的事情。 前段时间我就发现美篇——就是引发鸿毛药酒事件的那篇小文的首发地——就默认使用 WebP 图片格式,在 Android 上只有 Firefox 无法浏览。当时排查了很久才发现是这个坑爹的问题…… 最后没办法,写了段[脚本](https://github.com/ivysrono/Scripts/blob/master/Better-mobile-web.user.js#L105): ``` // 美篇 https://www.meipian.cn/1m3oighe?share_depth=3&from=timeline if (location.host === 'www.meipian.cn') { // 清理 URL if (location.search.length > 0) { location.search = ''; } // 隐藏文末打开APP条;隐藏部分推荐条目的APP打开;隐藏移动版底部APP推广 addStyle('.more, .recommend-label.label-download, #bottom-header-box {display: none !important;}'); // 显示真实图片,主要解决移动版 Firefox 无法显示 WebP 的问题。 function realimgs_meipian() { const imgs = document.getElementsByTagName('img') for (const img of imgs) { if (img.src.includes('-mobile')) { img.src = img.src.split('-mobile')[0]; clearInterval(realimgs_MP); console.log('realimgs_MP') } } } realimgs_MP = setInterval(realimgs_meipian, 1000); // 自动显示全文 function readmore_meipian() { if (document.getElementsByClassName('readmore')[0].style.display === 'block') { document.getElementsByClassName('readmore')[0].click(); clearInterval(readmore_MP); console.log('readmore_MP') } } readmore_MP = setInterval(readmore_meipian, 1000); } ``` 暴力将所有图片改为原图——反正这年头流量不值钱。 今后终于可以轻松点了。
post_id | 63,811,936 |
---|---|
author | ivysrono |
permlink | firefox-webp |
category | cn |
json_metadata | {"users":[],"format":"markdown","image":[],"links":["https:\/\/www.cnet.com\/news\/firefox-to-support-googles-webp-image-format-for-a-faster-web\/","https:\/\/github.com\/ivysrono\/Scripts\/blob\/master\/Better-mobile-web.user.js#L105"],"tags":["cn","firefox","webp","busy","edge"],"app":"busy\/2.5.6","community":"busy"} |
created | 2018-10-07 12:59:51 |
last_update | 2018-10-07 12:59:51 |
depth | 0 |
children | 4 |
net_rshares | 299,026,522,544 |
last_payout | 2018-10-14 12:59:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.344 SBD |
curator_payout_value | 0.106 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 1,531 |
author_reputation | 4,265,795,188,015 |
root_title | "Firefox 终于要支持 WebP 了" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
justyy | 0 | 43,381,806,339 | 2.53% | ||
happyukgo | 0 | 91,584,013 | 7.87% | ||
busy.org | 0 | 131,311,481 | 0.7% | ||
doraemon | 0 | 302,508,613 | 100% | ||
superbing | 0 | 534,557,047 | 7.87% | ||
dailystats | 0 | 1,415,494,183 | 7.87% | ||
winniex | 0 | 24,780,496,075 | 70% | ||
breathewind | 0 | 184,738,307,168 | 100% | ||
cnbuddy | 0 | 11,154,026,587 | 1% | ||
coindzs | 0 | 162,034,873 | 100% | ||
dailychina | 0 | 1,544,031,157 | 7.87% | ||
goplayer | 0 | 28,224,366,980 | 100% | ||
turtlegraphics | 0 | 752,551,596 | 7.87% | ||
witnesstools | 0 | 722,737,823 | 7.87% | ||
ilovecoding | 0 | 631,577,281 | 7.87% | ||
steemfuckeos | 0 | 459,131,328 | 7.87% |
以前一直用Firefox,后来一直用Chrome....
post_id | 63,814,307 |
---|---|
author | xinjun.wang |
permlink | re-ivysrono-firefox-webp-20181007t134719773z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit\/0.1"} |
created | 2018-10-07 13:47:21 |
last_update | 2018-10-07 13:47:21 |
depth | 1 |
children | 2 |
net_rshares | 0 |
last_payout | 2018-10-14 13:47:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 28 |
author_reputation | 0 |
root_title | "Firefox 终于要支持 WebP 了" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 0 |
chrome太弱了,Google又没事耍流氓
post_id | 63,817,205 |
---|---|
author | ivysrono |
permlink | re-xinjunwang-re-ivysrono-firefox-webp-20181007t143850576z |
category | cn |
json_metadata | {"users":[],"links":[],"format":"markdown","app":"busy\/2.5.6","tags":["cn"],"image":[],"community":"busy"} |
created | 2018-10-07 14:38:54 |
last_update | 2018-10-07 14:38:54 |
depth | 2 |
children | 1 |
net_rshares | 30,600,096,722 |
last_payout | 2018-10-14 14:38:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.034 SBD |
curator_payout_value | 0.011 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 22 |
author_reputation | 4,265,795,188,015 |
root_title | "Firefox 终于要支持 WebP 了" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
goplayer | 0 | 30,600,096,722 | 100% |
有段时间觉得Firefox用起来变慢了,所以我就转向了Chrome
post_id | 63,852,416 |
---|---|
author | xinjun.wang |
permlink | re-ivysrono-re-xinjunwang-re-ivysrono-firefox-webp-20181008t051349765z |
category | cn |
json_metadata | {"app":"steemit\/0.1","tags":["cn"]} |
created | 2018-10-08 05:13:51 |
last_update | 2018-10-08 05:13:51 |
depth | 3 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-10-15 05:13:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 33 |
author_reputation | 0 |
root_title | "Firefox 终于要支持 WebP 了" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 0 |
帅哥/美女!请支持中文区的见证人, @abit @bobdos @ety001 @justyy @oflyhigh @partiko (首字母顺序),全投,一个都不要漏。假如我的留言打扰到你,请回复“取消”。
post_id | 63,833,539 |
---|---|
author | cnbuddy |
permlink | re-ivysrono-firefox-webp-20181007t203514861z |
category | cn |
json_metadata | {} |
created | 2018-10-07 20:35:15 |
last_update | 2018-10-07 20:35:15 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-10-14 20:35:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 104 |
author_reputation | -1,405,328,253,928 |
root_title | "Firefox 终于要支持 WebP 了" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |