How to fiddle on any web page

Third Attempt

Wow, much much better. Only one more error to take care of. Please notice that the page has downloaded its own jQuery 1.7.2, while before converting relative URLs to absolute, the current jQuery was 1.x (edge). I don’t like that very much, so I think we should downgrade jsFiddle‘s jQuery version to jQuery 1.7.2 (to be sure the page will find the same version) and at the same time we should remove from the page the script tag for jQuery 1.7.2. Let’s do it.

My third attempt (open in jsFiddle):

{[ .disco-attempt3 | 1.hilite(=javascript=) ]}

produced this result:

Screen Shot 2014-06-05 at 10.42.40

which is the same as for the second attempt, but our fiddle is much cleaner inside.

2 Replies to “How to fiddle on any web page”

  1. Well, all of the above is true and should work not only in jsFiddle but also in any other Online JavaScript IDE [1]. But if you have Google Chrome, forget about all those tricks and use its Custom JavaScript Snippets [2] feature instead. It just works. It’s like having the power you get when developing extensions right from the console.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.