Eines Tages hatte ich eine plötzliche Idee, wenn ich die Programmiererfähigkeiten nutzen konnte, die ich meiner Freundin gestehen konnte, wäre es nicht High-End, Elegant und aktuell?
Ich denke daran und mache es sofort. Das erste, woran ich denke, ist, die Hosts -Datei zu ändern und die Startseite des Browsers in die Webseite zu ändern, die ich entworfen habe.
Inländische Studentinnen verwenden normalerweise die Baidu -Homepage, daher habe ich selbst eine Baidu -Homepage imitiert, und die spezifischen Auswirkungen sind wie folgt:
Sieht es groß und hervorragend aus? Natürlich habe ich am Ende versagt. Wie könnte ein Programmierer eine Freundin haben?
Aber zum Nutzen meiner Seidenfreunde poste ich jetzt diese Codes. Auch wenn eine Person erfolgreich ist, werde ich meine Verdienste und meinen Ruhm verbergen.
Bitte ändern Sie Baidu, um die Hosts -Datei zu ändern. Das reicht nicht aus.
Baidu Quellcode, der von mir geschrieben wurde:
Die Codekopie lautet wie folgt:
<Styles>
html,body{height:100%}html{overflow-y:auto}#wrapper{position:relative;_position:;min-height:100%}#content{padding-bottom:100px;text-align:center}#ftCon{height:100px;position:absolute;bottom:44px;text-align:center;width:100%;margin:0
Auto; Z-Index: 0; Überlauf: Hidden} #ftconw {Breite: 720px; Margin: 0 Auto}
Körper {Schrift: 12px Arial; text-align: links; Hintergrund: #ffff}
Body, P, Form, ul, li {Margin: 0; Polster: 0; Listenstil: Keine}
Körper, Form,#fm {Position: relativ} td {text-align: links} img {border: 0} a {color:#00c} a: aktiv {color:#f60}
.bg {Hintergrund-image: URL (http://s1.bdstatic.com/r/www/cache/static/global/img/icons_aea40f46.png); Hintergrund-r Epeat: No-Repeat; _background-image: URL (http://s1.bdstatic.com/r/www/cache/static/global/img/icons_cfa0bb3b.gif)}
.C-ICON {Anzeige: Inline-Block; Breite: 14px; Höhe: 14px; Vertical-Align: text-bottom; font-style: normal; Überlauf: versteckt; 0; _background-image: url (http://s1.bdstatic.com/r/www/cache/static/global/img/icons_cfa0bb3b.gif)} .c-icon-Triangle-Down-Blue {Hintergrund-Position: -480px
-24px} .c-icon-chevron-unfold2 {Hintergrundposition: -504px -24px} #U {Farbe:#999; Padding: 4px
10px 5px 0; Text-Align: Right} #ua {Margin: 0 5px} #U .reg {Margin: 0} #m {width: 720px; Margin: 0
auto} #nv a,#nv b, .btn,#lk {font size: 14px} #fm {padding-links: 130px; text-align: links; z-Index: 1} Eingabe {Border: 0;
0 4px; text-align: links; textindent: 137px} .s_ipt_wr {width: 468px; Höhe: 30px; Anzeige: Inline-Block; Rand-Rechts: 5px; Hintergrundposition: 0
-288px; Grenze: 1PX Solid #b6b6b6; Border-Color: #9A9A #cdcdcd #cdcdcd #9a9a9a; Vertical-Align: Top} .s_ipt {Width: 458px; Höhe: 22PX; FONT: 14PX/22PX/22PX
Arial; Margin: 5px 0 0 7px; Hintergrund: #ffff; Umriss: 0; -Webkit-Appearance: Keine} .s_btn {width: 95px; Höhe: 32px; Padding-Top: 2px/9; Schriftgröße: 14px; Hintergrundfarbe: #ddd; Hintergrundposition: 0 0: 0: 0 0
-240px; Cursor: Zeiger} .s_Btn_h {Hintergrundposition: -240px -240px} .s_btn_wr {width: 97px; Höhe: 34px; Anzeige: Inline-Block; Hintergrundposition: -120px
-240px;*Position: Relativ; Z-Index: 0; Vertical-Align: Top} #lg img {vertikal-align: top; margin-bottom: 3px} #lk {margin: 33px
0} #lk span {font: 14px "安体"} #lm {Höhe: 60px; Zeilenhöhe: 15px} #lh {Margin: 16px
0 5px; Wortabteilung: 3px} .tools {Position: absolut; ober: -4px;*top: 10px; rechts: 7px} #mholder {width: 62px; Position: relativ; Z-Index: 296; Anzeige: keine} {Höhe: 18px; Linie: 18PX;
span {color:#00C;
.pinyin {display: inline-block} #mcon .c-icon-chevron-unfold2 {margin-links: 5px} #mmenu
A {Breite: 100%; Höhe: 100%; Anzeige: Block; Linienhöhe: 22px; Text-Indent: 6PX; Textablagerung: Keine; Filter: Keine/9}#mmenu,#Benutzer
ul {box-shadow: 1px 1px 2px #ccc; -moz-box-shadow: 1px 1px 2px #ccc; -webkit-box-shadow: 1px
1px 2px #ccc; Filter: progid: dimaTransform.microsoft.shadow (Stärke = 2, Richtung = 135, Color = "#CCCCCC")/9} #MMENU {Breite: 56px; Border: 1PX
Solid#9b9b9b; Listenstil: Keine; Position: absolut; rechts: 27px; Top: 28px; Anzeige: Keine; Hintergrund: #fff} #Mmenu
A: Hover {Hintergrund: #EBEB} #MMMENU .ln {Höhe: 1px; Hintergrund: #eBeb; Überlauf: versteckt; Schriftgröße: 1px; Zeilenhöhe: 1px; Margin-Top: -1px}#CP,#CP
a {color:#666} #seth {display: none; Hintergrund: url (#default#homepage)}#setf {display: none} #sekj {margin-left: 14px} #shouji {margin-right: 14px} #U
.last {margin-right: 0} #u .un {Schriftgewicht: BOLD; Margin-Right: 5px} #u ul {width: 100%; Hintergrund: #fff; Grenze: 1px
Solid#9b9b9b} #u li {Höhe: 25px} #u li a {width: 100%; Höhe: 25px; Zeilenhöhe: 25px; Anzeige: Block; Text-Align: links; Textdekoration: None; Text-Indent: 6px; Margin: 0; Filter: None/9} #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U #U.
Li A: Hover {Hintergrund: #EBEB} #U li.nl {Border-top: 1px Solid #EBEB} #User_Center {Position: Relativ; Anzeige: Inline-Block} #User_Center
.user_center_btn {margin-right: 5px} .usermenu {width: 64px; Position: absolut; rechts: 7px; _Right: 2px; top: 15px; top: 14px/9;*top: 15px; padding-top: 4px;
</style>
<Styles>
/*
Mein Logo -Stil
*/
#M {Position: relativ; Polsterung: 50px 0 0 0;}
#Newyeareve {Höhe: 15px; Position: Absolut; oben: 250px; links: 130px; Breite: 510px;}
#Newyeareve li {Cursor: Zeiger; Breite: 20px; Höhe: 15px; Rand: 0 21px 0 0; Float: links;}
#Newyeareve .icon-newyear0 {Hintergrund: url ("// files.vevb.com/file_images/article/201407/mylove.png") No-Repeat Center;}
#Newyeareve. Month-Next {Anzeige: Keine! Wichtig;}
#newyeareve .icon-newyear1 {Hintergrund: url ("// files.vevb.com/file_images/article/201407/mylove01.png") No-Repeat Center;}
#newyeareve li: hover {Hintergrund: url ("// files.vevb.com/file_images/article/201407/mylove.gif") No -Repeat -0 0; }
#M {Position: Relativ;}
#play {Position: absolut; ober: 135px; links: 348px; Breite: 25px; Höhe: 25px; Cursor: Zeiger;}
#Newyeareve .icon-newyear2,#Newyeareve .icon-newyear1: Hover {Hintergrund: URL ("// Files.vevb.com/File_images/article/201407/mylove01.png") No-Repeat Center Center Center;}
#Newyearkw {Farbe:#e203a9; Position: absolut; ober: 212px; links: 135px; Breite: 300px; Höhe: 20px; Farbe:#897883; Z-Index: 100; Font-Familie: "microsoft yahei";
#Newyearkw i,#newyearkw img {Schriftstil: Normal; Position: absolut; Breite: 20px; Höhe: 20px; Top: 0;}
#Newyearkw .img01 {links: 0px;}
#Newyearkw .img02 {links: 180px;}
#Newyearkw .c1 {Farbe:#e203a9; links: 20px;}
#Newyearkw .c2 {Farbe:#e203a9; links: 40px;}
#Newyearkw .c3 {Farbe:#B60175; links: 60px;}
#Newyearkw .c4 {Farbe:#B60175; links: 80px;}
#Newyearkw .c5 {Farbe:#f460af; links: 100px;}
#Newyearkw .c6 {Farbe:#f460af; links: 120px;}
#Newyearkw .c7 {Farbe:#fd98a5; links: 140px;}
#Newyearkw .c8 {color:#fec8db; links: 160px;}
#Newyearkw .c9 {color:#fec8db; links: 180px;}
#Newyearkw .c11 {color:#fec8db;}
#Newyearkw .c12 {color:#fec8db;}
#Newyearkw .c13 {color:#fec8db;}
#Newyearkw .c14 {color:#fec8db;}
.Word-Box {Position: relativ; Breite: 300px; Höhe: 20px;}
</style>
<div id = "content">
<div id = "m">
<p id = "lg">
<img src = "// files.vevb.com/file_images/article/201407/mylove_logo.png"/>
</p>
<p id = "nv">
<a href = "http://news.baidu.com/" rel = "externe nofollow" name = "tj_news">
Nachricht
</a>
<b>
Webseite
</b>
<a href = "http://tieba.baidu.com/" rel = "external nofollow" name = "tj_tieba">
Poste es
</a>
<a href = "http://zhidao.baidu.com/" rel = "externer nofollow" name = "tj_zhidao">
Wissen
</a>
<a href = "http://music.baidu.com/" rel = "external nofollow" name = "tj_mp3">
Musik
</a>
<a href = "http://image.baidu.com/" rel = "external nofollow" name = "tj_img">
Bild
</a>
<a href = "http://v.baidu.com/" rel = "external nofollow" name = "tj_video">
Video
</a>
<a href = "http://map.baidu.com/" rel = "external nofollow" name = "tj_map">
Karte
</a>
</p>
<div id = "fm">
<Formular name = "f" action = "http://www.baidu.com/s" target = "_ leer">
<spann>
<Eingabe type = "text" name = "wd" id = "kw" maxLength = "100" autocplete = "off"/>
</span>
<Eingabe type = "Hidden" name = "rsv_bp" value = "0"/>
<Eingabe type = "Hidden" name = "ch" value = ""/>
<Eingabe type = "Hidden" name = "tn" value = "SiteHaO123"/>
<Eingabe type = "Hidden" name = "bar" value = ""/>
<Eingabe type = "Hidden" name = "rsv_spt" value = "3"/>
<Eingabe type = "Hidden" name = "ie" value = "utf-8"/>
<spann>
<input type = "subine" value = "baidu" id = "su
</span>
<div id = "sd_1386659528033" style = "display: keine;">
</div>
</form>
<spann>
<span id = "mHolder">
<div id = "mcon">
<spann>
Eingabemethode
</span>
</div>
</span>
</span>
</div>
<ul id = "newyeareve"> <li i = "0"> </li> <li i = "1"> </li> </ul>
<div id = "Play" style = "display: keine;"> </div>
<div id = "newyearkw">
<div>
<img src = "// files.vevb.com/file_images/article/201407/mylove.gif"/>
<i> Liebes </i>
<i> love </i>
<i> 's </i>
<i>, </i>
<i> Marry </i>
<i> gib </i>
<i> i </i>
<i> Bar </i>
<img src = "// files.vevb.com/file_images/article/201407/mylove.gif"/>
</div>
</div>
</div>
</div>
<script type = "text/javaScript"> // <! [cdata [
var newyeareve = newyeareve || {};
newyeareve.dom = document;
newyeareve.box = newyeareve.dom.getElementById ("Newyeareve");
newyeareve.kw = newyeareve.dom.getElementById ("kw");
newyeareve.newyearkw = newyeareve.dom.getElementById ("newyearkw");
//newyeareve.logo=newyeareve.dom.getElementById("lg ");
//newyeareve.playdom=newyeareve.dom.getElementById("play ");
newyeareve.num = -1;
Newyeareve.Time = 0;
newyeareve.Wordwidth = 300;
Newyeareve.WordW = 0;
Newyeareve.Neway = false;
newyeareve.dataarr = [{{{
Schlüsselwort: "Sie haben mir ein besonderes Gefühl gegeben, als ich mich am 18. Mai 2012 zum ersten Mal traf."
}, {
Schlüsselwort: "Wir waren am 5. Juni 2012 zusammen und seitdem hat dieser gewöhnliche Tag eine besondere Bedeutung für uns"
}, {
Schlüsselwort: "Der erste Streit am 20. August 2012 hat Sie traurig und leid gemacht"
}, {
Schlüsselwort: "Shangri-Las erste Reise am 1. Oktober 2012"
}, {
Schlüsselwort: "Wir haben zusammen am Heiligabend am 24. Dezember 2012 zusammen einen Weihnachtsbaum gemacht."
}, {
Schlüsselwort: "Ich gebe Ihnen immer noch Rosen am ersten Valentinstagstag am 14. Februar 2013"
}, {
Schlüsselwort: "17. März 2013 Ich habe Ihren ersten Geburtstag gefeiert"
}, {
Schlüsselwort: "Ich freue mich auch sehr, am 1. Juni 2013 gemeinsam den Kindertag zu feiern."
}, {
Schlüsselwort: "Vielen Dank für das Jahr, in dem Sie zum ersten Jahrestag vom 5. Juni 2013 an Ihrer Seite waren."
}, {
Schlüsselwort: "Ich werde Sie mitnehmen, um am 4. August 2013 meine Heimatstadt zu essen und zu sehen, dass Sie eine tolle Zeit haben."
}, {
Schlüsselwort: "Ich war ein wenig nervös, als ich Ihre Eltern am 19. September 2013 zum ersten Mal während des Mitte des Autumnfestivals traf."
}, {
Schlüsselwort: "31. Dezember 2013 Ich hoffe, ich werde Sie von nun an jedes Mal das neue Jahr feiern ..."
}
];
newyeareve.createhtml = function (num) {
var h = '';
var n = 1;
Num = Num-0;
if (num <n+1) {
Switch (num) {
Fall 0:
H = '<li i = "0">';
brechen;
Fall 1:
H = '<li i = "0"> </li> <li i = "1"> </li>';
brechen;
}
}anders{
für (var i = 0; i <num-n; i ++) {
H+= '<li i = "'+i+'">';
}
für (var i = num-n; i <num+1; i ++) {
var c = 'icon-Newyear'+(i+n-num);
H+= '<li i = "'+i+'">';
}
}
if (newyeareve.box) {
newyeareve.box.innerhtml = h;
}
newyeareve.kw.value = newyeareve.dataarr [num] .Keyword;
}
newyeareve.Animate = function () {
if (newyeareve.num <11) {
newyeareve.num ++;
newyeareve.createhtml (this.num);
}
newyeareve.time = setTimeout (function () {
if (newyeareve.num <11) {
Newyeareve.Animate ();
} anders {
newyeareve.kw.value = "";
newyeareve.box.innerhtml = "";
Newyeareve.WordAnimate ();
}
}, 3000);
}
newyeareve.WordAnimate = function () {
if (newyeareve.wordw <newyeareve.wordwidth) {
newyeareve.wordw = newyeareve.wordw+1;
newyeareve.newyearkw.style.width = newyeareve.wordw+"px";
setTimeout (function () {
newyeareve.WordAnimate ();}, 16);
}anders{
Newyeareve.Replay ();
}
}
newyeareve.replay = function (num) {
newyeareve.time = setTimeout (function () {
Newyeareve.WordW = 0;
newyeareve.newyearkw.style.width = newyeareve.wordw+"px";
newyeareve.kw.value = "";
newyeareve.num = -1;
newyeareve.box.innerhtml = "";
Newyeareve.Animate ();
}, 3000);
}
newyeareve.box.onclick = function (Ereignis) {
var e = event.target || event.srcelement;
var i = e.getAttribute ("i");
if (i! == null) {
newyeareve.Newyearkw.style.width = "0px";
newyeareve.kw.value = newyeareve.dataarr [i] .Keyword;
newyeareve.clicknum = i;
newyeareve.createhtml (newyeareve.clicknum);
Clearimeout (Newyeareve.Time);
newyeareve.time = setTimeout (function () {
//newyeareve.createhtml(newyeareve.num);
newyeareve.num = newyeareve.num == 11? 10: newyeareve.num;
Newyeareve.Animate ();
//newyeareve.kw.value= newyeareve.user || "";
}, 3000)
}
}
Newyeareve.Animate ();
//newyeareve.WordAnimate ();
//]]> </script>