Skip to content

Commit

Permalink
add small image support
Browse files Browse the repository at this point in the history
add short name to extension
burn up 1.5.1
  • Loading branch information
lovemyliwu committed Dec 9, 2017
1 parent 5989051 commit 0aba456
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function getMetaContent(name) {

function getClipByUlElement(ul) {
var isWebkitRender = getMetaContent('renderer') == 'webkit';
var toSmallBtn = document.querySelector('[action-type="feed_list_media_toSmall"]');
var toSmallBtn = document.querySelector('[action-type="feed_list_media_toSmall"],[action-type="feed_list_img_toSmall"]');
var nav = document.querySelector('.WB_global_nav');
var msg = document.querySelector('.webim_fold');
var fold = document.querySelector('.W_fold');
Expand Down
3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"manifest_version": 2,
"name": "桑桑网页助手",
"version": "1.4.1",
"short_name": "桑桑网页助手",
"version": "1.5.1",
"description": "自动对微博截图,完整包含微博详情和转评赞数量",

"browser_action": {
Expand Down

0 comments on commit 0aba456

Please sign in to comment.