Raw Source
ccdd13 / sample userscript template

/**
 * MIT License
 *
 * Copyright (c) 2021 ccdd13
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 */
// ==UserScript==
// @name            sample userscript template
// @namespace       https://openuserjs.org/users/ccdd13
// @description     sample userscript - Monday 15 March 2021 14:40:21 CET
// @version         1.0.0
// @author          ccdd13
// @copyright       2021, ccdd13 (https://openuserjs.org/users/ccdd13)
// @license         MIT
// @homepage        https://openuserjs.org/scripts/ccdd13/sample_userscript_template
// @homepage        https://greasyfork.org/en/scripts/423266-sample-userscript-template
// @supportURL      https://greasyfork.org/en/scripts/423266-sample-userscript-template/feedback
// @supportURL      https://openuserjs.org/scripts/ccdd13/sample_userscript_template/issues
// @updateURL       https://openuserjs.org/meta/ccdd13/sample_userscript_template.meta.js
// @updateURL       https://greasyfork.org/scripts/423266-sample-userscript-template/code/sample%20userscript%20template.meta.js
// @downloadURL     https://openuserjs.org/install/ccdd13/sample_userscript_template.user.js
// @downloadURL     https://greasyfork.org/scripts/423266-sample-userscript-template/code/sample%20userscript%20template.user.js
// @contributionURL https://blockchain.com/btc/payment_request?address=1Nm2q6VjDcabFVhS6HyYdUzUWbUkg1
// @require         https://cdn.jsdelivr.net/npm/@violentmonkey/dom@1
// @require         https://cdn.jsdelivr.net/npm/@violentmonkey/shortcut@1
// @require         https://cdn.jsdelivr.net/combine/npm/@violentmonkey/dom@1,npm/@violentmonkey/ui
// @require         https://openuserjs.org/src/libs/sizzle/GM_config.js
// @require         https://openuserjs.org/src/libs/Marti/GM_setStyle.js
// @require         https://openuserjs.org/src/libs/cuzi/RequestQueue.js
// @require         https://openuserjs.org/src/libs/wishingking/GM_createMenu.js
// @require         https://greasyfork.org/scripts/421384-gm-fetch/code/GM_fetch.js
// @require         https://greasyfork.org/scripts/418856-gm-datastore/code/GM%20DataStore.js
// @require         https://greasyfork.org/scripts/420061-super-gm-setvalue-and-gm-getvalue-greasyfork-mirror-js/code/Super_GM_setValue_and_GM_getValue_greasyfork_mirrorjs.js
// @require         https://greasyfork.org/scripts/419588-uniq/code/UniQ.js
// @require         https://greasyfork.org/scripts/23115-tampermonkey-support-library/code/Tampermonkey%20Support%20Library.js
// @require         https://greasyfork.org/scripts/5647-instasynchp-library/code/InstaSynchP%20Library.js
// @require         https://greasyfork.org/scripts/421266-easy-cookie-manager/code/Easy%20Cookie%20Manager.js
// @require         https://greasyfork.org/scripts/398877-utils-js/code/utilsjs.js
// @require         https://greasyfork.org/scripts/420842-vanilla-js-wheel-zoom/code/vanilla-js-wheel-zoom.js
// @require         https://greasyfork.org/scripts/411093-toast/code/Toast.js
// @require         https://greasyfork.org/scripts/422672-vanilla-js-tooltip-min-js/code/vanilla-js-tooltipminjs.js
// @match           http*://*/*
// @grant           GM_getValue
// @grant           GM_setValue
// @grant           GM_deleteValue
// @grant           GM_listValues
// @grant           GM_addValueChangeListener
// @grant           GM_removeValueChangeListener
// @grant           GM_addStyle
// @grant           GM_registerMenuCommand
// @grant           GM_unregisterMenuCommand
// @grant           GM_setClipboard
// @grant           GM_xmlhttpRequest
// @grant           GM_getResourceText
// @grant           GM_getResourceURL
// @grant           GM_download
// @grant           GM_openInTab
// @grant           GM_notification
// ==/UserScript==

// ==OpenUserScript==
// @author          ccdd13
// @collaborator    ccdd13
// ==/OpenUserScript==

/* jshint esversion: 6 */

alert(`sample userscript`)