[Userscript] DERP Fullscreen Viewer [0.7.16]

Started by St@SyaN
Posted
18 replies
Login to subscribe to responses
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
Still alive

tl;dr install
and settings

Tweak CSP to make it work

My script, which hides most panels and zooms pictures for the best fit into screen.

$Screenshots and description

It adds small button "Enable Fullscreen" around userbox in top right corner, and if fullscreen enabled, images will be showed like on the screenshots. Left and right areas can be used for listing.


Fullres image may be zoomed in/out and scrolled by mouse movements.


UI may be hidden automatically, if not used.


There are "popup" window for a comments…


…and for general site UI (notifications are shown on the button directly).


Tags can be viewed and edited too.


UI can be recolored


And there is also alternative fullscreen layout


Uses YourBooru:Settings for settings
————————————————

Please notice, that you should have installed Tampermonkey or Greasemonkey plugin for using!

Install [v0.7.16]
Separate Settings

————————————————

If you have any suggestions you may leave it here :)

PS: English isn’t my native language, so there could be some mistakes :D
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
updated to 0.1.8a

– third mode (original size of pictures) now works!
– - mouse wheel for zooming
– - move cursor to the edges for scrolling (near 1/5 – slow, 1/20 – fast)
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
updated to 0.1.9a

– added settings menu
– - view style – select which one you prefer
– - – minimal – just like original scale viewing, only scrolls and "disable fullscreen"
– - – default – it’s how the fullscreen was for all the time
– - – extended – (will be implemented later) also some editing tools
– - hide advertising – obviously, hides advertising. Previous version hides it anyway.
– - scroll speed – how fast original size images are scrolling
– - scroll multiplier – in how many times scroll will be faster around edges of the screen (affects at zooming too!)
– - warning size – if picture’s linear sizes are more than you entered here, you will see red thing as at the screenshot. It may be useful to alert you if your browser crashes while trying to show VERY large images.
– few small tweaks

If you find a bug (or typo, doesn’t matter) please write here :)
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
finally updated to 0.2

– extended mode
– - edit tags and source without leaving fullscreen!
– viewing comments (and leaving comments, of course)
– home link on top
– notifications (you will see it)
– I also fixed few things, which I can’t remember, as always

It’s going to be the last updating because I did everything I want. But if somebody have a suggestion, you still may write it here.
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
updated to 0.2.1

– fixed notifications while not signed in
– fancy tag editor now working correctly
– better-working bottom panel
– you can enable block from accidental zooming of extremelly large images
– links with #comments now working correctly
– settings and commentary window can be closed via clicking at any place
– Krausbooru compatible
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
updated to 0.2.2a

– added notification about new messages
– editing descriptions in extended mode
– extrameta is always showing correctly in fullscreen now
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
Well, as you can see, due site style update userscript stopped working. I gonna fix it someday, but it will take a long time, because most selectors should be changed :c
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
Thank you for the patience, now it’s available for everyone! All info in the first post.

P.S.: There is also settings for which exactly button will be showed on top right corner and which color bottom bar will be, but for now YDB:S cannot render it. Stay tuned.
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
Welp, right now site layout became complete shit and I need great amount of time to make script work for next few hours until new changes will be done (and I’m tired to do that every day). So script won’t be updated until devs done their experiments.

UPD: if you don’t want to turn off script completely because of color schemes, current update disables fullscreen if active once. Do not turn it on again.
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
The functionality has been restored, and I have no idea how long it will work. Also I accidentally added alternative UI.
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
Probably I fixed everything that may not work correctly.
Also since content-fanmade tag color appeared, I added new color palette: girlish booru

Current color schemes by tags:
Pink — content-fanmade
Magenta — oc
Red — error
Orange — spoiler
Yellow — content-official
Green — normal tag
Cyan — character
Blue — rating
Violet — origin
Grey — special
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
Added new mode: "All in one"
– images loads as always *
– script loads full version at background
– you may use mouse wheel to zoom without clicking
– full image version immediately inserts if there is a reason for it
– you still may click on image to switch between "100%" ** and "fit to screen" zoom
– UI shows automatically when image fits on screenand hides when image enlarged

* webm and gifs will should (not always -_- sometimes you still need to click once) be loaded in maximum quality from the start and never been reloaded (except if window was resized) because it resets playing time may be buggy for webms. Script itself still doesn’t compatible with "Always load full resolution" option from WebM Volume Toggle by Marker.
** if comic tag exists, image will be fitted by top or left side for better reading.
Interested in advertising on Derpibooru? Click here for information!
Pony Palace, a Pony community that offers roleplay, games, voice chat, music, Art, etc. We are active and we appreciate having you. SFW and NSFW.

Derpibooru costs over $25 a day to operate - help support us financially!

Syntax quick reference: *bold* _italic_ [spoiler]hide text[/spoiler] @code@ +underline+ -strike- ^sup^ ~sub~