I use a site that currently makes use of a text area and suggests using a html editor to create code and then paste it into the box I am attempting to add CKE via greasemonkey.
when I use the grease monkey script
// ==/UserScript==
var edt = document.createElement('script');
edt.src = 'http://ebonverity.com/ckeditor/ckeditor.js';
edt.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(edt);
CKEDITOR.replace( 'cont' );
it does nothing
and when I use
// @require http://ebonverity.com/ckeditor/ckeditor.js
// ==/UserScript==
var edt = document.createElement('script');
edt.src = 'http://ebonverity.com/ckeditor/ckeditor.js';
edt.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(edt);
CKEDITOR.replace( 'cont' );it removes the text box all together
but if I use the one with the require then load the page the remove the require and load the page it works just fine... for one load
any suggestions
