diff options
author | anekos | 2012-04-01 18:13:04 +0900 |
---|---|---|
committer | anekos | 2012-04-01 18:13:04 +0900 |
commit | 9b727729ec4c53fad93e41bf0e4bb21021437bdc (patch) | |
tree | 2338f96abc77499a279ebdb88257f20b71b25e7c | |
parent | 5da348505d7510f33c9aafd70779ac02261b236f (diff) | |
download | vimperator-plugins-9b727729ec4c53fad93e41bf0e4bb21021437bdc.tar.bz2 |
Poor Update: S.currentEntry.unfold.content
-rw-r--r-- | google-plus-commando.js | 6 |
1 files changed, 5 insertions, 1 deletions
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: { |