Image Host Helper

Directly upload local / rehost remote images or galleries to whatever supported image host by dropping/pasting them to target field

< Feedback on Image Host Helper

Değerlendirme: İyi - script çalışıyor

§
Gönderildi: 28.12.2024

Alway falling back to IMGBB when ptpimg not working.
I've replaced imgbb with jerking in 2 places like this:
const generalImgHosts = [
'Jerking', 'PixHost', 'ImgBox', 'Slowpoke', 'PostImage', 'Gifyu',
'Ra', 'Abload', 'VgyMe', 'GeekPic', 'LightShot', 'ImgURL', 'Radikal', 'Z4A', 'PicaBox', 'PimpAndHost', 'SMMS',
'PomfCat', 'CasImages', 'CubeUpload', 'GooPics', 'ImageBan', 'UuploadIr', 'LinkPicture',
'Imgur', 'Catbox', 'ImageVenue', 'GetaPic', 'FastPic', 'SVGshare',
];
['upload_hosts', 'rehost_hosts'].forEach(propName => { if (!GM_getValue(propName))
GM_setValue(propName, ['PTPimg'].concat(generalImgHosts).join(', ')) });
[
['passthepopcorn.me', [
'PTPimg', 'Jerking', 'PixHost', 'ImgBox', 'Slowpoke', 'Gifyu',
'Ra', 'Abload', 'VgyMe', 'GeekPic', 'LightShot', 'ImgURL', 'Radikal', 'Z4A', 'PicaBox', 'PimpAndHost', 'SMMS',
'PomfCat', 'CasImages', 'CubeUpload', 'GooPics', 'ImageBan', 'UuploadIr',
'Catbox', 'ImageVenue', 'GetaPic',

AnakundaSahip
§
Gönderildi: 28.12.2024

If you try to replace the orders directly in code it might not work as the script stores it's global and site config in storage. You may need to edit the respective key in storage:

{
...
"yoursite.com": "PTPimg, Jerking, ImgBB, {...all the other fallbacks}",
...
}

Cevap paylaş

Yanıt göndermek için oturum açın.