View difference between Paste ID: JsZQ2XHk and Z2NKUwm6
SHOW: | | - or go back to the newest paste.
1
// ==UserScript==
2
// @name        ibood
3
// @namespace   ibood
4
// @description clean ibood
5
// @include     http://www.ibood.com/*
6-
// @version     1
6+
// @version     1.1
7
// @grant       none
8
// ==/UserScript==
9
10
function addCss(cssString) {
11
  var head = document.getElementsByTagName('head') [0];
12
  //return unlesshead;
13
  var newCss = document.createElement('style');
14
  newCss.type = 'text/css';
15
  newCss.innerHTML = cssString;
16
  head.appendChild(newCss);
17
}
18-
addCss('.flashsales{display: none;} .primary-offer-specs{float: none;} .primary-offer {margin-bottom: 100px;} .readmore{font-size: large;} .widget-box.cf {left: 475px; margin-top: -222px;} div.wantone div.cta div.button-cta.buy a.sl {font-size: 15px; height: 70px; width: 150px; margin-bottom: 75px;}');
18+
addCss('.flashsales{display: none;} .primary-offer-specs{float: none;} .primary-offer {margin-bottom: 100px;} .readmore{font-size: large;} .widget-box.cf {left: 475px; margin-top: -222px;} div.wantone div.cta div.button-cta.buy a.sl {font-size: 15px; height: 70px; width: 150px; margin-bottom: 75px;} .subscribe-box{display: none;} .woty{display: none;}');