Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- OK, so here's the thing, I suck at programming. I've been trying to teach myslef program and web design for a while, but I'm incredibly disorgaanized, so have fun readong this source.
- BTW I stole my search bar from Twily (his shit can be found at twily.info), just want to give credit where credit is due.
- This is a work in progress, I haven't personally filled out all the links in the page, so you'll see some redudancy.
- Have fun.
- -->
- <html>
- <title>
- Home
- </title>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
- </head>
- <style type="text/css">
- * {
- text-decoration: none;
- color: #d2deab;
- }
- html {
- background: #211b1c;
- background-size: 100%;
- color: #d2deab;
- font-family: "Terminus", monospace;
- font-size: 14px;
- }
- .hv {
- padding: 40px 20px 40px 20px;
- background-color: #b3383d;
- display: block;
- margin: auto;
- text-align: center;
- width: 200px;
- box-shadow: 2px 2px 2px #44303c;
- /*margin: 20px 20px 20px 20px;*/
- }
- .hv:hover {
- background-color: #d84146;
- }
- h1 {
- float: left;
- margin-left: 20%;
- }
- table,th,td,tr {
- text-align: center;
- margin-left: auto;
- margin-right: auto;
- padding: 4px;
- }
- a:hover {
- text-shadow: 1px 1px #44303c;
- }
- table {
- visibility: collapse;
- height: 0px;
- }
- .hv:hover table {
- visibility: visible;
- margin-top: -50px;
- }
- .hv:hover div {
- height: 60px;
- }
- .hv:hover b {
- color: #d84146;
- }
- #wrap {
- background-color: #465769;
- padding: 20px 20px 20px 20px;
- position: relative;
- margin-left: auto;
- margin-right: auto;
- margin-top: 10%;
- width: 240px;
- }
- #q {
- background-color: #506c84;
- border: 0; border-radius: 1px;
- padding: 8px 8px; font-size: 12pt;
- margin-bottom: 20px;
- margin-left: 13px;
- font-family: "Terminus", monospace;
- color: #d2deab;
- width: 200px;
- box-shadow: 2px 2px 2px #465769;
- text-align: center;
- }
- input, select, textarea{
- color: #211b1c;
- }
- </style>
- <script type="text/javascript">
- var $=function(id) { return document.getElementById(id); };
- var search=[ // Search engines
- ["", "https://www.google.com/#q="], // Google (Default)
- ["!g", "https://www.google.com/#q="], // Google
- ["!i", "https://www.google.com/search?tbm=isch&q="], // Google Images
- ["!y", "https://www.youtube.com/results?search_query="], // YouTube
- ["!w", "http://en.wikipedia.org/w/index.php?search="], // Wikipedia
- ["!m", "http://www.imdb.com/find?q="], // IMDb
- ["!u", "http://www.urbandictionary.com/define.php?term="], // Urban Dictionary
- ["!n", "http://www.nyaa.se/?page=search&cats=0_0&filter=0&term="], //Nyaa
- ];
- var ss="";
- function init() {
- for(var i=0;i<search.length;i++) if(search[i][0]=="") ss=search[i][1];
- if(ss=="") alert("Error: Missing default search engine!");
- build();
- $('q').value="";v
- $('q').focus();
- }
- function handleQuery(e,q) { // Handle search query
- var key=e.keyCode || e.which;
- if(key==13) { // enter
- if(q.lastIndexOf("!")!=-1) {
- var x=q.lastIndexOf("!"),found=false;
- for(var i=0;i<search.length;i++) {
- if(search[i][0]==q.substr(x)) { // Find "!?"
- found=true; window.location=search[i][1]+q.substr(0,x).replace(/&/g,"%26");
- }
- }
- if(!found) { // Invalid "!?", use default
- window.location=ss+q.substr(0,x).replace(/&/g,"%26");
- }
- } else { // "!?" where not specified, use default
- window.location=ss+q.replace(/&/g,"%26");
- }
- }
- }
- </script>
- <body onload="javascript:init();">
- <h1 id="header">Weeaboo.</h1>
- <div id="wrap">
- <input autofocus type="text" id="q" value="" placeholder="" onkeypress="javascript:handleQuery(event,this.value);" onfocus="this.value=this.value" />
- <div id="chan" class="hv">
- <b>4chan</b>
- <div id="clist" class="lit">
- <table>
- <tr>
- <td><a href="https://www.4chan.org/a/catalog">/a/</a></td>
- <td><a href="https://www.4chan.org/g/catalog">/g/</a></td>
- <td><a href="https://www.4chan.org/v/catalog">/v/</a></td>
- </tr>
- <tr>
- <td><a href="https://www.4chan.org/c/catalog">/c/</a></td>
- <td><a href="https://www.4chan.org/w/catalog">/w/</a></td>
- <td><a href="https://www.4chan.org/tg/catalog">/tg/</a></td>
- </tr>
- <tr>
- <td><a href="https://www.4chan.org/jp/catalog">/jp/</a></td>
- <td><a href="https://www.4chan.org/wg/catalog">/wg/</a></td>
- <td><a href="https://www.4chan.org/wsg/catalog">/wsg/</a></td>
- </tr>
- </table>
- </div>
- </div>
- <div id="school" class="hv">
- <b>Work</b>
- <div id="slist" class="lit">
- <table>
- <tr>
- <td><a href="https://"></a></td>
- <td><a href="https://mail.google.com">Gmail</a></td>
- <td><a href="https://www.w3schools.com">W3</a></td>
- </tr>
- <tr>
- <td><a href="https://www.gvltec.edu">Gtec</a></td>
- <td><a href="https://drive.google.com">Drive</a></td>
- <td><a href="https://www.codecademy.com">Ccad</a></td>
- </tr>
- <tr>
- <td><a href="https://www.wikipedia.org">Wiki</a></td>
- <td><a href="https://www.google.com">GGL</a></td>
- <td><a href="https://www.wiki.installgentoo.com">IGT</a></td>
- </tr>
- </table>
- </div>
- </div>
- <div id="buy" class="hv">
- <b>Msc</b>
- <div id="blist" class="lit">
- <table>
- <tr>
- <td><a href="https://www.massdrop.com/buy">Mass</a></td>
- <td><a href="https://www.animebytes.tv">AB</a></td>
- <td><a href="https://www.4chan.org/v/catalog">/v/</a></td>
- </tr>
- <tr>
- <td><a href="https://www.newegg.com">Negg</a></td>
- <td><a href="https://www.amazon.com">Azon</a></td>
- <td><a href="https://www.nyaa.se">Nyaa</a></td>
- </tr>
- <tr>
- <td><a href="https://www.4chan.org/jp/catalog">/jp/</a></td>
- <td><a href="https://www.4chan.org/wg/catalog">/wg/</a></td>
- <td><a href="https://www.4chan.org/wsg/catalog">/wsg/</a></td>
- </tr>
- </table>
- </div>
- </div>
- <div id="sell" class="hv">
- <b>Fun</b>
- <div id="blist" class="lit">
- <table>
- <tr>
- <td><a href="https://www.reddit.com">Reddit</a></td> <!-- leddit -->
- <td><a href="https://www.imgur.com">Imgur</a></td>
- <td><a href="https://www.8ch.net">8chan</a></td>
- </tr>
- <tr>
- <td><a href="https://www.kiwiblitz.com">Kiwi</a></td>
- <td><a href="https://www.romanticallyapocalyptic.com">Apoc</a></td>
- <td><a href="https://www.youtube.com">Ytub</a></td>
- </tr>
- <tr>
- <td><a href="https://r-a-d.io">R/a/dio</a></td>
- <td><a href="https://www.4chan.org/wg/catalog">/wg/</a></td>
- <td><a href="https://www.4chan.org/wsg/catalog">/wsg/</a></td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement