GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Business Discussion (https://gfy.com/forumdisplay.php?f=48)
-   -   Change the page you're viewing within your browser? (https://gfy.com/showthread.php?t=1035447)

Jayvis 08-24-2011 11:17 AM

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?

crazyvipa 08-25-2011 05:31 AM

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:

Originally Posted by Jayvis (Post 18377491)
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?


ottopottomouse 08-25-2011 05:57 AM

Code:

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

didddle 08-25-2011 05:48 PM

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 09:07 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc