Change the page you're viewing within your browser?
Whats the javascript code you put into your URL bar that allows you to automatically edit and change things right there on whatever page you're viewing? Do you guys know what I'm talking about?
|
I'm not sure there is an out-of-the-box working code out there, but you are looking for a "javascript inline editor" (not to be confused with "inline javascript")
All it does is look for specific elements in HTML to edit, such as p, a, img, and div, and just replaces with a form element. Then when you go for a .blur or .focus event it submits the form via AJAX call. If you do find out-of-the-box solution, let me know -- I'd like to see how they did it. lol. Hope this gets you started, kinda vague response I know :) Quote:
|
Code:
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0 |
What do you mean by making things editable? In all modern browsers (especially Chrome which I personally use) you can just right click anything and "Inspect element", and you can "change everything" and have a look. With Firefox, install the Firebug plugin. If that's what you mean. :)
|
All times are GMT -7. The time now is 02:01 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc