Skip to content

Enrich your browsing experience, whether it be on mobile (iOS) or your desktop (macOS)

Notifications You must be signed in to change notification settings

yanan20000/safari-userscripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

steven's userscripts

safari specific

  • AutoScroll.user.js (middle mouse scroll click drag wheel)
  • desktop virtual status bar (eg: Command+/)) (helps with Dock Exposé (sometimes the status bar is treated as a window!))
  • Instagram - require double escape key to run default escape (prevents exiting fullscreen mode when closing the popup picture viewer)

other features:

  • mobile keyboard.user.js (mobile virtual keyboard shortcuts)
    • three finger tap on any page to trigger a shortcut like on desktop
  • pagination with arrow keys (big sites I use: E-Commerce, Google, etc.)
  • delete accept cookies popup (Currently only for programming websites (eg: stackoverflow))
  • autofocus text inputs (with / ) and blur with escape key
  • scrolling with keys: wsik (aka the home rows: wasd, ijkl) (ad jl usually do something too)
  • social media (instagram, reddit, tiktok, youtube, yelp)

(Domain Specific) Userscripts features:

Google / Bing / Search Engines

  • sort search results by H(our) D(ay) M(onth) Y(ear) (ie: Shift + Y to sort by Year)
  • cmd+enter on search result = open in new tab
  • search by sites (eg: R(site:reddit.com) Q(site:quora.com), etc. --defined in config.user.js as "site_dict")

Reddit

  • sort thread comments by T(op) N(ew) O(old) C(ontroversial) B(est) Q(&A)
  • incognito auto dark mode

Instagram

  • scroll with i k w s (can use s & k at the same time (2x speed))

YouTube

  • scroll with i k w s
  • cmd+enter on YouTube search input = open query in new tab
  • Sort search results by H(our) T(oday) W(eek) M(onth) Y(ear) R(ating) U(pload Date) V(iew Count)
  • channel videos sort by T(op) N(ew) O(ld)
  • Comments sort by T(op) N(ew)
  • fullscreen theater mode, auto load comments
  • change all shorts links to regular video player
  • (mobile) keep scrolled past “Open in App” banner
  • Mark live chat as read w/ cmd+k and right click

TikTok

  • (mobile) make it usable while logged out
  • export your likes using yt-dlp enter “javascript:dl()” in address bar once you’ve scrolled to the bottom

About

Enrich your browsing experience, whether it be on mobile (iOS) or your desktop (macOS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%