Skip to content

Instantly share code, notes, and snippets.

@moyashi
Created February 20, 2014 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moyashi/9107616 to your computer and use it in GitHub Desktop.
Save moyashi/9107616 to your computer and use it in GitHub Desktop.
EgoProwlで検索クエリに-noprowlが付いてたら対象にしないという改造
# 新設判定メソッド
def qualified_query?( query )
if ( query.include?('-noprowl') )
return false
else
return true
end
end
# get_saved_searchesの中
if ( qualified_query?(obj['query']) )
newKeys.push(obj['id'])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment