Skip to content

NightLancer/PixivPreview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

PixivPreview

Script is written for better www.pixiv.net usability. (Install)

General features:

• Showing enlarged preview of artworks on mouse hovering*.
• Highlighting authors from your "Followed" list, so you can quickly distinguish them.
• Non-premium history that can store ~10x more amount of records without time limit.
• Auto-Pagination on Following and Users pages.
• Makes recommendation block(appearing after follow) scrollable, arts preview also available.
• Enlarging also works on users profiles preview.

Mouse features on previews:

• LMB-Click - Opens source of artwork in new tab.
• MMB-Click - Opens corresponding artwork page in new tab.
• CTRL+LMB - Instantly download the original of artwork.
• Shift+LMB - Delete artwork from history.
• ALT+LMB - Add artwork to bookmarks.

■ Preview of single artworks appears aligning to left top corner of image block, or screen border(if it doesn't fit).

■ Preview for multiple artworks viewed as gallery and positioned in the center of the screen (with scrollbar if needed).

■ The names of the authors you are already subscribed to are highlighted with green.

■ History is not limited to the time, only to localStorage space(which can be increased). Approximate amount of records without other scripts - 100 000. History can be exported to script manager storage by pressing Shift+E on history page for backup/transferring to another browser.

■ Settings menu is available by the clicking on "Related services" icon, that is located in right top corner of site page. Settings are saved and (if possible) immediately applied after menu is closed by the clicking on any other space.

Preferences:

■ PREVIEW_ON_CLICK =
false : showing preview on mouseover (*default)
true : showing preview after LMB-Click

■ DELAY_BEFORE_PREVIEW =
0 : no delay before preview
100 : 0.1 second delay (1000 for 1 second, etc) (default)

■ PREVIEW_SIZE =
auto : automatically calculate preview size (1200 or 600) depending on current screen size (default)
600 : up to 600px x 600px
1200 : up to 1200px x 1200px

■ ENABLE_AUTO_PAGINATION =
false: disable auto pagination
true: enable auto-pagination on Following and Users pages (default)

■ DISABLE_MANGA_PREVIEW_SCROLLING_PROPAGATION =
false : keeping page scrolling after end of manga preview scrolling (default)
true : disable page scrolling when viewing manga preview (move mouse out of preview to re-enable scrolling)

■ SCROLL_INTO_VIEW_FOR_SINGLE_IMAGE =
true : preview of single image will smoothly fit to vertical screen border after one scroll (default)
false : manually scrolling (may need in case of forced 1200px vertical preview with small user screen)

■ DISABLE_SINGLE_PREVIEW_BACKGROUND_SCROLLING =
false: standard behavior (default)
true : disable page scrolling when viewing single preview (works only if previous setting set to true)

■ HIDE_PEOPLE_WHO_BOOKMARKED_THIS =
false: don't change bookmark_detail.php page (default)
true: hide "People who bookmarked this" section

■ KEEP_OLD_DATE_OF_ALREADY_VIEWED_ARTWORKS =
false: update date every time artwork page opens (default)
true: don't renew date and keep first one (NOTE: art will not appear at the top of the history)

Supported pages:

  • New illustrations
  • Discovery
  • Daily rankings
  • Artwork page
  • Users pages
  • Bookmarks
  • History
  • Search
  • Main page

About

Showing an enlarged preview of arts/manga, highlighting followed users, providing history better then premium on pixiv

Topics

Resources

License

Stars

Watchers

Forks