Car Listing Filter

Hide specific car makes/models from listing results

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
shipit-0fux
評價
0 0 0
版本
v0.0.3
建立日期
2025-02-06
更新日期
2025-02-06
尺寸
4.3 KB
授權條款
MIT
腳本執行於

🚫 Not-In-My-Garage 🚫

Ever notice how car shopping sites let you filter **for* specific makes and models, but none of them let you say "show me EVERYTHING EXCEPT Nissan Rogues"?*

This frustration led to Not-In-My-Garage: a Tampermonkey userscript that finally lets you banish those unwanted vehicles from your car shopping experience.

A simple but powerful tool that automatically hides listings for vehicles you never want to see again. Because some cars just don't deserve a spot in your garage.

Features

  • Automatically hides listings for specified makes/models
  • Works across multiple car shopping sites:
    • Cars.com
    • AutoTrader.com
    • Carvana.com
    • Carmax.com
    • CarFax.com
    • CarGurus.com
  • Customizable block list
  • Instant filtering as you browse
  • No page reloads required

Installation

  1. Install Tampermonkey for your browser TODO: finish this bit

Configuration

Edit the blockedModels array in the script settings to customize which vehicles you want to hide:

const blockedModels = [
    'buick encore',
    'dodge journey',
    'ford ecosport',
    // Add your automotive nemeses here
];

Adding Support for New Sites

Quick guide to add a new car shopping website:

  1. Create a new site handler in sitesConfig object:
const siteConfig = {
    'www.example.com': {
       container: '.listing-card', // CSS selector for each listing that will be hidden
       textElement: '.vehicle-title',   // CSS selector in which to search for a blocked model
    }
};

Disclaimer: This script is not affiliated with any of the supported car shopping websites.

Contributing

Found a bug? Want to add support for another car site? PRs welcome! https://github.com/shipit-0fux/not-in-my-garage/tree/main

Known Issues

  • Some sites may update their layouts, potentially breaking the filters
  • Currently case-sensitive matching only

License

MIT License - See LICENSE file for details

  • Inspired by countless hours of scrolling past Nissan Rogues

Disclaimer: This script is not affiliated with any of the supported car shopping websites.