powerinside / fliprefresh

// ==UserScript==
// @name        fliprefresh
// @namespace   flipkart
// @description Keep refreshing and just show the steal deals content like a boss
// @include     http://flipkart.com/
// @include     http://flipkart.com/#steal
// @version     4.1
// @grant       none
// ==/UserScript==

var millisecond_delay=1000;
setInterval(function() {
window.location = "http://flipkart.com/";
},millisecond_delay);
steadeal = document.getElementById("steal");
document.body.innerHTML = "<style>.fk-text-center{text-align:center;float:left;border:2px solid black;}.pu-oos:before{font-size:5em;content:'←';}</style>";
for (i in steadeal.getElementsByClassName("productModule")) {
  if(typeof steadeal.getElementsByClassName("productModule")[i].innerHTML!="undefined")
   document.body.insertAdjacentHTML("afterbegin",steadeal.getElementsByClassName("productModule")[i].innerHTML);
}