Greasy Fork is available in English.

Image Host Helper

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

< Opiniones de Image Host Helper

Puntuación: Bueno; el script funciona tal y como promete

§
Publicado: 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',

AnakundaAutor
§
Publicado: 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}",
...
}

Publicar respuesta

Inicia sesión para responder.