Perplexity Scroll Buttons (AFU IT)

Adds Apple-style scroll buttons with auto-scroll enabled by default

Skaber
afu-it
Daglige installationer
0
Installationer i alt
0
Bedømmelser
0 0 0
Version
1.1
Oprettet
07.05.2025
Opdateret
07.05.2025
Size
8,62 kB
Licens
MIT
Gælder for

Description
This userscript adds three convenient scroll buttons to Perplexity.ai that help you navigate long conversations more easily:

1. Down Arrow Button - Instantly scrolls to the bottom of the conversation
2. Up Arrow Button - Instantly scrolls to the top of the conversation
3. Mouse Icon Button - Toggles auto-scroll mode that automatically follows new content as it's generated

Features
- Apple-inspired design with clean, minimalist icons
- Teal color scheme (#20b8cd) that stands out without being distracting
- Auto-scroll functionality that follows Perplexity's responses as they're being generated
- Compact size that doesn't interfere with Perplexity's interface
- Hover effects for better user feedback
- Persistent across page navigation within Perplexity

Installation Instructions

Step 1: Install a Userscript Manager
If you don't already have one, install a userscript manager extension:
- Chrome/Edge: [Tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo)
- Firefox: [Tampermonkey](https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/) or [Greasemonkey](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/)
- Safari: [Tampermonkey](https://apps.apple.com/app/tampermonkey/id1482490089)

Step 2: Install the Script
1. Click on your userscript manager icon in the browser toolbar
2. Select "Create a new script" or "Add a new script"
3. Delete any template code
4. Copy and paste the entire script code
5. Save the script (Ctrl+S or Command+S)

Step 3: Use the Buttons
1. Go to [Perplexity.ai](https://www.perplexity.ai)
2. You'll see three buttons appear on the right side of the screen:
- Bottom button (↓): Scrolls to the bottom
- Middle button (↑): Scrolls to the top
- Top button (mouse icon): Toggles auto-scroll mode

Usage Tips
- Auto-scroll button changes color when active (teal when on, gray when off)
- Use the down arrow for an immediate scroll to the bottom at any time
- Use the up arrow to quickly return to the beginning of a conversation
- The auto-scroll feature only activates when Perplexity is generating a response
- If the buttons disappear after navigation, they should reappear within a few seconds

Troubleshooting
- If buttons don't appear, refresh the page
- If auto-scroll isn't working, try toggling it off and on again
- Make sure your userscript manager is enabled for Perplexity.ai domains

Customization
You can modify the script to change:
- Button colors (change the `buttonColor` variable)
- Button positions (adjust the `bottom` and `right` values in the CSS)
- Button sizes (modify the `width` and `height` values)
- Auto-scroll speed (change the interval value in the `toggleAutoScroll` function)