Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyanLiu authored Nov 24, 2024
2 parents c6a54c7 + b2c2f29 commit 3dbc488
Show file tree
Hide file tree
Showing 30 changed files with 12,241 additions and 5,052 deletions.
31 changes: 30 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"avatar_url": "https://avatars1.githubusercontent.com/u/73885971?v=4",
"profile": "https://github.com/kevyn-zhang",
"contributions": [
"bug"
"bug",
"ideas"
]
},
{
Expand Down Expand Up @@ -218,6 +219,34 @@
"contributions": [
"bug"
]
},
{
"login": "lovelxc",
"name": "lovelxc",
"avatar_url": "https://avatars.githubusercontent.com/u/48879827?v=4",
"profile": "https://github.com/lovelxc",
"contributions": [
"data"
]
},
{
"login": "liushunyu",
"name": "Shunyu Liu",
"avatar_url": "https://avatars.githubusercontent.com/u/30792664?v=4",
"profile": "https://liushunyu.github.io/",
"contributions": [
"code",
"data",
]
},
{
"login": "ravenxrz",
"name": "Raven",
"avatar_url": "https://avatars.githubusercontent.com/u/44746032?v=4",
"profile": "https://ravenxrz.github.io",
"contributions": [
"ideas"
]
}
],
"contributorsPerLine": 7,
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Continuous Integration

on:
pull_request:
push:
branches:
- main

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Prettify code
uses: creyD/[email protected]
with:
prettier_version: 3.3.3
prettier_options: --write
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@
# PyCharm
.idea/
*.iml

# Node.js
node_modules/
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
5 changes: 3 additions & 2 deletions PrivacyPolicy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# CCFrank 隐私权政策

# CCFrank Privacy Policy

您使用 CCFrank 服务,即表示您信赖我们对您的信息的处理方式。我们深知这项责任事关重大,因此一直致力于保护您的信息,并让您拥有控制权。
Expand All @@ -23,11 +24,11 @@ CCFrank only requests the paper source from dblp search API.

All parties the user data will be shared with:

dblp search API.
dblp search API.

---

References

1. https://policies.google.com/privacy?hl=zh-CN
2. https://policies.google.com/privacy
2. https://policies.google.com/privacy
34 changes: 27 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ Clone CCFrank to a directory.

1. Open the Extension Management page by navigating to `chrome://extensions`.

- The Extension Management page can also be opened by clicking on the Chrome menu, hovering over **More Tools** then
selecting **Extensions**.
- The Extension Management page can also be opened by clicking on the Chrome menu, hovering over **More Tools** then
selecting **Extensions**.

2. Enable Developer Mode by clicking the toggle switch next to **Developer mode**.

Expand All @@ -75,12 +75,28 @@ Clone CCFrank to a directory.

## What's New

**Version 4.5.0**

> Nov 10, 2024
1. Add rank filter for dblp as requested by @ravenxrz, @kevyn-zhang, and @liushunyu.

**Version 4.4.2**

> Nov 9, 2024
1. Merge the Pull request from @lovelxc to fix the IJOT url reported by @ailego.
2. Merge the Pull request from @liushunyu to add Expanded and Preprint.
3. Add Prettier in pre-commit and Github Action.
4. Merge the Pull request from @lovelxc to update the IMWUT reported by @junqi-ma.

**Version 4.4.1**

> Dec 16, 2023
1. Refactor code to immediately process existing search results on page load and add a MutationObserver to dynamically handle new entries without duplicating marks on subsequent pages.
2. Merge the Pull request from @dozed to add several checks.

- Loop over `@sent` instead of `@total`.
- Handle the case that `venue` is `undefined`.
- Clear cache items in case of `QuotaExceededError` in `localStorage.setItem`.
Expand All @@ -90,6 +106,7 @@ Clone CCFrank to a directory.
> Nov 29, 2023
1. Merge the Pull request from @mra42 to fix repeating dblp API queries.

- Allow persistently storing data in browser's localStorage with a default expiration time of one day.
- Improved fetchRank() in order to cache and reuse query results.

Expand Down Expand Up @@ -138,15 +155,15 @@ Clone CCFrank to a directory.

**Version 4.2.1**

> Dec 26, 2021
> Dec 26, 2021
1. 增加了对 Semantic Scholar 上 CCF 期刊的支持。

**Version 4.2.0**

> Dec 18, 2021
1. 增加了对 Semantic Scholar 上 CCF 会议的支持。
1. 增加了对 Semantic Scholar 上 CCF 会议的支持。

**Version Unchanged**

Expand Down Expand Up @@ -328,7 +345,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://scholar.google.com/citations?user=a8sqKFkAAAAJ"><img src="https://avatars.githubusercontent.com/u/16554557?v=4?s=100" width="100px;" alt="wyliu"/><br /><sub><b>wyliu</b></sub></a><br /><a href="#ideas-WenyanLiu" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/WenyanLiu/CCFrank4dblp/commits?author=WenyanLiu" title="Code">💻</a> <a href="#data-WenyanLiu" title="Data">🔣</a> <a href="https://github.com/WenyanLiu/CCFrank4dblp/commits?author=WenyanLiu" title="Documentation">📖</a> <a href="#maintenance-WenyanLiu" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kevyn-zhang"><img src="https://avatars1.githubusercontent.com/u/73885971?v=4?s=100" width="100px;" alt="kevyn-zhang"/><br /><sub><b>kevyn-zhang</b></sub></a><br /><a href="https://github.com/WenyanLiu/CCFrank4dblp/issues?q=author%3Akevyn-zhang" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kevyn-zhang"><img src="https://avatars1.githubusercontent.com/u/73885971?v=4?s=100" width="100px;" alt="kevyn-zhang"/><br /><sub><b>kevyn-zhang</b></sub></a><br /><a href="https://github.com/WenyanLiu/CCFrank4dblp/issues?q=author%3Akevyn-zhang" title="Bug reports">🐛</a> <a href="#ideas-kevyn-zhang" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://ipads.se.sjtu.edu.cn/rong_chen"><img src="https://avatars2.githubusercontent.com/u/1779861?v=4?s=100" width="100px;" alt="Rong Chen"/><br /><sub><b>Rong Chen</b></sub></a><br /><a href="https://github.com/WenyanLiu/CCFrank4dblp/issues?q=author%3Arealstolz" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://jwa.ng"><img src="https://avatars1.githubusercontent.com/u/866329?v=4?s=100" width="100px;" alt="Junwei Wang"/><br /><sub><b>Junwei Wang</b></sub></a><br /><a href="#platform-junwei-wang" title="Packaging/porting to new platform">📦</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ifzh"><img src="https://avatars0.githubusercontent.com/u/11475849?v=4?s=100" width="100px;" alt="iFzh"/><br /><sub><b>iFzh</b></sub></a><br /><a href="https://github.com/WenyanLiu/CCFrank4dblp/issues?q=author%3Aifzh" title="Bug reports">🐛</a> <a href="#ideas-ifzh" title="Ideas, Planning, & Feedback">🤔</a></td>
Expand All @@ -355,6 +372,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://sumsky.top/"><img src="https://avatars.githubusercontent.com/u/58537872?v=4?s=100" width="100px;" alt="Sumsky21"/><br /><sub><b>Sumsky21</b></sub></a><br /><a href="https://github.com/WenyanLiu/CCFrank4dblp/issues?q=author%3ASumsky21" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/lovelxc"><img src="https://avatars.githubusercontent.com/u/48879827?v=4?s=100" width="100px;" alt="lovelxc"/><br /><sub><b>lovelxc</b></sub></a><br /><a href="#data-lovelxc" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://liushunyu.github.io/"><img src="https://avatars.githubusercontent.com/u/30792664?v=4?s=100" width="100px;" alt="Shunyu Liu"/><br /><sub><b>Shunyu Liu</b></sub></a><br /><a href="https://github.com/WenyanLiu/CCFrank4dblp/commits?author=liushunyu" title="Code">💻</a> <a href="#data-liushunyu" title="Data">🔣</a> <a href="#ideas-liushunyu" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://ravenxrz.github.io"><img src="https://avatars.githubusercontent.com/u/44746032?v=4?s=100" width="100px;" alt="Raven"/><br /><sub><b>Raven</b></sub></a><br /><a href="#ideas-ravenxrz" title="Ideas, Planning, & Feedback">🤔</a></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -385,7 +405,7 @@ Contributions of any kind welcome!

- [![show-rank](https://raw.githubusercontent.com/hnshhslsh/show-rank/master/logo/16x16.png) hnshhslsh/show-rank](https://github.com/hnshhslsh/show-rank)
- 支持在 Chrome 中的 ACM Digital Library、dblp、IEEE Xplore 和 Springer
显示中国计算机学会推荐的国际会议和期刊排名(很开心自己在谷歌学术上的查询方法被[直接使用](https://github.com/hnshhslsh/show-rank/commit/864b7a8d2896707e19281ed6e21518eb35cda1db):clap:);
显示中国计算机学会推荐的国际会议和期刊排名(很开心自己在谷歌学术上的查询方法被[直接使用](https://github.com/hnshhslsh/show-rank/commit/864b7a8d2896707e19281ed6e21518eb35cda1db):clap:);
- [![swufe_ccf_show_ranking](https://raw.githubusercontent.com/Nixiak-nan/swufe_ccf_show_ranking/master/logo/16.png) Nixiak-nan/swufe_ccf_show_ranking](https://web.archive.org/web/20220118103343/https://github.com/Nixiak-nan/easyScholar/tree/0551c6dcecd70dbc08b580fbce0df43563ebe90c)
- 支持在 Chrome 和 Firefox 中的 百度学术、知网、Google Scholar、IEEExplore、Microsoft Academic、Springer、Web of Science
显示西南财经大学学术期刊目录(Github 果然是大型交友平台,和开发同学已成为好友啦)。
显示西南财经大学学术期刊目录(Github 果然是大型交友平台,和开发同学已成为好友啦)。
38 changes: 38 additions & 0 deletions css/filter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.ccf-filter {
position: fixed;
top: 120px;
right: 30px;
z-index: 9999;
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ccf-filter button {
display: block;
width: 100%;
margin: 4px 0;
padding: 8px 16px;
border: 1px solid #ddd;
border-radius: 4px;
background: #fff;
cursor: pointer;
font-size: 14px;
transition: all 0.2s ease;
}

.ccf-filter button:hover {
background: #f5f5f5;
}

.ccf-filter button.active {
background: #4285f4;
color: #fff;
border-color: #4285f4;
}

.paper-hidden {
display: none !important;
}
62 changes: 35 additions & 27 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,50 +1,58 @@
.ccf-rank {
display: inline-block;
height: 18.35px;
font-size: 12px;
font-weight: bold;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color: #ffffff;
border-radius: 9px;
padding: 1px 8px;
margin-left: 5px;
margin-right: 5px;
display: inline-block;
height: 18.35px;
font-size: 12px;
font-weight: bold;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color: #ffffff;
border-radius: 9px;
padding: 1px 8px;
margin-left: 5px;
margin-right: 5px;
}

.ccf-a {
background-color: #dc3545;
background-color: #e15f37;
}

.ccf-b {
background-color: #ffc107;
background-color: #f5bd42;
}

.ccf-c {
background-color: #28a745;
background-color: #8eba3a;
}

.ccf-e {
background-color: #4aa3ea;
}

.ccf-p {
background-color: #6c757d;
}

.ccf-none {
background-color: #6c757d;
background-color: #6c757d;
}

.ccf-tooltip {
display: inline-block;
position: relative;
display: inline-block;
position: relative;
}

.ccf-tooltip .ccf-tooltiptext {
visibility: hidden;
background-color: #007bff;
border-radius: 6px;
padding: 5px 5px;
bottom: 100%;
left: 50%;
position: absolute;
z-index: 980624;
margin-left: -60px;
visibility: hidden;
background-color: #007bff;
border-radius: 6px;
padding: 5px 5px;
bottom: 100%;
left: 50%;
position: absolute;
z-index: 980624;
margin-left: -60px;
}

.ccf-tooltip:hover .ccf-tooltiptext {
visibility: visible;
visibility: visible;
}
Loading

0 comments on commit 3dbc488

Please sign in to comment.