varyen

Untitled

Nov 3rd, 2011
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2. window.setInterval(refreshImages, 30000);
  3. function refreshImages(){
  4. var search=""+(new Date()).getTime();
  5. for(var i = 0; i < document.images.length; i++) {
  6.  
  7.     document.images[i].src = document.images[i].src.replace(/\d+$/, '') + search;
  8.  
  9. }
  10. </script>
RAW Paste Data