Craigslist Hide-a-Neighborhood

By harshinvective Last update Dec 29, 2008 — Installed 423 times. Daily Installs: 0, 0, 0, 0, 0, 0, 1, 0, 0, 5, 0, 1, 0, 0, 0, 2, 0, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1
Script Summary:
Shows entries from multiple neighborhoods when searching craigslist, or filters out entries from specific neighborhoods. Uses a toggle-able checkbox interface.
Version: 1.0.3

This script has no discussions.

start the discussion

Review Summary
5 stars
1 reviews (1)
4 stars
0 reviews (0)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 1 review

When viewing listings, would you like to view results from several neighborhoods at once, or hide specific neighborhoods? This script allows you to do that for all search results pages that have a "Neighborhood" dropdown.

To use the script:

  1. Go to a search page with a neighborhood dropdown.
  2. Enter at least one search term and click "Search". Be sure to select "All Neighborhoods" from the neighborhood dropdown.
  3. Click the blue arrow icon to toggle the interface.
  4. Delesect the checkboxes for neighborhoods you wish to hide.

When you deselect a checkbox, it will hide all listings from the corresponding neighborhood. Selections are retained across pages and sessions using a cookie, which is specific to the current search category (e.g. selections for Apartments in Manhattan won't carry over to Apartments in Queens or to Sublets in Manhattan).

Note that the script only works on *search results* pages currently, i.e. pages with "search" in the url. Therefore, when you first click on a tab for an area (borough, city, etc.) to see the overview page, the script won't run. This limitation is a result of the way craigslist generates search urls--I'm unable to get the cookie to work on both the overview and the search results. The script also doesn't work on the "All [your metro area]" tab, since it requires the "Neighborhood" dropdown to operate.