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

< 腳本Image Host Helper的回應

評論:正評 - 腳本一切正常

§
發表於:2022-05-16

Hi, Anakunda.

Thanks your powerful script, it helps me a lot.

I'd like to drop/paste the images when I chatting at IRC with thelounge WEB-UI. I've add custom URL matches in script options,but it failed.

Just as what you said, "On sites implementing 3rd party applets or custom edit controls it certainly won't work."

Can I make a new request? Can you help the script to support the thelounge WEB-UI.

Thanks!

Anakunda作者
§
發表於:2022-05-16

The site is using compatible components, your problem is in most of the content generated in real time.
For your case the storage entry should make it detectable after ihh update:

"site_dynaloads": { "demo.thelounge.chat": ["div#viewport"] }

Since the chatbox input is multiline <Alt> key may be needed for drag&drop to insert the hotlinks as raw, copy&paste inserts always as bbcode anyway.

§
發表於:2022-05-17

Thanks Anakunda, but I failed again after adding them.

The images shows the setting

Anakunda作者
§
發表於:2022-05-17

I can't reproduce, what's your browser vendor and what's your IHH version?

§
發表於:2022-05-17

Chrome 101.0.4951.64 with Image Host Helper 1.91.0

Thanks again.

Anakunda作者
§
發表於:2022-05-17

Works for me on Chrome 101 and TM 4.16.1. You can use user matches instead user includes and verify if the TM submenu shows IHH active on the site, and save somewhere content of browser's console after attempt to drop/paste image into chat input, otherwise no clues.

§
發表於:2022-05-18

Great! It works after I use user matches instead user includes.

Thank you very much!

§
發表於:2022-06-15
編輯:2022-06-15

Good morning, Anakunda.

Thanks for the great script. It was working fine but at some point it stop working with PTP but it works with other sites at CoverArt: section. Please advise.

IHH 1.91.0
FF 101.0.1

發表回覆

登入以回復