An open API service indexing awesome lists of open source software.

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.

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