954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Save webpage

Hi everybody!

I'm trying to save my web page using javascript. Can anyone please help me write the code for the same.

document.execCommand(sCommand [, bUserInterface] [, vValue]) is not working in firefox. If there is any alternative to this code please let me know.


Thanks a lots for reading my thread. Any help from your side will highly be appreaciated.


Regards

ardeezstyle
Light Poster
49 posts since May 2008
Reputation Points: 13
Solved Threads: 1
 

This is a security violation.

It is normally a security violation for any web page (origin known or unknown) to mess with the file system on the browser's computer without permission of the owner of that computer.

If IE permits it, it is foolish to use IE.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

Hi MidiMagic !

First of all I convey my thanks to you for taking a look at my thread. Since I tried to find solution to my problem visiting many websites, I posted the thread but what you responded is not the solution to my problem. It may be a security violation in normal cases but there should be a solution to every problem. If you do know the solution please let me know. I heard that there are solutions to such kind of problems.


Thanks and Regards
Rupam Datta

This is a security violation.

It is normally a security violation for any web page (origin known or unknown) to mess with the file system on the browser's computer without permission of the owner of that computer.

If IE permits it, it is foolish to use IE.

ardeezstyle
Light Poster
49 posts since May 2008
Reputation Points: 13
Solved Threads: 1
 

Most of the WYSIWYG Editors that I see require activeX which requires IE but I know that some claim to be cross browser compatible. I would go to a website that offers scripts like hotscripts.com and search for "WYSIWYG editor" and you will probably find a couple that you can tear apart and look at the source.

R0bb0b
Posting Shark
998 posts since Jun 2008
Reputation Points: 358
Solved Threads: 89
 

Thanx for writing RobbOb, I'll definitely see through it.

Regards
Rupam

Most of the WYSIWYG Editors that I see require activeX which requires IE but I know that some claim to be cross browser compatible. I would go to a website that offers scripts like hotscripts.com and search for "WYSIWYG editor" and you will probably find a couple that you can tear apart and look at the source.
ardeezstyle
Light Poster
49 posts since May 2008
Reputation Points: 13
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You