An interface for embedding clients who wish to interact with
the system-wide OS clipboard. Mozilla does not use a private
clipboard, instead it places its data directly onto the system
clipboard. The webshell implements this interface.
Returns whether there is a selection and it is not read-only.
true if the current selection can be cut,
false otherwise.
|
Returns whether there is a selection and it is copyable.
true if there is a selection,
false otherwise.
|
Returns whether we can copy a link location.
true if a link is selected,
false otherwise.
|
Returns whether we can copy an image location.
true if an image is selected,
false otherwise.
|
Returns whether we can copy an image’s contents.
true if an image is selected,
false otherwise
|
Returns whether the current contents of the clipboard can be
pasted and if the current selection is not read-only.
true there is data to paste on the clipboard
and the current selection is not read-only,
false otherwise
|
Cut the current selection onto the clipboard.
Copy the current selection onto the clipboard.
Copy the link location of the current selection (e.g.,
the |href| attribute of a selected |a| tag).
Copy the location of the selected image.
Copy the contents of the selected image.
Paste the contents of the clipboard into the current selection.
Select the entire contents.
Clear the current selection (if any). Insertion point ends up
at beginning of current selection.