Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #39310 > unrolled thread

Re: [Firefox]Executing script elements

Started byThomas 'PointedEars' Lahn <PointedEars@web.de>
First post2020-12-23 22:15 +0100
Last post2020-12-25 22:18 +0100
Articles 3 — 2 participants

Back to article view | Back to comp.lang.javascript

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Firefox]Executing script elements Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-12-23 22:15 +0100
    Re: [Firefox]Executing script elements "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-12-25 10:16 -0800
      Re: [Firefox]Executing script elements Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-12-25 22:18 +0100

#39310 — Re: [Firefox]Executing script elements

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2020-12-23 22:15 +0100
SubjectRe: [Firefox]Executing script elements
Message-ID<2180135.ElGaqSPkdT@PointedEars.de>
Stefan Ram wrote:

>   It would be nice if one could edit HTML without an external editor!

  element.contentEditable = true;

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

[toc] | [next] | [standalone]


#39330

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2020-12-25 10:16 -0800
Message-ID<e6868733-a26a-4888-aaf2-98cf68a75df0n@googlegroups.com>
In reply to#39310
On Wednesday, December 23, 2020 at 3:15:23 PM UTC-6, Thomas 'PointedEars' Lahn wrote:
> Stefan Ram wrote: 
> 
> > It would be nice if one could edit HTML without an external editor! 
> 
> element.contentEditable = true; 

Another cute trick is to navigate to:

data:text/html;charset=utf-8,<html contenteditable></html>

[toc] | [prev] | [next] | [standalone]


#39332

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2020-12-25 22:18 +0100
Message-ID<2047581.irdbgypaU6@PointedEars.de>
In reply to#39330
Michael Haufe (TNO) wrote:

> On Wednesday, December 23, 2020 at 3:15:23 PM UTC-6, Thomas 'PointedEars'
> Lahn wrote:
>> Stefan Ram wrote:
>> > It would be nice if one could edit HTML without an external editor!
>> 
>> element.contentEditable = true;
> 
> Another cute trick is to navigate to:
> 
> data:text/html;charset=utf-8,<html contenteditable></html>

YMMD :)

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web