Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Customize Xentral Auftrag
// ==UserScript==
// @name Xentral Auftrag
// @namespace
// @version 0.1
// @description Add link to open Werkstattauftrag
// @author Jakob Schöttl
// @match https://**
// @icon
// @grant none
// ==/UserScript==
(function() {
'use strict';
const urlParams = new URLSearchParams(;
const id = encodeURIComponent(urlParams.get('id'));
.append('<a class="button" href="" target="_blank">Dateien anzeigen</a>')
.append('<a class="button" href="' + id + '" target="_blank">Werkstattauftrag öffnen</a>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment