[How-to] Edit Websites [JavaScript] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Life Support (https://www.supportforums.net/forumdisplay.php?fid=12) +---- Forum: Omni's Secret Hidden Inside Tricks (https://www.supportforums.net/forumdisplay.php?fid=13) +---- Thread: [How-to] Edit Websites [JavaScript] (/showthread.php?tid=3860) |
[How-to] Edit Websites [JavaScript] - flAmingw0rm - 12-22-2009 This is very simple javascript, which allows you to edit websites. NO, it won't be edited, only you can see it. After refresh everything's back to normal. Here's the code: Code: javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0 Just paste it in the website you want to edit in the URL. Enjoy. RE: [How-to] Edit Websites [JavaScript] - Gaijin - 12-23-2009 There are way better ways to use this function, one is a rich text editing... Here is a small rich text editor I wrote in 5mins.... You can take a look at it... Code: <html> And here a little preview: It's just that the use of the function you're showing is simply pointless and not needed. RE: [How-to] Edit Websites [JavaScript] - Project Evolution - 12-23-2009 Java and Javascript are two different things. Dont confuse the two. |