How to detect that Safari is in reader mode?

2019-03-31 23:07发布

问题:

I would like to be able from Javascript to be notified when Safari is in reader mode. Is there an event fired by the browser or a flag set?

The question relates to iPhone, iPad and OSX.