Image Host Helper

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

< Image Host Helper 피드백

리뷰: 좋음 - 잘 동작함

§
작성: 2024-12-28

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',

Anakunda개발자
§
작성: 2024-12-28

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}",
...
}

댓글 남기기

댓글을 남기려면 로그인하세요.