Skip to content

Commit

Permalink
feat(u3d): add isLogged
Browse files Browse the repository at this point in the history
  • Loading branch information
ted423 committed Oct 7, 2023
1 parent a1adcd1 commit 0827768
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource/schemas/UNIT3D/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
["query ? query.getQueryString('id'):''"]
]
},
"isLogged": {
"selector": ["i.fa-sign-out"],
"filters": ["query.length > 0"]
},
"uploaded": {
"selector": ["div.ratio-bar i.fa-arrow-up, li[title='Upload'] i.fa-arrow-up, ul.top-nav__ratio-bar i.fa-arrow-up, span[title='Upload'], span[title='上传']"],
"filters": ["query.parent().text().trim().replace(/,|\\s|\\n/g,'').match(/[\\d.]+ ?[ZEPTGMK]?i?B/)", "(query && query.length>=1)?(query[0]).sizeToNumber():0"]
Expand Down

0 comments on commit 0827768

Please sign in to comment.