Perplexity Prompt Styling Fix (Light & Dark Mode - Correct Detection)

Keeps H1, makes text smaller (14px), reduces line spacing, improves light/dark mode contrast

目前為 2025-02-23 提交的版本,檢視 最新版本

作者
Argle Bargle
評價
0 0 0
版本
2.1
建立日期
2025-02-23
更新日期
2025-02-23
尺寸
2.1 KB
授權條款
MIT
腳本執行於

Description:

This userscript improves the readability of user prompts on Perplexity.ai by adjusting the font size, line spacing, and background styling while keeping the original H1 structure. It automatically detects Perplexity's actual light or dark mode setting (not system prefers-color-scheme) and applies the correct styling.

Features:

✅ Keeps the H1 but reduces text size for better readability
✅ Adjusts line spacing to make prompts more compact
✅ Adds a border and background for better visual separation
✅ Works in both light and dark modes, detecting Perplexity’s setting dynamically
✅ Uses MutationObserver to apply styling to new prompts

[Written by ChatGPT]

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址