From 9b727729ec4c53fad93e41bf0e4bb21021437bdc Mon Sep 17 00:00:00 2001 From: anekos Date: Sun, 1 Apr 2012 18:13:04 +0900 Subject: Poor Update: S.currentEntry.unfold.content --- google-plus-commando.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'google-plus-commando.js') diff --git a/google-plus-commando.js b/google-plus-commando.js index 502a006..2b800f6 100644 --- a/google-plus-commando.js +++ b/google-plus-commando.js @@ -415,11 +415,15 @@ let g:gplus_commando_map_menu = "m" currentEntry: { root: cssRules.finder(/border-left: 1px solid rgb\(77, 144, 240\);\s*\}/), unfold: { - comment: cssRules.finder(/url\("\/\/ssl\.gstatic\.com\/s2\/oz\/images\/stream\/expand\.png"\)/), + comment: cssRules.finder(/url\("\/\/ssl\.gstatic\.com\/s2\/oz\/images\/stream\/expand\.png"\);\s*background-repeat/), content: function () { + /* + * FIXME UghhhhhHHhaaa let content = cssRules.find(/\{ overflow: hidden; padding-bottom: \d+px; padding-top: \d+px; text-overflow: ellipsis ellipsis; \}/); let buttons = cssRules.find(/^[^,]+\,[^,]+\{\s*color:\s*rgb\(51, 102, 204\);\s*cursor:\s*pointer;\s*\}$/); return buttons.split(/,/).map(function (b) (content + ' > div > ' + b)).join(', '); + */ + return '.SS0Hfe'; } }, menu: { -- cgit v1.2.3