From 09cc1cc8c05bbb3e70400a5c98b689a2a5d5f541 Mon Sep 17 00:00:00 2001 From: coomdev Date: Sat, 1 Jan 2022 11:06:30 +0100 Subject: [PATCH] Add writable stream polyfill for firefucks --- build.js | 2 +- main.user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.js b/build.js index beed1db..ce2237a 100644 --- a/build.js +++ b/build.js @@ -10,13 +10,13 @@ const extheader = `// ==UserScript== // @author You // @match https://boards.4channel.org/g/thread/* // @icon https://www.google.com/s2/favicons?domain=4channel.org +// @require https://unpkg.com/web-streams-polyfill/dist/polyfill.min.js // @grant GM_xmlhttpRequest // @run-at document-start // @connect 4chan.org // @connect 4channel.org // @connect i.4cdn.org // ==/UserScript== - `; (async () => { diff --git a/main.user.js b/main.user.js index 5506d1c..8277c25 100644 --- a/main.user.js +++ b/main.user.js @@ -6,13 +6,13 @@ // @author You // @match https://boards.4channel.org/g/thread/* // @icon https://www.google.com/s2/favicons?domain=4channel.org +// @require https://unpkg.com/web-streams-polyfill/dist/polyfill.min.js // @grant GM_xmlhttpRequest // @run-at document-start // @connect 4chan.org // @connect 4channel.org // @connect i.4cdn.org // ==/UserScript== - (() => { var __create = Object.create; var __defProp = Object.defineProperty;