I've been think this thread could probably be moved to the app section now that it really is an app/ext.
Just a thought.
Any desire for a fanart.tv user script?
Re: Any desire for a fanart.tv user script?
My body may be aging rapidly, but my mind is still tarp as a shack!
Getting Started
Navigating Fanart.tv
How Fanart.tv Works
Why Your Image May be Denied
Moderation Time
Unwritten Rules
Getting Started
Navigating Fanart.tv
How Fanart.tv Works
Why Your Image May be Denied
Moderation Time
Unwritten Rules
Re: Any desire for a fanart.tv user script?
Thanks for that by-the-way.Mordred wrote:Paszt's logo text function is awesome. Used it verbatim other than increasing the size of the images just a little bit.
Just a heads up here: the reason I made the logo smaller was because when there is no background, you make the section smaller. With the logo the size it is now, if there is no background there's a line through the bottom of the logo (the bottom borders of the .title_background & .title_background:after classes). Removing/not setting all the heights (or setting the height to inherit) is one possible fix.
Here's an example: http://fanart.tv/series/248012/a-bridge ... rry-skies/
The smaller size is also an issue without replacing the title text with the logo when the title is really long and spans two or more lines: http://fanart.tv/series/251457/the-hero ... gs-castle/
Re: Any desire for a fanart.tv user script?
Mordred,
Was wondering if we could keep current versions of files in the first post.
I'm happy to keep up with it if you don't want to be bothered with it.
At least a link to the extension.
Was wondering if we could keep current versions of files in the first post.
I'm happy to keep up with it if you don't want to be bothered with it.
At least a link to the extension.
My body may be aging rapidly, but my mind is still tarp as a shack!
Getting Started
Navigating Fanart.tv
How Fanart.tv Works
Why Your Image May be Denied
Moderation Time
Unwritten Rules
Getting Started
Navigating Fanart.tv
How Fanart.tv Works
Why Your Image May be Denied
Moderation Time
Unwritten Rules
Re: Any desire for a fanart.tv user script?
I'll add the link.
0.4.0 now live. Spent all evening working on lazy loading images. Seems to work pretty well... although there are some issues on the admin/approval pages. It's disabled by default, but give it a test on member pages (and admin).
Here's the logic:
If the page has less than 24 images, or the page finishes loading a quarter second after my script starts, just load regularly. Otherwise, create a list of all image elements on the page, and store the original src. Then I call window.stop() to kill the page from loading further. Then I set a scroll handler on the page which will wait 250ms after the last scrolling event and then loops through the saved image list, find all that are either currently visible, or within one page above or below the current window, and then set their src's back to the original values which causes the image to actually load.
There are probably some quirks, however it makes it possible to view leepenny's moviediscs relatively easily.
0.4.0 now live. Spent all evening working on lazy loading images. Seems to work pretty well... although there are some issues on the admin/approval pages. It's disabled by default, but give it a test on member pages (and admin).
Here's the logic:
If the page has less than 24 images, or the page finishes loading a quarter second after my script starts, just load regularly. Otherwise, create a list of all image elements on the page, and store the original src. Then I call window.stop() to kill the page from loading further. Then I set a scroll handler on the page which will wait 250ms after the last scrolling event and then loops through the saved image list, find all that are either currently visible, or within one page above or below the current window, and then set their src's back to the original values which causes the image to actually load.
There are probably some quirks, however it makes it possible to view leepenny's moviediscs relatively easily.
Re: Any desire for a fanart.tv user script?
yeah - this is great - snappy and functional - a great addition - coooooooooooool !
Re: Any desire for a fanart.tv user script?
Tried going into leepenny's disc art collection, but my browser slowed me down anyway :/
Re: Any desire for a fanart.tv user script?
Did you enable lazy loading first?
That page is still pretty huge, so it's not going to be fast but it ought to be usable at least. If it's not, blame leepenny for being too prolific. There might be something else I can do if you guys aren't seeing any benefit, but I'm not sure.
BTW, expect some other images on the page to never load properly if lazyloading is enabled. Particularly the chat bar. I can probably do something to fix that, but we'll see.
That page is still pretty huge, so it's not going to be fast but it ought to be usable at least. If it's not, blame leepenny for being too prolific. There might be something else I can do if you guys aren't seeing any benefit, but I'm not sure.
BTW, expect some other images on the page to never load properly if lazyloading is enabled. Particularly the chat bar. I can probably do something to fix that, but we'll see.
Re: Any desire for a fanart.tv user script?
I most certainly did not. Works now. Big improvment!Mordred wrote:Did you enable lazy loading first?
That page is still pretty huge, so it's not going to be fast but it ought to be usable at least. If it's not, blame leepenny for being too prolific. There might be something else I can do if you guys aren't seeing any benefit, but I'm not sure.
Re: Any desire for a fanart.tv user script?
I take all the blame - I have broad shoulders - LOL
'prolific' - hehe - I like that
Why does everyone want to browse my disc section (no euphemism) - is it a benchmark test LOL
'prolific' - hehe - I like that
Why does everyone want to browse my disc section (no euphemism) - is it a benchmark test LOL
Re: Any desire for a fanart.tv user script?
Indeed it isleepenny wrote:I take all the blame - I have broad shoulders - LOL
'prolific' - hehe - I like that
Why does everyone want to browse my disc section (no euphemism) - is it a benchmark test LOL