Group Forums >> web developers and designers >> cloning a webpage
cloning a webpage
|
1249 posts back to top |
Posted 7 months ago Hi everyone, I saw this alot on freelance sites and I had no real understanding of what its purpose was or exactly what it is. Cloning a website sounds pretty straght forward copy and paste, but writting scripts seems to have me confused. |
|
1355 posts back to top |
| Posted 7 months ago Well, it isn't that hard to clone a Web site. All you have to do is right click on a page and view source. Once you have that information you can duplicate it no worries. Very little scripting is needed to change stuff. You will need to change the links to graphics and other things like that. As far as the graphic goes, if they want the same graphics then right click on them and save. I have to admit that I am wary of people who want a Web site cloned. This reminds me of hackers that clone sites and then send out those massive emails, trying to get people to input personal information so that they can steal from them. There are ways to block the source, particularly disabbling right click on the page. Now.........this doesn't always work through Mozilla or Opera, so the only way to prevent it is make it where the site is not viewable through either of those browsers. I did this with my roommates site because he didn't want anyone taking his photos to use as their own. So...anyway........back at the ranch.........it isn't hard at all to clone another site and takes very little time and effort to do so. As long as you have the graphics you need and any plug-ins and such, you are good to go. The forgetful fishy........I think??!!?? |
|
30 posts back to top |
| Posted 7 months ago sniper4983 says ...
What part about the scripts is confusing you? If you need help understanding how to insert scripts int the HTML code then that can easily be explained. The tag name is script and it will look something like this. <script type="Place the type of script you intend to use here"> Add all your script code in this area. </script> Here is a Java script that i like to use in my applications that makes the window large every time the page is opened. <script type="text/javascript"> window.moveTo(0,0); window.resizeTo(window.screen.availWidth -1, window.screen.availHeight); </script> If you have further questions on this topic let me know. =-) James |
|
1249 posts back to top |
| Posted 7 months ago Sure that is involed with creating a website that has a script, but I blew it out of proportion and assumed to write a whole script to clone a webpage just like cloning a dinasaur in Jurassic Park and trying to survive your own creation after backfireing. Aside from the ludicris nonsense, Is cloning just looking at a website with your own eyes and emulating what you see to the best of your ability. This would also include emulating scripts. Anything I missed? |
|
1355 posts back to top |
| Posted 7 months ago I think you are correct Sniper, at least that is the way I see it (no pun intended). But as I stated, it is easier to view source, copy, and then paste the information in an editor than it is to just go from scratch. The forgetful fishy........I think??!!?? |
|
30 posts back to top |
| Posted 7 months ago One of the things to keep in mind when cloning a web site is, did they use php, did they use something like VB.NET or C# to code the site. I am not talking about vb script either. If they did use one of those languages then all you will be able to clone is the instance of that web site. Php, VB.NET and C# create what I would call on the fly web code. They create the web page on the fly depending on variables such as database, MAC id, and log in info(somewhat of a database thing, could be XML driven). There is a big reason why some of the better web sites use this technology. Most people out there that are trying to clone a web site do it for one reason and one reason alone. Phishing. I am not saying that is your intent, and you probably have a good reason why you wish to clone a site. It would not be the scripts that you would have to worry about it would be the other code that generates code on the fly. For instance the code that I am currently writing that is database driven that generates office documents. This is being discussed in my new forum "Office Open XML Development" for those of you who have not seen it yet.=-) James |
|
157 posts back to top |
| Posted 7 months ago Cloning in this case is just copying everything that comprises the site. If the site is a static XHTML page this task is a cake walk. Where this can get a bit sticky is with dynamic websites. Dynamic websites are database driven and the code you see from the "View Source" command is NOT the site...it is the content generated by script. This scripting code is typically not visible to the end user (i.e. PHP, ASP, etc.). In order to have access to these scripts you would need to have at least read access to the entire site AND you would have to get a copy of the database or at the very least know what tables make up the database so that you can recreate it. In any case cloning a dynamic web page is a big job! |
|
157 posts back to top |
| Posted 7 months ago LOL, jamcas beat me to it!! |
|
10 posts back to top |
| Posted 7 months ago However, it is possible to clone the entire site, if the idiots in charge of the site leaves it to allow debug mode. (This is how I picked some great tricks in development). Lets say you have Visual Studio and you started a new Web site default.htm and launch it in debug mode, now you are in a browser, redirect it to the site of interest, zaazam, if they are set to allow debug mode, you got everything. |


