From 3987d7bf76360c530985757dfcb0838b066d4bc2 Mon Sep 17 00:00:00 2001 From: mrcyclo Date: Thu, 26 Oct 2023 14:42:55 +0700 Subject: [PATCH] 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', +];