You will need to install a user script manager extension to install this script.
About Adds a button to each gallery (and thumbnail on favorites page), that searches for it on EXhentai.
Useful for migrating favourites, or finding gallery variations.
Extremely long gallery titles will exceed e-h/ex search term limitations and may need to be pared down. To help with this, too-short-to-search terms, and various junk characters/punctuation are stripped.
If you don't have EXHentai access, you can change the
url variable at the top.