2 ms·
"paste" is not enabled for non-trusted scripts on FF 41+. A extensions' scripts can use "paste" since they are trusted scripts; but a webpage's script cannot.
by linksbro 11y ago
"paste" is not enabled for non-trusted scripts on FF 41+.
A extensions' scripts can use "paste" since they are trusted scripts; but a webpage's script cannot.
I believe that footnote is a doc error, since copy/cut are enabled w/o user.js override on FF 41+.
I don't know if there is any current plans to make "paste" available for all scripts - I don't think there would be because of the obvious concerns.
- mystor 11y agoThere are no plans to make "paste" available to scripts. User's clipboards can contain too much sensitive information.
- JoshTriplett 11y agoIn theory, Firefox could track if the current clipboard data was put there by the same origin, and allow paste if and only if so. That might be useful.