Userscript not working

Discussion in 'Quality Control' started by rickyoh, Feb 23, 2014.

  1. rickyoh

    rickyoh Beta Tester

    Joined:
    Feb 3, 2012
    Messages:
    565
  2. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,677
    Thank you, we'll check it.
     
  3. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,677
    The same issue as with adflight userscript.

    We'll fix it soon.
     
  4. rickyoh

    rickyoh Beta Tester

    Joined:
    Feb 3, 2012
    Messages:
    565
    thank you, at least its the same issue.
     
  5. rickyoh

    rickyoh Beta Tester

    Joined:
    Feb 3, 2012
    Messages:
    565
    YousableTubeFix is working in Firefox and Chrome but not in Internet Explorer. another interesting observation is that it works for the initial video but if you navigate to any other video on the initial videos page the controls do not load.
     
  6. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,677
    We'll check it, thanks.
     
  7. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    2,873
    My guess for this is, it just simply doesn't work for IE - you'd probably have to request IE support. The 'bad' thing about that script is there's a version for Chrome and a version for Firefox instead of one script for all of them, like YouTube Center. The worse thing here is, YouTube Center and YousableTubeFix are both semi-broken right now due to YouTube's constant changes since the rollout of the new UI.
     
  8. rickyoh

    rickyoh Beta Tester

    Joined:
    Feb 3, 2012
    Messages:
    565
    i'd have to say it is a credit to Adguards developers that the Firefox version works in Chrome as well though i'd like to know how Adguard handles such cases. thanks for the heads up about youtubes changes, had noticed that YousableTubeFixs download function is not working.
     
  9. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,677
    The problem is that IE does not support document.evaluate function that is essential for this userscript.
     
  10. rickyoh

    rickyoh Beta Tester

    Joined:
    Feb 3, 2012
    Messages:
    565
    ok thank you for looking into it. so using userscripts with the document.evaluate function is a no go in IE until Microsoft implements it ? and also it would be very helpful if we could start compiling a compatibility list of userscripts for reference.
     
  11. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,677
    MS will never implement it:(

    Maybe we'll make a workaround in future. We could replace all document.evaluate calls with calls to our own wrapper checking what browser is in use.
    We've already done this with smaller functions (fixing Firefox/Chrome differences).
    The problem with document.evaluate is that it is rather complex function.
     
  12. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    2,873
    Plus there's also the chance that MS updates to Windows/IE could potentially break any workarounds put in place.
     
  13. rickyoh

    rickyoh Beta Tester

    Joined:
    Feb 3, 2012
    Messages:
    565
    wow, they do march to the beat of their own drum. too bad no one else feels the beat.

    that would be nice for completeness but as it stands it's no big deal

    ah so thats how you get around browser specific userscripts! nice