Table of Contents

Class GM.Info

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

An object that exposes various information about Greasemonkey and the running User Script. Compatibility: Greasemonkey 0.9.16+

[To("FirstCharToLowerCase")]
public static class GM.Info
Inheritance
GM.Info
Inherited Members

Remarks

Properties

ScriptHandler

The name of the user script engine handling this script's execution. The string Greasemonkey.

[To("FirstCharToLowerCase")]
public static string ScriptHandler { get; set; }

Property Value

string

ScriptMetaStr

A string, the entire literal Metadata Block (without the delimiters) for the currently running script.

[To("FirstCharToLowerCase")]
public static string ScriptMetaStr { get; set; }

Property Value

string

Version

The version of Greasemonkey, a string e.g. 4.0.

[To("FirstCharToLowerCase")]
public static string Version { get; set; }

Property Value

string