krot

parent scrollTo

Apr 19th, 2016
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var el=window.parent.document.getElementById('mhcart');if(el){
  2. window.parent.scrollTo(0,0);
  3. el.style.display = 'none';
  4. window.scrollTo(0,0);
  5. }
RAW Paste Data