Content scripts in reading mode

(Jeenu) #1

I just noticed that a content script from my extension (rut at document start) is not executed in reading mode. Is that expected, or am I missing some permissions?

(Martin Giger) #2

That is expected, as reader is very special and you wouldn’t have the actual dom to interact with, and most content scripts shouldn’t be running either way. I think there was discussion on enabling add-ons to modify the output of reader mode or add functionality at one point, but I’m not sure where that was left off.

(Juraj Masiar) #3

Any change to find the link of that discussion? I’m unable to locate one in bugzilla.

I’m sure there are many useful add-ons that could be used in reader more, for example:

This could be solved by introducing new permission.

(Jorge) #4

Here’s the open bug: