Share JSXGraph: example "Browser test: display agent and renderer type"

JSXGraph
Share JSXGraph: example "Browser test: display agent and renderer type"
This website is a beta version. The official release will be in **2023**.

Browser test: display agent and renderer type

// Define the id of your board in BOARDID

const board = JXG.JSXGraph.initBoard(BOARDID, {
    boundingbox: [-1, 5, 5, -1]
});
board.create('text', [-0.5, 2.5, function() {
    return 'userAgent: ' + navigator.userAgent;
}], {
    fontSize: 24,
    parse: false
});
board.create('text', [-0.5, 1, function() {
    return 'Renderer: ' + JXG.JSXGraph.rendererType;
}], {
    fontSize: 24
});