Load tinymce editor on textarea appearance

66 views
Skip to first unread message

Navara

unread,
Aug 24, 2007, 8:56:53 AM8/24/07
to greasemonkey-users
Some forums don't have any kind of "advanced editing" to be turned on,
so I would like to insert tinymce on those sites by greasemonkey.
Following manual (it's my first script), I managed to do this script
http://www.pastebin.org/1074

When I try it with testing innerHTML (that is commented in source),
everything works as expected - text "Textarea" appears on top of page.

But in case when I try to load script from different site (both
webserver on localhost and internet ones), my browser (Mozilla/5.0
(X11; U; Linux i686 (x86_64); cs; rv:1.8.1.6) Gecko/20070725 Firefox/
2.0.0.6 - Build ID: 2007072517) is trying to redirect somewhere and
loads page forever (until I disable greasemonkey by its icon and
reload page).

What shall I change, to have tinymce loaded on pages with textarea?
Thanks :)

Martin Kirk

unread,
Sep 29, 2012, 11:05:13 AM9/29/12
to greasemon...@googlegroups.com
Hi - i was looking for a method of doing exactly what you are wanting to do

i imagine that one needs to embed the whole sourcecode of TinyMCE into the injection script... and load the images from a server elsewere 

its all a good idea - for sites that accept HTML but doesnt have a WYSIWYG - Like ASUS Forums... 
Reply all
Reply to author
Forward
0 new messages