<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Osias, I tried that and it didn't work.  dob, yes it is onmousedown, and it is html. [EDIT: OK, sorry, I guess this is wrong, I misunderstood.]  Just above that line in the code it creates some html, then the above line is used to set the onmousedown parameter (or whatever you call it) part of the tag (presumably because the function is called with &quot;this&quot;).  I should also add that the code works perfectly outside of greasemonkey.

Thanks for your help, but I think I'm going to have to leave it at that, as my js is not up to scratch, and I don't really have the time to figure it all out.  I was hoping that it wouldn't be too difficult to adapt the above code -- but I  guess it is more complicated than that.

I kind of liked the idea of being able to edit html documents on the fly (I mean click and dragging stuff), just to tidy away any annoyances.  I use Stylish, but that's only really any good for altering pages you visit regularly.  (There's another plugin for firefox called aardvark, which sort of lets you delete things -- but not resize them.)  Since this is a requests forum, I guess I'll just have to repeat my request.  Anyone feel it's worth while rewriting this script, and maybe building on it to maybe allow the user to click and drag things in general around the page, or delete them?</body>
  <body-html>&lt;p&gt;Osias, I tried that and it didn't work.  dob, yes it is onmousedown, and it is html. [EDIT: OK, sorry, I guess this is wrong, I misunderstood.]  Just above that line in the code it creates some html, then the above line is used to set the onmousedown parameter (or whatever you call it) part of the tag (presumably because the function is called with &quot;this&quot;).  I should also add that the code works perfectly outside of greasemonkey.&lt;/p&gt;

&lt;p&gt;Thanks for your help, but I think I'm going to have to leave it at that, as my js is not up to scratch, and I don't really have the time to figure it all out.  I was hoping that it wouldn't be too difficult to adapt the above code -- but I  guess it is more complicated than that.&lt;/p&gt;

&lt;p&gt;I kind of liked the idea of being able to edit html documents on the fly (I mean click and dragging stuff), just to tidy away any annoyances.  I use Stylish, but that's only really any good for altering pages you visit regularly.  (There's another plugin for firefox called aardvark, which sort of lets you delete things -- but not resize them.)  Since this is a requests forum, I guess I'll just have to repeat my request.  Anyone feel it's worth while rewriting this script, and maybe building on it to maybe allow the user to click and drag things in general around the page, or delete them?&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-05-16T08:16:56Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">9194</id>
  <topic-id type="integer">2363</topic-id>
  <updated-at type="datetime">2008-05-16T12:59:23Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">52923</user-id>
</post>
