Twitter image viewing enhancement

Make Twitter photo viewing more humane

< Commentaires sur Twitter image viewing enhancement

Avis: Mauvais - le script ne fonctionne pas

§
Posté le: 28/07/2019

Not working for me.

Pretty cool concept, but it's not working for me. I refreshed twitter after I loaded the script, went to a new post with two images. Clicking the image once opened doesn't close it, and my mouse wheel didn't do anything.

神代綺凛Auteur
§
Posté le: 28/07/2019

Thank you for your feedback.

This script should only work on the new interface of Twitter, or could you check console to see if there are some error output?

神代綺凛Auteur
§
Posté le: 28/07/2019

Another possibility is that since I required JS with Chinese CDN, you did not load it successfully.

You can edit the script and modify @require with other CDN like CDNJS.

§
Posté le: 29/07/2019

I got these in the console.

Loading failed for the <script> with source “https://codefund.app/properties/230/funder.js”.  387918-twitter-image-viewing-enhancement:216

Loading failed for the <script> with source “https://js-agent.newrelic.com/nr-1130.min.js”.

For the modification of the script, I'm not sure what I should do. Sorry, I'm unfamiliar with javascript. Currently I have these @require lines:

// @require      https://cdn.bootcss.com/jquery/3.4.1/jquery.slim.min.js
// @require      https://cdn.bootcss.com/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js
神代綺凛Auteur
§
Posté le: 29/07/2019

It seems that there is no error with this script.

You can try to access https://cdn.bootcss.com/jquery/3.4.1/jquery.slim.min.js directly.

If you can access it, I have no idea where the problem is.

If not, try to use this:

// @require      https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js
// @require      https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js
§
Posté le: 19/04/2020

Hi, it's been a while and I tried using this script again, but it's still not working.

I am using Waterfox 2020.04 (64-bit) edition with Violentmonkey. I don't know if this information helps.

If you mean access as in "visit the page", yes I can open that js file site and the text contents opens properly.

神代綺凛Auteur
§
Posté le: 19/04/2020

I have tested that it works with Violentmonkey in Chrome.

Maybe this is a browser issue.

§
Posté le: 19/04/2020
Édité le: 19/04/2020

Sorry, I have no idea.... It may indeed be a browser issue. I'll try to ask the subreddit about waterfox.

Edit: Posted https://old.reddit.com/r/waterfox/comments/g4f9bk/thisuserscriptdoesntworkforsomereason_and/

Poster une réponse

Connectez-vous pour poster une réponse.