Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
Ustclife
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
wenzhuo cao
Ustclife
Commits
1a6acffe
Commit
1a6acffe
authored
4 years ago
by
iBug
Browse files
Options
Downloads
Patches
Plain Diff
Add link to Web VPN
parent
6bafbab6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
index.html
+4
-2
4 additions, 2 deletions
index.html
with
4 additions
and
2 deletions
index.html
+
4
−
2
View file @
1a6acffe
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
</div>
</div>
<div
class=
"u_main-wrapper"
>
<div
class=
"u_main-wrapper"
>
<div
class=
"main"
>
<div
class=
"main"
>
<!-- refactored by iBug -->
<div
class=
"main-col"
>
<div
class=
"main-col"
>
<!-- 常用网址 -->
<!-- 常用网址 -->
<div
class=
"main-block"
>
<div
class=
"main-block"
>
...
@@ -119,6 +120,7 @@
...
@@ -119,6 +120,7 @@
{% include block-grid.html url="https://mirrors.ustc.edu.cn/" title="开源软件镜像" icon="fab fa-linux" %}
{% include block-grid.html url="https://mirrors.ustc.edu.cn/" title="开源软件镜像" icon="fab fa-linux" %}
{% include block-grid.html url="https://git.lug.ustc.edu.cn/" title="GitLab" icon="fab fa-git-alt" %}
{% include block-grid.html url="https://git.lug.ustc.edu.cn/" title="GitLab" icon="fab fa-git-alt" %}
{% include block-grid.html url="https://oj.ustc.edu.cn/" title="Online Judge" icon="fad fa-code" %}
{% include block-grid.html url="https://oj.ustc.edu.cn/" title="Online Judge" icon="fad fa-code" %}
{% include block-grid.html url="https://wvpn.ustc.edu.cn/" title="Web VPN" icon="fad fa-chart-network" %}
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</div>
</div>
</div>
</div>
...
@@ -197,12 +199,12 @@
...
@@ -197,12 +199,12 @@
try
{
try
{
netscape
.
security
.
PrivilegeManager
.
enablePrivilege
(
'
UniversalXPConnect
'
);
netscape
.
security
.
PrivilegeManager
.
enablePrivilege
(
'
UniversalXPConnect
'
);
}
catch
(
e
)
{
}
catch
(
e
)
{
alert
(
'
抱歉,此操作被浏览器拒绝!
\n\n
解决方法1:
\n
请在浏览器地址栏输入“about:config”并回车
\n
然后将[signed.applets.codebase_principal_support]的值设置为true。
\n\n
解决方法2:
\n
手动将
'
+
url
+
'
设为首页。
'
);
alert
(
'
抱歉,此操作被浏览器拒绝!
\n\n
解决方法
1:
\n
请在浏览器地址栏输入“about:config”并回车
\n
然后将
[signed.applets.codebase_principal_support]
的值设置为
true。
\n\n
解决方法
2:
\n
手动将
'
+
url
+
'
设为首页。
'
);
}
}
var
prefs
=
Components
.
classes
[
'
@mozilla.org/preferences-service;1
'
].
getService
(
Components
.
interfaces
.
nsIPrefBranch
);
var
prefs
=
Components
.
classes
[
'
@mozilla.org/preferences-service;1
'
].
getService
(
Components
.
interfaces
.
nsIPrefBranch
);
prefs
.
setCharPref
(
'
browser.startup.homepage
'
,
url
);
prefs
.
setCharPref
(
'
browser.startup.homepage
'
,
url
);
}
else
{
}
else
{
alert
(
'
抱歉,您所使用的浏览器无法完成此操作。
\n\n
您需要手动将
'
+
url
+
'
设置为首页。
'
);
alert
(
'
抱歉,您所使用的浏览器无法完成此操作。
\n\n
您需要手动将
'
+
url
+
'
设置为首页。
'
);
}
}
}
}
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment