// ==UserScript==
// @name         Chrome New Tab Prettify.
// @namespace    https://github.com/kilfu0701
// @version      0.4
// @description  Prettify UI on Chrome new tab.
// @author       kilfu0701
// @match        /^http[s]?:\/\/www.google*/
// @run-at       document-ready
// @include      /^http[s]?:\/\/www.google*/
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @grant        none
// ==/UserScript==

// 0 = Brower default
var style = 0;

// logo, search_bar, blocks
var hide = ['logo', 'search_bar', 'blocks'];

if (location.pathname === "/_/chrome/newtab") {
    var $el = {
        blocks: $('.mv-hide'),
        logo: $('#lga'),
        search_bar: $('#f')
    };

    $.each(hide, function (k, val) {
        if (val in $el) {
            $el[val].hide();
        }
    });

    switch (style) {
        case 0:
        break;

        default:
        break;
    }
}

@@ -122,9 +122,9 @@
   0.
-4
+5
 %0A// 
@@ -321,89 +321,8 @@
 e*/%0A
-// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js%0A
 // @
@@ -527,17 +527,16 @@
     var 
-$
 el = %7B%0A 
@@ -554,12 +554,41 @@
 ks: 
-$
+document.getElementsByClassName
 ('
-.
 mv-h
@@ -592,16 +592,19 @@
 v-hide')
+%5B0%5D
 ,%0A      
@@ -611,20 +611,41 @@
   logo: 
-$
+document.getElementById
 ('
-#
 lga'),%0A 
@@ -667,12 +667,33 @@
 ar: 
-$
+document.getElementById
 ('
-#
 f')%0A
@@ -708,21 +708,21 @@
     
-$.each(hide, 
+hide.forEach(
 func
@@ -731,11 +731,8 @@
 on (
-k, 
 val)
@@ -753,19 +753,52 @@
 (val in 
-$
 el
+ && typeof el%5Bval%5D !== 'undefined'
 ) %7B%0A    
@@ -809,17 +809,16 @@
     
-$
 el%5Bval%5D.
 hide
@@ -817,14 +817,30 @@
 al%5D.
-hide()
+style.display = %22none%22
 ;%0A  

remove jQuery