Viewing all steps by default?
30
comments
|
Add Comment
|
Here's the new version.
Bang away at it and see if there's still a problem. It now checks for the "id" tag and the "DISCUSS" text.
Well not really. But it puts the ?ALLSTEPS thingy into those instructables image viewer pages.
ie: http://www.instructables.com/id/F6WRLE9ZNGEYYMWJ1Y/index.html?size=ORIGINAL?ALLSTEPS
&& (thisLink.href.indexOf("?size") == -1)
to the if statement will fix that.
Instructables is going kinda slow for me right now and I'm having some weird stuff happen when I'm testing this change, so let me know if it works correctly for you.
How To Use Greasemonkey Scripts In Opera
Turns out you can, and you don't even need GM in the first place. Also it's very easy to do. One step really.
Contemplating if I should make it into an Instructable. Seems more like plaigurism though (it is only one step).
Get Greasemonkey and click here.
Thanks to zachninme for making it. Original discussion here.
It currently applies "?ALLSTEPS" to any link on the explore page, specifically the links to user pages and comments. This is mostly superficial, but its does screw up the comments link (it'll take you to the instructable, but it won't go to the comments.)
What would I need to change to filter out these links?
I believe its this if statement that needs to be changed:
if (thisLink.href.match(/\?/i))
*sigh* I know just enough Java to find the problem, but not enough to fix it. :-(
So if the link is "http://www.instructables.com/id/E53LXTNKPKEXCFG4K7/" (the lovely tongue one), then strip 29 chars off the beginning and 20 off the end. If that=="id", then attach "?ALLSTEPS"
I'll try it at work tomorrow to look busy.
Greasemonkey
![]() |














Vancouver Mini Maker Faire 2012
Rebuilding NordicTrack ski machine drive rollers
Looking for New Zealand-based Instructables authors for conference on August 27 in Wellington
Call to makers - Brighton Mini Maker Faire
Milk Crates - not as green as you think
TEDxBaghdad - Iraq - violence, dust storms and open sourced manufacturing
UK Mini Maker Faire - The Derby Silk Mill - New Poster to Share!







