I am new to this site, and one thing I didn't like with the "non-flash" (or static) versions of webteases was that I had to click "continue" all the time, which can be distracting or even messy (when using lube for example ), but definitely annoying.
But I have some background in programming, and so I wrote the following HTML file to auto-continue static webteases:
Code: Select all
<html><head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" charset="utf-8"> // put the URL here, without the page number: var URL="http://www.milovana.com/webteases/showtease.php?id=2528&p="; // page number to start with: var page = 1; // time until next page: var seconds = 10; $(document).ready(function () { var $iframe = $("iframe").attr("src",URL+page); setInterval(function() { page = page + 1; var newLoc = URL+page; $iframe.attr("src",newLoc); }, seconds*1000); }); </script> <style type="text/css" media="screen"> iframe { height: 100%; width: 100%; border: none; } </style></head><body> <iframe></iframe></body></html>
To use it, do the following steps:
- Open a plain-text editor (for example 'notepad' on Windows or 'gedit' on Linux, but not MS Word or alike)
- Copy the above code into your text editor. To get rid of the leading spaces, click on "Line numbers On/Off" before.
- Save the file to your hard disk, and give it a name of your choice ending with ".html"
- Edit the 3 variables according to your needs. Make sure you remove the page number in the URL field, so that the URL ends with "p=". The page number is added to the URL later and is specified in the "page" variable.
- Save your changes
- Open the .html file in your browser, most likely by double-clicking on it.
- Enjoy!