coomdev
2 years ago
6 changed files with 37 additions and 27 deletions
@ -0,0 +1,26 @@ |
|||
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==
|
|||
`;
|
@ -1,3 +1,7 @@ |
|||
declare module '*.css' { |
|||
export default string; |
|||
} |
|||
|
|||
declare module '*.png' { |
|||
export default Uint8Array; |
|||
} |
Loading…
Reference in new issue