evazion / translate-pixiv-tags

MIT License
35 stars 6 forks source link

No longer works #56

Closed MarqFJA87 closed 3 years ago

MarqFJA87 commented 3 years ago

The script abruptly stopped working completely on Twitter, Pixiv, DeviantArt, and possibly other sites. I'm using Chrome on Windows 10, fully updated.

7nik commented 3 years ago

Can you disable Tampermonkey (on chrome://extensions/ ) and enable it back? If it fixes, then it is the external bug https://github.com/Tampermonkey/tampermonkey/issues/1215

MarqFJA87 commented 3 years ago

I tried that, and it didn't fix it. For the record, I have already restarted Chrome just in case, and it did nothing.

7nik commented 3 years ago

Well, are there any related errors in the console? And does TM say the userscript is running?

MarqFJA87 commented 3 years ago

Yes, TM says the userscript is running. When I open the console, however, I find that there are several errors pertaining to userscripts that seem to be trying to access Danbooru (each one ending with a failure), with the Issues sidebar noting that "Content Security Policy of your site blocks the use of 'eval' in JavaScript".

7nik commented 3 years ago

Sounds as it cannot connect to Danbooru or, hm, Danbooru reject requests? Hard to say without details. Are you able to visit Danbooru? And maybe try TM Beta?

MarqFJA87 commented 3 years ago

Huh. I just realized that I'm indeed unable to access Danbooru right now without the use of Psiphon as a VPN, even though I've been able to for what seems like forever now. No "this page was blocked" message page like I'd see when I try to access pages that have been actively blocked by my country's censors, though.

How error-prone should I expect TM beta to be?

7nik commented 3 years ago

So, there is nothing to do with TM beta. You just need to fix your access to Danbooru. You can ask for help at their Discord https://discord.gg/VfJf34HC

MarqFJA87 commented 3 years ago

So, there is nothing to do with TM beta. You just need to fix your access to Danbooru. You can ask for help at their Discord https://discord.gg/VfJf34HC

Danbooru became accessible again about 36 hours ago, and with it the script has started working again; consulting with the people at Danbooru presented the possible explanation that the issue is with Cloudflare suffering an outage, since it provides the site's security certificate.

UmbraVivens commented 3 years ago

i'm having problems with the script too, except i have absolutely no issue with access to danbooru. it only works "by random bursts". like i can be on tweetdeck and as i scroll the script's features appear in like a couple tweets and no more, or see an account at twitter.com and the script features appear, until i refresh... but it seems to only work 100% in saucenao results page. i just tried the "turning TM off and on" but didn't work

7nik commented 3 years ago

Are there any suspicious errors in the console?

UmbraVivens commented 3 years ago

didn't check before but yes, this is what the console on pixiv said image image

the second screenshot looks different somehow, but i took it when i refreshed after taking the first one

7nik commented 3 years ago

Well, likely it means that Danbooru is too busy so you don't get a response. I'll try to look deeper later.