From 3987d7bf76360c530985757dfcb0838b066d4bc2 Mon Sep 17 00:00:00 2001 From: mrcyclo Date: Thu, 26 Oct 2023 14:42:55 +0700 Subject: [PATCH 1/2] Add bluemediafile bypass --- src/bypasses/bluemediafile.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/bypasses/bluemediafile.js diff --git a/src/bypasses/bluemediafile.js b/src/bypasses/bluemediafile.js new file mode 100644 index 00000000..d8c4323c --- /dev/null +++ b/src/bypasses/bluemediafile.js @@ -0,0 +1,23 @@ +import BypassDefinition from './BypassDefinition.js'; + +export default class Bluemediafile extends BypassDefinition { + constructor() { + super(); + this.ensure_dom = true; + } + + execute() { + if (location.href.match(/\/url-generator(-\d+)?\.php\?url=/) === null) + return; + + window.Time_Start -= 5000; + window.i = 0; + this.helpers.awaitElement('input#nut[src]', (i) => i.parentNode.submit()); + } +} + +export const matches = [ + 'bluemediafiles.com', + 'bluemediafile.sbs', + 'bluemediafile.site', +]; From abda320456460b1fbb736131a0812d5fc11cf565 Mon Sep 17 00:00:00 2001 From: mrcyclo Date: Thu, 26 Oct 2023 15:04:23 +0700 Subject: [PATCH 2/2] Update Bypassed.md --- docs/Bypassed.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Bypassed.md b/docs/Bypassed.md index 664509fe..14f65fca 100644 --- a/docs/Bypassed.md +++ b/docs/Bypassed.md @@ -82,6 +82,7 @@ This is a list of websites bypassed in the MV2 version of the extension. | https://playhindi.com | 🛑 | | https://daominhha.com/ | ✅ | | https://bluemediafiles.com/ | 🛑 | +| https://bluemediafile.site/ | ✅ | | https://pcgamestorrents.org/ | ✅ | | https://retrosping.net/ | 🛑 | | https://mydramalist.com/ | ✅ |