Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Userscript for better display of galleries

 
post Mar 30 2016, 00:29
Post #1
Tsuzuriko



Lurker
Group: Lurkers
Posts: 4
Joined: 30-March 16


I just found an interesting user script that improves the gallery view by kind of simulating the photo viewer of windows and thought about sharing it here.
[openuserjs.org] https://openuserjs.org/scripts/Ileca/Ilecas_Fap_Viewer
[greasyfork.org] https://greasyfork.org/fr/scripts/18767-ileca-s-fap-viewer
[gist.github.com] https://gist.github.com/Ileca/0c1c2a7f3732d...d677015d9766023

Unfortunately, it's not Firefox compatible (edit: now it is), but the guy might do it in a future release even though you know how it works, that never happens until someone asks or the stuff get supported enough to justify an update. I was thinking about asking him to not hide the pagination but I am not sure the "issues" tab is the place to do it.

This post has been edited by Tsuzuriko: Apr 14 2016, 21:40
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 30 2016, 01:01
Post #2
karyl123



Hey Tayo !!!
*******
Group: Gold Star Club
Posts: 1,659
Joined: 9-January 11
Level 452 (Godslayer)


good luck to have IP ban, if the script causing heavy load to gallery,

solution : donate 100 usd

or play HV and get credits, buy multi page viewer hath perk.

demo : https://e-hentai.org/mpv/530350/8b3c7e4a21/

This post has been edited by karyl123: Mar 30 2016, 01:02
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 30 2016, 01:09
Post #3
blue penguin



in umbra, igitur, pugnabimus
***********
Group: Gold Star Club
Posts: 10,046
Joined: 24-March 12
Level 500 (Godslayer)


That thing wouldn't cause a heavy load, it only makes a fuckload of CSS. I'm just wondering why it uses the Y, U and I keys? I could understand A,S,W,D (CS habit) or H,J,K,L (vi habit)but why Y,U,I?

Mutation observer is supported by mozilla, the incompatibility is only in the assigning of CSS i believe.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 30 2016, 01:09
Post #4
Tsuzuriko



Lurker
Group: Lurkers
Posts: 4
Joined: 30-March 16


What are you talking about? It's just CSS cosmetic and in no way it mess up with how the site works. It's not using the API if that's what you meant.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 30 2016, 11:13
Post #5
@43883




************
Group: Gold Star Club
Posts: 31,482
Joined: 6-March 08
Level 500 (Newbie)


Tsuzuriko is right, CSS is purely cosmetic and won't give extra server load. Excessive manual refreshes are PEBKAC related.
The only direct danger I see here is the @include. Might want to change it to a simple @match regular expression, this will increase the scope as a bonus.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 14 2016, 21:38
Post #6
Tsuzuriko



Lurker
Group: Lurkers
Posts: 4
Joined: 30-March 16


Much better version 2.0.0 is up.

QUOTE
  • Firefox compatible
  • Switch IFV/Original mode and vice versa
  • IFV/Original mode at startup setting
  • Hotkeys remapping (sorry)


[openuserjs.org] https://openuserjs.org/scripts/Ileca/Ilecas_Fap_Viewer
[greasyfork.org] https://greasyfork.org/fr/scripts/18767-ileca-s-fap-viewer
[gist.github.com] https://gist.github.com/Ileca/0c1c2a7f3732d...d677015d9766023
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 16 2016, 22:02
Post #7
bobjoephil



Casual Poster
***
Group: Gold Star Club
Posts: 132
Joined: 19-December 09
Level 407 (Godslayer)


Excellent script. MPV probably still better for manga reading but for selective gallery downloads like I usually do this means I can re-enable source nexus, which saves me from having to deal with download original links.

One small improvement I'd recommend is adding the file size/name somewhere. I put it on the image title with this in resizer()

img.attr('title', $("#i4 div").html());

But I wouldn't mind some config to put it on the bottom of the screen or something like that (I'm not fluent enough in jquery to figure that one out).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 31st March 2025 - 21:38