Jump to content

Pretty cool iframe cropper script! My first (real) script.


jdock1

Recommended Posts

Ive been working on this for the past few days, I got the idea from "blackhat" kind of techniques for generating leads.

Its mostly coded in javascript. Basically it is an Iframe crop script. If you don't feel like guessing the hieghth, width etc of an area of a webpage for creating an iframe, you can crop it with this script & it will do that for you. It then outputs an iframe code.

Its really up to you how you will use the script.

Thanks to the javascript bible & other PHP/Javascript books I was able to create this application!

 

Please check it out for me and give me your thoughts on it. Yes, its pretty useless. But if you ever find yourself needing to iframe something, this makes it a lot easier.

 

Its not all that accurate, on some websites it will be a little off. I have not tested it in any other browser other than FF.

 

Demo:

http://174.121.237.117/cut/index.php

 

Example of outputted code:

<iframe src="http://174.121.237.117/cut/out.php?url=http%3A//phpfreaks.com&height=455&width=978&left=24&top=31.600006103515625" style="height: 123px; width: 931px"></iframe>

 

Example of using the code in an html page using a crop of the phpfreaks banner:

http://174.121.237.117/cut/phpfex.html

 

Link to comment
Share on other sites

  • 7 months later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.