Coder Profile - Show off your skills, get a coder profile.
 
 
 
A cool tool ^^
Web Development
Code :: Address bar Copy / Restore
  1. javascript: document.body.contentEditable='true'; document.designMode='on'; void 0
If you copy/paste the above code in your address bar, you can visually edit their page-
(like a frontpage setup, whatever) it's cool. You can't save anything(as far as I know)
But I sort of.. stumbled on it. I tested it in Forefox and it works (and whatever works in firefox, usually works in in IE7.) I just thought it was kinda cool

This works on every page I've seen, and it's great fun! What's cool is when you stump the admin wondering how their page came to look like it does in your screenshot


Posted By Webcopper
Please login to rate coding articles.

Click here to register a free account with us.
Comments
Please login to post comments.
 
Webcopper     Posted 134 Days Ago
 
 
umm I need a portable Admin-selector script.. But uhh anyway.. cool..
 
Relish     Posted 134 Days Ago
 
 
I have a working example: http://www.emminar.com/editor

It uses the same principle.

BTW, FireFox and IE are very different. More than half the time what works in FF
doesn't work in IE, and vise-versa.

But in this case it will work cross-browser :)
 
Izzmo     Posted 135 Days Ago
 
 
Ya, I've used this before as well. When desiging sites for clients to make
their "editing" of content throughout the site easier, I basically make it
to where they can just double-click content to edit it, using this option you've
shown.

It is very nice, but you also have to know how to use it as well, **hint**
SECURITY!
 
Webcopper     Posted 143 Days Ago
 
 
well.. I checked out your link to Codeshade or whatever...
Made an account..atc...atc.. and ran into a post with this on it.. I tried it on a
couple sites and it was totally cool...
 
VBAssassin     Posted 143 Days Ago
 
 
I remember looking in to this a few years ago. It's basically how these
"Rich Text Editors" work. By making the page in an iframe go in to design
mode.

How did you stumble on it (by accident?)?

Kind regards,
Scott
Page 1 of 1
More Articles By This Author
A cool tool ^^
Recently Posted "Web Development" Articles
Website Optimization
How to use Memcache on Windows
PHP Sessions = Member Database Cache
Speed Up Delivery of your JavaScript Libraries
A cool tool ^^
AJAX - When to use it?
Introduction To PHP
[PHP] XML
HTML vs XHTML
[PHP] XML: HTML DOM Basics
Recently Rated "Web Development" Articles
Website Optimization
How to use Memcache on Windows
Preventing raw PHP leaks on Apache
When to use OOP in PHP
AJAX - When to use it?
Speed Up Delivery of your JavaScript Libraries
[PHP] XML
A cool tool ^^
HTML vs XHTML
Introduction To PHP
source codes Categories articles
Browse All
Business & E-Commerce (1)
Databases (1)
Design & Creativity (1)
Internet & Web Sites (1)
Life In General (2)
Operating Systems (3)
Other (2)
Programming (48)
Security (10)
Software Development (5)
Web Development (15)
search Search Inside
Web Development
 
 
Part of the MyPingle Network
Development Blog :: Make A Donation :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents
Version 1.44.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved