diff --git a/main.meta.js b/main.meta.js index 2145949..3f01ba8 100644 --- a/main.meta.js +++ b/main.meta.js @@ -1,7 +1,7 @@ // ==UserScript== // @name PNGExtraEmbed // @namespace https://coom.tech/ -// @version 0.168 +// @version 0.169 // @description uhh // @author You // @match https://boards.4channel.org/* diff --git a/main.user.js b/main.user.js index f25f938..c5378d8 100644 --- a/main.user.js +++ b/main.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name PNGExtraEmbed // @namespace https://coom.tech/ -// @version 0.168 +// @version 0.169 // @description uhh // @author You // @match https://boards.4channel.org/* @@ -81,7 +81,7 @@ var define_BUILD_VERSION_default; var init_define_BUILD_VERSION = __esm({ ""() { - define_BUILD_VERSION_default = [0, 168]; + define_BUILD_VERSION_default = [0, 169]; } }); @@ -21308,9 +21308,6 @@ var customStyles = document.createElement("style"); customStyles.appendChild(document.createTextNode(global_default)); document.documentElement.insertBefore(customStyles, null); - var meta = document.querySelector('meta[name="referrer"]'); - meta.setAttribute("name", "referrer"); - meta.setAttribute("content", "no-referrer"); function processAttachments(post, ress) { if (ress.length == 0) return; diff --git a/src/main.ts b/src/main.ts index 1b73f86..decb47b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -408,9 +408,6 @@ document.addEventListener('QRDialogCreation', ((e: CustomEvent const customStyles = document.createElement('style'); customStyles.appendChild(document.createTextNode(globalCss)); document.documentElement.insertBefore(customStyles, null); -const meta = document.querySelector('meta[name="referrer"]') as HTMLMetaElement; -meta.setAttribute('name', 'referrer'); -meta.setAttribute('content', 'no-referrer'); function processAttachments(post: HTMLDivElement, ress: [EmbeddedFile, boolean][]) { if (ress.length == 0)