Skip to content

Instantly share code, notes, and snippets.

@ssig33
Last active December 21, 2015 11:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ssig33/6301846 to your computer and use it in GitHub Desktop.
Save ssig33/6301846 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name rate1 only on kakaku.com's review
// @include http://review.kakaku.com/review/*
// @description 価格.comのレビューで満足度が 1 のものだけ表示
// ==/UserScript==
jQuery(function(){
jQuery.each(['2','3','4','5'], function(k,v){
jQuery.each(jQuery('#mainLeft div div div div div div div div table.total tr td.rate'+v),
function(k,v){
jQuery(v).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().hide();
});
});
});
@ssig33
Copy link
Author

ssig33 commented Aug 22, 2013

user.js インストールしたくなければ、ブラウザのコンソールから

jQuery.each(['2','3','4','5'], function(k,v){jQuery.each(jQuery('#mainLeft div div div div div div div div table.total tr td.rate'+v),function(k,v){jQuery(v).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().hide();});});

を実行するのでもいいです。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment