2 Star 1 Fork 1

爱你 / 爱你书签网

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 13.33 KB
一键复制 编辑 原始数据 按行查看 历史
恶龙咆哮~嗷呜 提交于 2021-01-30 12:26 . diyi
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="cn" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width, initial-scale=0.9">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<link rel="shortcut icon" type="image/x-icon" href="" media="screen" />
<title>爱你浏览器-输入网址-回车即可访问</title>
</head>
<style>
/*<div id="yiyan" style="
width: 500px;
background-color:rgba(255, 255, 255, 0);
">
<br />
<br />
<br />
<script>
var num=Math.random();
if(num>=0.6){
var url=""
var ajax = new XMLHttpRequest();
ajax.onreadystatechange=function()
{
if (ajax.readyState==4 && ajax.status==200)
{
var hit = JSON.parse(ajax.responseText);
document.getElementById("yiyan").innerHTML="<br />"+hit.text+"<br> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp——"+hit.author;
}
}
ajax.open('GET',url, true);
ajax.send();
}
else{
var count=Math.floor(Math.random()*hit.length);
var ran=hit[count];
var text=ran.hitokoto;
var author=ran.source;*/
/*var ajax = new XMLHttpRequest();
ajax.onreadystatechange=function()
{
if (ajax.readyState==4)
{
alert(ajax.status);
alert(ajax.responseText);
var hit = JSON.parse(ajax.responseText);
var ran=hit(Math.random(hit.length-2)+lit.length);
var text=ran.hitokoto;
var author=ran.source;
document.getElementById("yiyan").innerHTML="<br />"+text+"<br> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp——"+author;
}
}
ajax.open('GET','customHitokotoB.json', true);
ajax.send();
*/
/* document.getElementById("yiyan").innerHTML="<br />"+text+"<br> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp——"+author;
}
</script>
*/
<br>
/*author:Citrons
time:27/01/2019
Website:https://www.citrons.cn/
*/
/*下方这句不动它,翻译开始*/
* {
padding: 0;
margin: 0;
}
/*翻译
主页整体样式
文本对齐︰ 中心;
背景色︰ #f1f6ee 使用夜间默认时修改为#000000即可
}
*/
body {
text-align: center;
background-image:url('img/Mobile.jpg') !important;
/*可换上面的图片地址*/
background-size: 100% !important;
background-repeat: no-repeat;
background-color: #ffffff;
/*可删上面的固定句语*/
}
/*翻译
搜索栏字体样式
宽度︰ 90%;
高度︰ 40px;
背景颜色︰ 透明;
边境︰ 无;
大纲︰ 0;
字体大小︰ 18px;
字体颜色: #000000;
填充︰ 0 20px;
边界半径︰ 50px
}*/
#search_input {
width: 90%;
height: 40px;
background-color: transparent;
border: none;
outline: 0;
font-size: 16px;
color: #A593E0;
padding: 0 10px;
border-radius: 50px
}
/*翻译
搜索框边距
下边距︰ 30px;
上边距︰ 20px;
*/
.search_part {
margin-bottom: 5px;
margin-top: 15px;
}
/*翻译
跨度样式
显示︰ 阻止;
溢出︰ 隐藏;
左填充︰ 5px;
垂直对齐︰ 居中;
*/
.search_bar span {
display: block;
font-size: 12px;
overflow: hidden;
padding-left: 2px;
margin-right: 42px;
vertical-align: middle;
}
.search_bar span i {
display:none;
float: right;
width: 35px;
height: 40px;
background-size: 16px;
}
.search_bar .si {
margin: 0 38px 0 10px;
}
/*搜索建议条*/
#suggest {
position: absolute;
left: -1px;
right: -1px;
top: 40px;
border:1px solid #ccc;
background: #fff;
line-height: 40px;
}
#suggest li {
border-bottom: 1px solid #ccc;
text-align: left;
padding-left: 16px;
}
#suggest li:active {
background: #F0F0F0;
}
#suggest li b {
float: right;
width: 44px;
height: 40px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAI5JREFUSEtjZCACLF261J6RkbELpPT///9l0dHRB4nQRlgJ0ODny5Yt+w/CIDZhHUSqgBkKo4nURljZqMHwMBohQQFK/ECvnkT3LgX8kyAzGZATPwWGgTMPSiYCGvyEWgYiGfyEAcjxoKaroWZ5EM52QBUjJLkRExajQUH7Qgg5E4HYxMQLUWpgmYiUxA8AOdLMz+iDKvIAAAAASUVORK5CYII=) no-repeat scroll center center #fff;
background-size: 11px;
}
#suggest .close {
text-align: right;
font-size: 14px;
color: #888;
padding-right: 12px;
}
/*翻译
搜索栏框架样式 {
框阴影︰ 0 0 18px rgba(70,70,40,.255);括号里的颜色为Rgb默认,可进入http://rgb.phpddt.com/查询
-webkit 动画︰ fadeIn 2.5;
动画︰ fadeIn 2.5;
背景色︰ rgba(255,255,255,.100);
边界半径︰ 50px;
显示︰ 表;
垂直对齐︰ 居中;
宽度︰ 80%;根据你喜欢的宽度调整,目前我为了对齐图标使用80%
高度︰ 40px;
最大宽度︰ 400px;
边距︰ 10px 默认布局;
}
*/
.search_bar {
box-shadow: 0 0 5px rgba(70,70,40,.255);
-webkit-animation: fadeIn 2.5s;
animation: fadeIn 2.5s;
background-color:  rgba(255,255,255,.0);
border-radius: 3px;
display: table;
vertical-align: middle;
width: 85%;
height: 20px;
max-width: 400px;
margin: 10px auto;
position: relative;
z-index: 10;
}
/*翻译
搜索栏搜索目标确认图标样式,目前为米奇
轮廓边框︰ 0;
高度︰ 40px;
浮标位置︰ 右;
颜色: #000;
字体大小︰ 16px;
字体粗细︰ 700;
边境︰ 无;
背景颜色︰ 透明;
填充︰ 0 13px 0 13px
*/
#search_submit {
outline: 0;
height: 40px;
float: right;
color: #4a4266;
font-size: 18px;
font-weight: 500;
border: none;
background-color: transparent;
padding: 0 13px 0 13px
}
/*翻译
书签图标排版目录样式
宽度︰ 100%;
文本对齐︰ 中心;
填充顶部︰ 15px;
填充底部︰ 15px;
*/
#content {
width: 100%;
text-align: center;
padding-top: 0px;
padding-bottom: 0px;
}
/*翻译
书签框架样式
-webkit 动画︰ fadeInDown 1s;
动画︰ fadeInDown 1s;
位置︰ 相对应;
显示︰ 显示在内部;
宽度︰ 75px;
边境︰ 0;
*/
.box {
-webkit-animation: fadeInDown 1s;
animation: fadeInDown 1s;
position: relative;
display: inline-block;
width: 70px;
border: 0;
}
/*翻译
书签图标样式
宽度︰ 100%;
高度︰ 100%;
位置︰ 不受限制;
左︰ 0;
顶︰ 0;
*/
.box a {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
/*翻译
书签字体样式
颜色: #232323;使用夜间模式时修改为#eee或者#f2eada即可
高度︰ 1.5em;
线的高度︰ 1.5em;
宽度︰ 72px;
字体大小︰ 0.75em;
白色空间︰ nowrap;
溢出︰ 隐藏;
边距︰ 默认布局;
-webkit 边框顶部右半径︰ 5px;
-webkit 边框底部右半径︰ 5px;
文本溢出︰ 省略;
-o 文本溢出︰ 省略;
气相色谱-质谱-文本-溢出︰ 省略;
填充顶部︰ 3px;
填充底部︰ 8px;
*/
.url {
color: #4a4266;
height: 1.5em;
line-height: 1.5em;
width: 72px;
font-size: 0.75em;
white-space: nowrap;
overflow: hidden;
margin: auto;
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-ms-text-overflow: ellipsis;
padding-top: 0px;
padding-bottom: 8px;
}
/*翻译
字体样式
宽度︰ 3em;
高度︰ 3em;
最大宽度︰ 72px;
*/
.icon {
width: 3em;
height: 3em;
max-width: 72px;
}
#app-items {
width: 100%;
max-width: 400px;
margin: 0px auto;
text-align: center;
background-color: #fff;
padding-top: 0px;
padding-bottom: 15px;
}
.title {
background-color: #fffffff;
font-size: 16px;
height: 30px;
line-height: 30px;
padding: 0 10px 0 20px;
color: #4a4266;
}
#yiyan {
width: 100%;
max-width: 400px;
margin: 0px auto;
text-align: center;
background-color: #fff;
padding-top: 0px;
padding-bottom: 15px;
}
.shuxing {
color: #4a4266;
font-size: 12px;
height: 30px;
line-height: 20px;
padding: 0 10px 0 20px;
}
@-webkit-keyframes flipInX {
0% {
-webkit-transform: perspective(400px) rotateX(90deg);
transform: perspective(400px) rotateX(90deg);
opacity: 0
}
40% {
-webkit-transform: perspective(400px) rotateX(-10deg);
transform: perspective(400px) rotateX(-10deg)
}
70% {
-webkit-transform: perspective(400px) rotateX(10deg);
transform: perspective(400px) rotateX(10deg)
}
100% {
-webkit-transform: perspective(400px) rotateX(0);
transform: perspective(400px) rotateX(0);
opacity: 1
}
}
@keyframes flipInX {
0% {
-webkit-transform: perspective(400px) rotateX(90deg);
-ms-transform: perspective(400px) rotateX(90deg);
transform: perspective(400px) rotateX(90deg);
opacity: 0
}
40% {
-webkit-transform: perspective(400px) rotateX(-10deg);
-ms-transform: perspective(400px) rotateX(-10deg);
transform: perspective(400px) rotateX(-10deg)
}
70% {
-webkit-transform: perspective(400px) rotateX(10deg);
-ms-transform: perspective(400px) rotateX(10deg);
transform: perspective(400px) rotateX(10deg)
}
100% {
-webkit-transform: perspective(400px) rotateX(0);
-ms-transform: perspective(400px) rotateX(0);
transform: perspective(400px) rotateX(0);
opacity: 1
}
}
@-webkit-keyframes fadeIn {
0% {
opacity: 0
}
100% {
opacity: 1
}
}
@keyframes fadeIn {
0% {
opacity: 0
}
100% {
opacity: 1
}
}
@-webkit-keyframes fadeInDown {
0% {
opacity: 0;
-webkit-transform: translateY(-20px);
transform: translateY(-20px)
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0)
}
}
@keyframes fadeInDown {
0% {
opacity: 0;
-webkit-transform: translateY(-20px);
-ms-transform: translateY(-20px);
transform: translateY(-20px)
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0)
}
}
@media screen and (min-width:1025px){
body {
text-align: center;
background-image:url('img/PC.jpg') !important;
/*可换上面的图片地址*/
background-size: 100% !important;
background-repeat: no-repeat;
background-color: #ffffff;
/*可删上面的固定句语*/
}
}
</style>
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false">
<noscript>
<iframe src="*.htm"></iframe>
</noscript>
<div id="content">
<br />
<div class="search_part">
<br /><br /><br /><br /><br /><br /><br /><br /><br />
<img class="smaller" src="img/Google.gif" width=33% ></img>
<form id="search_form" onsubmit="return search()" class="search_bar">
<input type="submit" id="search_submit" value="访问" >
<span><i id="clear" onclick="clear_seach()"></i><div class="si"><input class="search" type="text" value="" onkeyup="get_suggest()" onfocus="get_suggest()" onpaste="get_suggest()" autocomplete="off" id="search_input" placeholder="输入网址-无需http://" ></div>
</span>
<div id="suggest" style="display:none">
<ul id="suglist"></ul>
<div class="close" onclick="close_sug()">| 收起</div>
</div>
</form>
</div>
<!--以下都是适配的谷歌浏览器,如需替换,请自己动手-->
<div class="box">
<a href="http://iyy.5ay.xyz"></a>
<p><img class="icon" src="http://blog.lyuweb.com/favicon.ico" ></p>
<p class="url">影院</p>
</div>
<div class="box">
<a href="http://bbs.gui5.xyz"></a>
<p><img class="icon" src="img/lishi.png" ></p>
<p class="url">论坛</p>
</div>
<div class="box">
<a href="http://m.kugou.com"></a>
<p><img class="icon" src="img/shuqian.png" ></p>
<p class="url">酷狗</p>
</div>
<div class="box">
<a href="http://x.pps.tv"></a>
<p><img class="icon" src="img/427296.png" ></p>
<p class="url">奇秀</p>
</div>
<script type="text/javascript">
var last_kw = '';
var max_sug_len = 1; //搜索建议最短触发长度
/*获取搜索建议
采用的神马搜索的服务
*/
function get_suggest() {
var kw = document.getElementById('search_input').value;
var clear = document.getElementById('clear');
if (kw) clear.style.display = 'block';
else clear.style.display = 'none';
if (kw == last_kw) return;
last_kw = kw;
if (!kw || kw.length < max_sug_len) {
close_sug();
return;
}
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'http://' + encodeURIComponent(kw) + '' + new Date().getTime() + '&callback=jsonp3';
var head = document.querySelector('head');
script.onload = function() {
head.removeChild(script);
};
head.appendChild(script);
}
function jsonp3(res) {
var suggest = document.getElementById('suggest');
if (!res.r || !res.r.length) {
suggest.style.display = 'none';
return;
}
var html = '';
res.r.forEach(function(v) {
html += '<li>' + v.w + '<b></b></li>';
});
document.getElementById('suglist').innerHTML = html;
suggest.style.display = 'block';
}
function close_sug() {
last_kw = '';
document.getElementById('suggest').style.display = 'none';
}
function move_input() {
document.body.scrollTop = document.getElementById('search_form').offsetTop - 2;
}
function clear_seach() {
var input = document.getElementById('search_input');
input.value = '';
document.getElementById('clear').style.display = 'none';
close_sug();
input.focus();
}
/*采用百度搜索引擎(我发现百度搜索引擎更符合国人的搜搜习惯)*/
function search(){if(document.getElementById("search_input").value != ""){
window.location.href = "http://" + encodeURIComponent(document.getElementById("search_input").value) + "";
document.getElementById("search_input").value = "";}return false;}
document.getElementById('suglist').addEventListener('click', function(e) {
var input = document.getElementById('search_input');
if (e.target.tagName == 'B') {
input.value = e.target.parentNode.firstChild.textContent;
input.focus();
} else if (e.target.tagName == 'LI') {
input.value = e.target.firstChild.textContent;
close_sug();
search();
}
});
window.addEventListener('resize', move_input);
</script>
</body>
</html>
HTML
1
https://gitee.com/inisqw/go.git
git@gitee.com:inisqw/go.git
inisqw
go
爱你书签网
master

搜索帮助