ForumsTips & TricksGreaseMonkey (Firefox) script for auto show subtasks


GreaseMonkey (Firefox) script for auto show subtasks
Author Message
Anders

Posted: Aug 27, 2009
Score: 0 Reference
It works in Opera for me, but not with the secure connection for some reason. However, it also fails to work when changing tabs. I have never really used Opera user Javascript, but I know a lot of things that you can do with greasemonkey are not available in Opera. It may only require slight modification, but I really couldn't say.

Edit: I think I misunderstood your post. Anyway, it must have something to do with how Opera decides to trigger the user JS. It could be something available in the settings, but I'm I FF person so I don't know Opera too well.


This message was edited Aug 27, 2009.
raShMan

Posted: Aug 28, 2009
Score: 0 Reference
hmm, ok.
thx for your input. maybe a request in the opera userjs forum helps.

and with tabs i mean the tabs of toodledo not the ones of the browser...
raShMan

Posted: Aug 28, 2009
Score: 0 Reference
i got it: replace the last lines of code of matt's script with this code:

if (!window.opera) {
var originalSwapTab = unsafeWindow.swapTab;
unsafeWindow.swapTab = function(e) { originalSwapTab(); fireClicker('action_toggleSubtasks'); }
} else {
var originalSwapTab = swapTab;
swapTab = function(e) { originalSwapTab(); fireClicker('action_toggleSubtasks'); }
}

that way it also works in opera after clicking on toodledo's tabs!
Anders

Posted: Aug 28, 2009
Score: 0 Reference
So, this is a moot point now: http://www.toodledo.com/forums/1/2957/0/nested-subtasks-and-other-updates.html
For the benefit of anyone else who reads this, these scripts are no longer necessary due to the latest website enhancements :)
You cannot reply yet

U Back to topic home

R Post a reply

Skip to Page:  1   2  

To participate in these forums, you must be signed in.