Hupotronic / ExLinks

A userscript to make E-Hentai & ExHentai links on 4chan & Foolz archive more useful. Includes ExSauce.
http://hupotronic.github.com/ExLinks/
46 stars 6 forks source link

ExLinks not fully converting links #33

Closed korgano closed 10 years ago

korgano commented 11 years ago

Installed ExLinks, but all the e-/exhentai links are showing up as [Ex] URL.

Here's what the Error Console gives me: Timestamp: 6/16/2013 9:07:07 PM Error: Source File: file:///C:/Users/____/AppData/Roaming/Mozilla/Firefox/Profiles/432optz4.Default/gm_scripts/ExLinks/ExLinks.user.js Line: 637

BasedVaal commented 11 years ago

Exlinks is not set up to use HTTPS without modification beyond the standard settings.

If it still doesn't work for you I'll look into it some more.

korgano commented 11 years ago

I would appreciate it, because none of the URLs in the threads are HTTPS ones and the thread itself doesn't have an HTTPS URL.

I'm using Firefox 21.0 on Windows 7 64 bit, in case that helps.

bitcores commented 10 years ago

The new version of Firefox blocks mixed content by default (loading http pages inside an https page for example). If you are browsing 4chan with https then exlinks can't load the exhentai pages because it is currently set to use http to access them. You can bypass this by editing your about:config and setting security.mixed_content.block_active_content to false, browsing 4chan using http or editing the exlinks script to remove all the http: in front of the urls until the script is properly updated to fix this issue.

Hupotronic commented 10 years ago

until the script is properly updated to fix this issue

This is not an issue that can be fixed on ExLinks' end. E-Hentai does not offer HTTPS for anything outside of its forums, so the API and thumbnails have to be requested over HTTP or they will not work at all. I've asked the admin of E-Hentai about this a couple times but he is not interested in doing anything about it on his end (E-Hentai would be very hard to make fully HTTPS due ot Hentai@Home serving up the majority of content), so sadly you're pretty much forced to either add 4chan to your mixed content blocking exceptions, disabling it as per above or just using 4chan over HTTP.

bitcores commented 10 years ago

I could have sworn I checked the edit to the script to make sure it worked, perhaps it was a latent change to the about:config still in affect. Anyway, the about:config option is still a way around this issue if you do not want to give up using https 4chan.