Class type Goog.​Geditor.​Plugins.​linkDialogPlugin

class type linkDialogPlugin = object..end

Inherits


method disposeInternal : unit Js.meth
method getTrogClassId : Js.js_string Js.t Js.meth

Returns The ID unique to this plugin class. Note that different instances off the plugin share the same classId.

method setEmailWarning : Js.js_string Js.t -> unit Js.meth

Sets the warning message to show to users about including email addresses on public web pages.

method stopReferrerLeaks : unit Js.meth

Tells the plugin to stop leaking the page's url via the referrer header when the "test this link" link is clicked. When the user clicks on a link, the browser makes a request for the link url, passing the url of the current page in the request headers. If the user wants the current url to be kept secret (e.g. an unpublished document), the owner of the url that was clicked will see the secret url in the request headers, and it will no longer be a secret. Calling this method will not send a referrer header in the request, just as if the user had opened a blank window and typed the url in themselves.