Skip to content

Commit

Permalink
add template user script
Browse files Browse the repository at this point in the history
  • Loading branch information
Cazka committed Oct 2, 2022
1 parent 21100fc commit f0f7256
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions template.user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// ==UserScript==
// @name diepAPI
// @description https://github.com/Cazka/diepAPI
// @version 3.0.0
// @author Cazka
// @match https://diep.io/*
// @icon https://www.google.com/s2/favicons?domain=diep.io
// @namespace https://greasyfork.org/users/541070
// @run-at document-start
// @grant none
// ==/UserScript==
(() => {
const _window = "undefined" == typeof unsafeWindow ? window : unsafeWindow;
if (_window.diepAPI) return;

//diepAPI start
//diepAPI end

_window.diepAPI = diepAPI;
})();

0 comments on commit f0f7256

Please sign in to comment.