ForumsSearch



Search results for "Posted by raShMan"
Author Message
raShMan

Posted Feb 18, 2011 in: android version?
Score: 1
  • raShMan
  • Posted: Feb 18, 2011
  • Score: 1
search the forums, iirc they said there's gottodo and astrid. and it's on someday/maybe or so.
raShMan

Posted Feb 18, 2011 in: Firefox Addon Updates
Score: 0
  • raShMan
  • Posted: Feb 18, 2011
  • Score: 0
While we're at it: what about an Opera-Extension? :)
But I guess that's just for when you've got too much time...

I think, there should be a cross-browser-extension-framework. And with that you can make one extension that works in all browsers! THAT would rock...
raShMan

Score: 0
  • raShMan
  • Posted: Aug 28, 2009
  • Score: 0
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!
raShMan

Score: 0
  • raShMan
  • Posted: Aug 28, 2009
  • Score: 0
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

Score: 0
  • raShMan
  • Posted: Aug 27, 2009
  • Score: 0
forget my script, when clicking on a tab it is not opening subtasks as the original script.
next problem: in opera this doesn't work even with the original script. how can this be solved?
raShMan

Score: 0
  • raShMan
  • Posted: Aug 27, 2009
  • Score: 0
*edit: fixed in original post*

hmm, interestingly this only works in opera...
currently trying to figur out why it doesn't work in firefox...


This message was edited Aug 27, 2009.
raShMan

Score: 0
  • raShMan
  • Posted: Aug 27, 2009
  • Score: 0
*updated to the firefox and opera compatible version*

you could have this much easier, maybe it's also faster and it should be more portable.
this uses directly toodledo's javascript methods instead of simulating a click:

// ==UserScript==
// @name toogle toodledo subtasks
// @author raShMan
// @version 1.0
// @include http://www.toodledo.com/*
// @include http://toodledo.com/*
// @include https://www.toodledo.com/*
// @include https://toodledo.com/*
// ==/UserScript==

if (!window.opera) {
unsafeWindow.$('action_toggleSubtasks').setAttribute('c',1);
unsafeWindow.$('action_toggleSubtasks').update("Toggle Subtasks");
unsafeWindow.getAllSubtasks();
} else {
$('action_toggleSubtasks').setAttribute('c',1);
$('action_toggleSubtasks').update("Toggle Subtasks");
getAllSubtasks();
}


This message was edited Aug 27, 2009.