https://github.com/ckep1/pplx-never-suggest
A Tampermonkey userscript that hides the search suggestion dropdown and controls widget visibility on Perplexity.ai.
https://github.com/ckep1/pplx-never-suggest
perplexity perplexity-ai tampermonkey tampermonkey-userscript userscript
Last synced: about 2 months ago
JSON representation
A Tampermonkey userscript that hides the search suggestion dropdown and controls widget visibility on Perplexity.ai.
- Host: GitHub
- URL: https://github.com/ckep1/pplx-never-suggest
- Owner: ckep1
- License: mit
- Created: 2025-07-09T00:12:56.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-09T01:40:13.000Z (12 months ago)
- Last Synced: 2025-07-09T02:43:33.306Z (12 months ago)
- Topics: perplexity, perplexity-ai, tampermonkey, tampermonkey-userscript, userscript
- Language: JavaScript
- Homepage: https://greasyfork.org/en/scripts/542068-pplx-never-suggest-hide-perplexity-suggestions-widgets
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Perplexity Never Suggest
A userscript that hides suggestions, homepage primers, and upsell banners on Perplexity.ai.
## Why?
Perplexity's suggestion/widget settings reset across sessions and browsers. This script enforces them via localStorage overrides and CSS injection so they stay off permanently.
## What it hides
- **Suggestions** -- the autocomplete dropdown that appears while typing in the search bar
- **Homepage primers** -- the "For you" / "Finance" / "Health" category tabs and their suggested queries
- **Upsells & banners** -- enterprise ads, student space upsells, sidebar connector ads, Comet download banners, sports CTA
## Install
1. Install [Tampermonkey](https://www.tampermonkey.net/) (or Violentmonkey)
2. Open `pplx-never-suggest.user.js` from the [releases](https://github.com/ckep1/pplx-never-suggest/releases) tab
## Usage
Everything is on by default. Toggle individual features via the Tampermonkey menu (click the extension icon):
- **Hide Suggestions (typing)** -- autocomplete dropdown
- **Hide Homepage Primers** -- category tabs + suggestion cards
- **Hide Upsells & Banners** -- ads, CTAs, download banners
## How it works
Three layers of defense:
1. **localStorage overrides** -- sets Perplexity's own `pplx.local-user-settings.*` keys at page load and re-enforces them for 5 seconds while their React app initializes
2. **CSS injection** -- `display: none !important` rules injected at `document-start` (before render) targeting suggestion containers and primer sections
3. **MutationObserver** -- catches any late-rendered elements the CSS misses
## License
MIT