mirror of
https://git.coom.tech/fuckjannies/lolipiss.git
synced 2024-06-29 05:52:35 +00:00
26 lines
833 B
JavaScript
26 lines
833 B
JavaScript
|
import { spawnSync } from 'child_process';
|
||
|
|
||
|
let res = spawnSync("git", ["rev-list", "--count", "HEAD"]);
|
||
|
let rev = +res.stdout;
|
||
|
|
||
|
export const extheader = `// ==UserScript==
|
||
|
// @name PNGExtraEmbed
|
||
|
// @namespace https://coom.tech/
|
||
|
// @version 0.${rev}
|
||
|
// @description uhh
|
||
|
// @author You
|
||
|
// @match https://boards.4channel.org/*
|
||
|
// @match https://boards.4chan.org/*
|
||
|
// @require https://unpkg.com/web-streams-polyfill/dist/polyfill.min.js
|
||
|
// @grant GM_xmlhttpRequest
|
||
|
// @grant GM.xmlHttpRequest
|
||
|
// @grant GM_openInTab
|
||
|
// @grant GM.openInTab
|
||
|
// @run-at document-start
|
||
|
// @connect 4chan.org
|
||
|
// @connect 4channel.org
|
||
|
// @connect i.4cdn.org
|
||
|
// @connect *
|
||
|
// @icon https://coom.tech/resources/assets/1449696017588.png
|
||
|
// ==/UserScript==
|
||
|
`;
|