Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
sylingd committed Jul 7, 2024
0 parents commit 12f8f9c
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ext.firefoxcn.net
1 change: 1 addition & 0 deletions header-editor/install/update.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"addons":{"[email protected]":{"updates":[{"version":"4.1.1","update_link":"https://github.com/FirefoxBar/HeaderEditor/releases/download/4.1.1/HeaderEditor-4.1.1.xpi","update_hash":"sha256:d758784a4f5a5d82f6ba6be5a085fdb4e4ac5b443673f195a9cc94a7293bf3c5"}]}}}
Empty file added login/callback/dropbox.html
Empty file.
Empty file added login/callback/google.html
Empty file.
53 changes: 53 additions & 0 deletions xstyle/install/open.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html>
<head>
<title>xStyle</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://lib.baomitu.com/material-design-icons/3.0.1/iconfont/material-icons.min.css">
<link rel="stylesheet" type="text/css" href="https://lib.baomitu.com/material-design-lite/1.3.0/material.teal-red.min.css">
<meta charset="utf-8">
<style>
.mdl-spinner {
width: 64px;
height: 64px;
}
</style>
</head>
<body>
<div style="text-align:center;padding-top:30px">
<div class="loading mdl-spinner mdl-js-spinner is-active"></div>
<p id="info"></p>
<p id="back" style="display:none"><a class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect" href="javascript:history.go(-1);"></a></p>
</div>
<script src="https://lib.baomitu.com/material-design-lite/1.3.0/material.min.js"></script>
<script>
var info = '', wait = '', back = '';
switch (navigator.language) {
case 'zh-CN':
info = '安装完成';
wait = '请稍候';
back = '返回';
break;
case 'zh-TW':
info = '安裝完成';
wait = '請稍候';
back = '返回';
break;
default:
info = 'Install completed';
wait = 'Please wait';
back = 'Back';
break;
}
document.getElementById('info').innerHTML = wait;
document.querySelector('#back a').innerHTML = back;
document.addEventListener('styleInstalled', function() {
document.querySelector('.loading').style.display = 'none';
document.getElementById('info').innerHTML = info;
if (history.length > 1) {
document.querySelector('#back').style.display = 'block';
}
}, false);
</script>
</body>
</html>
1 change: 1 addition & 0 deletions xstyle/install/update.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"addons":{"[email protected]":{"updates":[{"version":"3.1.0","update_link":"https://github.com/FirefoxBar/xStyle/releases/download/3.1.0/xstyle-3.1.0.xpi","update_hash":"sha256:95a9d93df69bc14a292e2ff549a2be7b82189aa9a7aec3a49f0c0d20c9e605c2"},{"version":"3.1.1","update_link":"https://github.com/FirefoxBar/xStyle/releases/download/3.1.1/xstyle-3.1.1.xpi","update_hash":"sha256:45795dd1faeb870e648f7269a1ada93d536380159cd2a66b0e90b640862e461c"},{"version":"3.1.2","update_link":"https://github.com/FirefoxBar/xStyle/releases/download/3.1.2/xstyle-3.1.2.xpi","update_hash":"sha256:136c663998210b200a4d0ab042baf0246929e32f582f5c3ff1eecc97400fe1d3"}]}}}
1 change: 1 addition & 0 deletions xstyle/install/update.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version='1.0' encoding='UTF-8'?><gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'><app appid='dbbjndgnfkbjmciadekfomemdiledmam'><updatecheck codebase='https://github.com/FirefoxBar/xStyle/releases/download/3.1.2/xstyle-3.1.2.crx' version='3.1.2' /></app></gupdate>
1 change: 1 addition & 0 deletions xstyle/install/updates.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version='1.0' encoding='UTF-8'?><gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'><app appid='dbbjndgnfkbjmciadekfomemdiledmam'><updatecheck codebase='https://github.com/FirefoxBar/xStyle/releases/download/3.1.2/xstyle-3.1.2.crx' version='3.1.2' /></app></gupdate>

0 comments on commit 12f8f9c

Please sign in to comment.