GithubHelp home page GithubHelp logo

braveulysses / yelp-without-pity Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 160 KB

Safari extension that blocks unwanted reviewers on Yelp.

Home Page: http://cobralibre.github.com/Yelp-Without-Pity/

JavaScript 100.00%

yelp-without-pity's Introduction

Yelp Without Pity

The problem with Vietnamese food is fish sauce.

I lived in Chicago for four weeks when I was a college student, so I think I'm entitled to some strong opinions about pizza.

All I wanted was a frozen marg, but the waitress didn't even speak English.

The lack of Diet Coke ruined this meal.

Obnoxious Yelp reviewers getting you down? Sick of that guy who wants to be the Hunter S. Thompson of food reviews? Had an epiphany about the incommensurability of taste? If you're running Safari 5, there's Yelp Without Pity. Use YWP to hide anybody you don't want to see -- forever!

Or... if you're really old and nerdy, think of it as a killfile for Yelp.

How to install and use

  1. Enable Safari 5 extensions.
  2. Download yelp-without-pity.safariextz.
  3. Safari will probably prompt you to install. If it doesn't, double-click the file to install it.
  4. Go to Yelp.
  5. Log in.
  6. Look up a business. Notice how every reviewer now has a Block This Reviewer link? Click on that when you want to hide somebody forever.

Frequently Asked Questions

I've changed my mind about blocking somebody. How do I unblock that person? There's currently no way to do that.

Really? Well, no. But it's a pain. You'd need to open the Web Inspector from Safari's Develop menu, then open the YWP settings database, and delete the user using a SQL query.

For crying out loud. Yeah.

License

All code is BSD-licensed.

Copyright (c) 2010, SNF Labs, Jacob Childress
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of SNF Labs nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

yelp-without-pity's People

Contributors

braveulysses avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

yelp-without-pity's Issues

Web Inspector shows duplicate settings databases

The Safari Web Inspector lists two identical settings databases for YWP. Is this a Safari bug or a problem with the extension?

Expected:
Only one copy of yelpWithoutPityDB should be shown by Web Inspector.

Actual:
Two are listed.

Notes:
Preferences -> Security -> Show Databases only lists one db, making it likely that this is a Web Inspector bug. If so, a bug needs to be filed at webkit.org.

Steps:

  1. Go to yelp.com.
  2. Open Web Inspector.
  3. Look in Storage -> Databases. Two copies of yelpWithoutPityDB will be present.

Support non-logged in Yelp users

Currently, YWP only works if the user is logged in to Yelp. Non-logged in user should be supported.

Depending on how this is implemented, it might be desirable to track settings on a per-login account basis, with non-logged in users counting as a single account. One way to do this would be to add a login column to the settings table, checking if the user is logged in when the script starts, then saving the account name (or null) every time a row is added.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.