Skip to content

Commit

Permalink
Update help page
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Feb 27, 2024
1 parent f9e8902 commit e4bbc96
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 157 deletions.
2 changes: 1 addition & 1 deletion manifest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "__MSG_fullName__",
"short_name": "哔哩广告助手",
"short_name": "__MSG_shortName__",
"version": "0.1.0",
"default_locale": "zh_CN",
"description": "__MSG_Description__",
Expand Down
2 changes: 1 addition & 1 deletion public/_locales
227 changes: 73 additions & 154 deletions public/help/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<!DOCTYPE html>

<head>
<title>SponsorBlock</title>
<title>BSB_Help</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="icon"
href="../icons/IconSponsorBlocker32px.png"
type="image/png"
/>
<link rel="icon" href="../icons/IconSponsorBlocker32px.png" type="image/png" />

<link href="styles.css" rel="stylesheet" />

Expand All @@ -17,222 +13,145 @@

<body>
<div id="title">
<img
src="../icons/LogoSponsorBlocker256px.png"
height="80"
class="profilepic"
/>
帮助页(本页面正在施工中)
<img src="../icons/LogoSponsorBlocker256px.png" height="80" class="profilepic" />
帮助(本页面正在施工中)
</div>

<div class="container sponsorBlockPageBody">
<p class="createdBy">
<img
src="https://avatars.githubusercontent.com/u/31091101?v=4"
height="30"
class="profilepiccircle"
/>
Created By <a href="https://github.com/HanYaodong">Han Yaodong</a>
<a
href="https://sponsor.ajay.app/donate"
target="_blank"
rel="noopener"
id="sbDonate"
>(Donate)</a
>
<img src="../icons/creator.png" height="30" class="profilepiccircle" />
制作者:
<a href="https://github.com/HanYaodong">
Han Yaodong
</a>
<a href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener" id="sbDonate">
(捐赠)
</a>
</p>

<p>
__MSG_helpPageThanksForInstalling__ By using this extension, you agree to
the
<a href="https://gist.github.com/ajayyy/aa9f8ded2b573d4f73a3ffa0ef74f796"
>Privacy Policy</a
>
and
<a href="https://gist.github.com/ajayyy/9e8100f069348e0bc062641f34d6af12"
>Terms of Use</a
>.
感谢安装__MSG_fullName__。继续使用本插件,您默认同意如下
<a href="https://gist.github.com/ajayyy/aa9f8ded2b573d4f73a3ffa0ef74f796">
隐私政策
</a>
<a href="https://gist.github.com/ajayyy/9e8100f069348e0bc062641f34d6af12">
使用条款
</a>.
</p>

<p>
Come contribute, make some suggestions and help out on
<a href="https://discord.gg/SponsorBlock">Discord</a> or on
<a
href="https://matrix.to/#/#sponsor:ajay.app?via=ajay.app&via=matrix.org&via=mozilla.org"
>Matrix</a
>.
如果您有任何问题或建议,请在
<a href="https://github.com/HanYaodong/BilibiliSponsorBlock">
GitHub项目页面
</a>
提出。
</p>

<p style="margin-bottom: 0; margin-top: 0" class="bigText center">
__MSG_helpPageReviewOptions__
请查看下面的选项:
</p>

<p class="smallText">__MSG_helpPageFeatureDisclaimer__</p>
<p class="smallText">
本插件只默认启用了部分最重要的功能,如果您想跳过视频开场结尾动画,或使用其他高级功能,请在下方开启。您也可以自定插件显示的内容。
</p>

<iframe
class="optionsFrame"
src="../options/options.html#embed"
style="border: none"
></iframe>
<iframe class="optionsFrame" src="../options/options.html#embed" style="border: none"></iframe>

<h1>__MSG_helpPageHowSkippingWorks__</h1>
<h1>使用指南</h1>

<p class="projectPreview">
<span class="projectPreviewImageLarge">
<img src="images/popup.png" />
</span>

__MSG_helpPageHowSkippingWorks1__
被标记的广告片段会在视频进度条中显示,并在播放时自动跳过。您也可以点击插件图标打开弹窗查看预览。

<br />
<br />

__MSG_helpPageHowSkippingWorks2__
当跳过广告片段时,会弹出提醒。如果您认为该片段的时间或类别有误,请点击差评!您也可以在插件弹窗中投票。
</p>

<div class="center"><img src="images/voting on notice.gif" /></div>

<h1>__MSG_Submitting__</h1>
<h1>创建片段</h1>

<p class="projectPreview">
<img
class="projectPreviewImageLarge"
src="https://i.imgur.com/A1ilk6x.gif"
/>
<img class="projectPreviewImageLarge" src="https://i.imgur.com/A1ilk6x.gif" />

__MSG_helpPageSubmitting1__
您可以使用播放器下方的按钮,或者插件弹窗中的“片段现在开始”按钮提交片段。

<br />
<br />

__MSG_helpPageSubmitting2__
点击播放按钮标记片段开始,点击停止按钮完成标记片段。您可以一次提交多个片段。点击上传按钮会提交片段。点击垃圾桶按钮会删除片段。

</p>

<h1>__MSG_Editing__</h1>
<h1>编辑片段</h1>

<p class="projectPreview">
<span class="projectPreviewImageLarge">
<img src="https://wiki.sponsor.ajay.app/images/6/6a/Popup_only.png" />
</span>

__MSG_helpPageEditing1__
您可以在弹窗中详细编辑片段,修改开始和结束时间,选择片段的类型等等。

</p>

<h1>__MSG_helpPageTooSlow__</h1>
<h1>快捷键</h1>

<p>__MSG_helpPageTooSlow1__</p>
<p>插件常用功能支持自定义快捷键,您可以在选项页面中修改</p>

<h1>__MSG_helpPageCopyOfDatabase__</h1>
<h1>提供数据接口吗?我能下载数据库吗?</h1>

<p>
__MSG_helpPageCopyOfDatabase1__
<a href="https://sponsor.ajay.app/database"
>https://sponsor.ajay.app/database</a
>. __MSG_helpPageCopyOfDatabase2__
<p>服务端API文档施工中…可以先参考原项目
<a href="https://wiki.sponsor.ajay.app/w/API_Docs">API文档</a>
,基本无差别。
</p>

<h1>__MSG_helpPageNews__</h1>
<p>我计划公开数据库,但目前还没有完成下载接口,敬请期待!</p>

<p>
See
<a href="https://sponsor.ajay.app/news">https://sponsor.ajay.app/news</a>.
</p>
<h1>更新和源代码</h1>

<h1>__MSG_helpPageSourceCode__</h1>

<h4 style="display: inline">Client:</h4>
<!-- Github logo -->
<a href="https://github.com/ajayyy/SponsorBlock"
><svg
aria-hidden="true"
version="1.1"
viewBox="0 0 16 16"
height="58px"
style="padding-left: 15px"
>
<path
fill-rule="evenodd"
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"
></path></svg
></a>

<h4 style="display: inline; padding-left: 20px">Server:</h4>
<!-- Github logo -->
<a href="https://github.com/ajayyy/SponsorBlockServer"
><svg
aria-hidden="true"
version="1.1"
viewBox="0 0 16 16"
height="58px"
style="padding-left: 15px"
>
<path
fill-rule="evenodd"
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"
></path></svg
></a>

<h1>__MSG_Credits__</h1>
<p>
源代码见GitHub项目页面:

<p>
Thanks to all
<a href="https://github.com/ajayyy/SponsorBlock/graphs/contributors"
>SponsorBlock contributors</a
>,
<a href="https://github.com/ajayyy/SponsorBlockServer/graphs/contributors"
>SponsorBlockServer contributors</a
>
and
<a href="https://github.com/ajayyy/SponsorBlockSite/graphs/contributors"
>SponsorBlockSite contributors</a
>
such as <a href="https://github.com/NDevTK">NDev</a>,
<a href="https://github.com/Joe-Dowd">Joe Dowd</a>,
<a href="https://mchang.name/">Michael Chang</a> and more.
浏览器插件:
<a href="https://github.com/HanYaodong/BilibiliSponsorBlock">
https://github.com/HanYaodong/BilibiliSponsorBlock
</a>
</p>

<p>
The awesome
<a href="https://github.com/omarroth/invidious/wiki/API">Invidious API</a>
is used to grab the time the video was published.

服务端:
<a href="https://github.com/HanYaodong/SponsorBlockServer">
https://github.com/HanYaodong/SponsorBlockServer
</a>
</p>
</p>

<h1>致谢</h1>

<p>
Some icons made by
<a
href="https://www.flaticon.com/authors/gregor-cresnar"
title="Gregor Cresnar"
>Gregor Cresnar</a
>
from
<a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>
and are licensed by
<a
href="https://creativecommons.org/licenses/by/3.0/"
title="Creative Commons BY 3.0"
target="_blank"
>CC 3.0 BY</a
>
感谢所有提交片段的用户,您的贡献赋予了这个项目意义!
</p>

<p>
Some icons made by
<a href="https://www.flaticon.com/authors/freepik" title="Freepik"
>Freepik</a
>
from
<a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>
and are licensed by
<a
href="https://creativecommons.org/licenses/by/3.0/"
title="Creative Commons BY 3.0"
target="_blank"
>CC 3.0 BY</a
>
感谢原插件
<a href="https://sponsor.ajay.app/">SponsorBlock</a>
和它的创建者
<a href="https://github.com/ajayyy">Ajay</a>
</p>

<div class="divider"></div>

<p style="text-align: center">
本项目在 GPL3.0 开源协议下发布
<br />
<a href="/oss-attribution/attribution.txt">Open Source Licenses</a>
</p>
</div>
</body>
</body>
7 changes: 6 additions & 1 deletion public/help/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,4 +326,9 @@ svg {

.hidden {
display: none;
}
}

.divider {
margin: 200px 0 0;
border-bottom: 1px solid var(--header-color);
}
Binary file added public/icons/creator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e4bbc96

Please sign in to comment.