LoginSignup
1
1

More than 5 years have passed since last update.

How to Remove "max-width" Style When Browsing with Reader Mode of Safari

Last updated at Posted at 2016-03-21

Safari の「リーダー」機能ってどのくらい使われてるのか知らないんですが、こーゆーページを……

01.png

こんな風に表示する機能です。

02.png

iPad で見るときなんかに便利ですよね。

ところで小生、さいきん老眼が進んでまいりまして、文字を大きくしたくなるんです (大きいディスプレイも買ったしね)。

でも文字を大きくしてもページ幅は変わらないので……

03.png

左右のマージンが残念な感じです。

max-width スタイルを消せばイイ感じになるのは知ってたので……

04.png

今までは手動でいちいち消していたんですが、javascript 一発で消すコトが出来たのでご紹介です。

$('#article').style.maxWidth = 'none'

05.png

イイ感じになりました。
ブックマークレットにできればなお良し、といったところですか。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1