new youtube
aj
2017-07-09/16:36
can you link me your material design viewtube please
sebaro
2017-07-10/08:47
pandora
Authorrich
2017-07-22/15:35
please add www.pandoratv.it

thanks
sebaro
2017-07-22/17:36
npo.nl
me
2017-08-02/16:00
npo.nl has been broken for a while. It worked off and on for videos. At this point the player doesn't even load for any video at all. I didn't have time to contact you earlier which might have been a good thing since the site had a new overhaul. Anyway, can you fix it please?
Here's an example: https://www.npo.nl/de-slimste-mens/24-07-2017/KN_1692128
Live streams are broken as well: https://www.npo.nl/live
sebaro
2017-08-03/09:40
Try now.
me
2017-08-03/11:41
Thank you. The script works fine now in Firefox + Greasemonkey.
However, as Firefox is moving towards webextensions I switched to Violentmonkey. The player not loading at all wasn't related to your script but to my switch. I didn't see this coming as youtube.com and rtl.nl work just fine. Now I tried the script in Tampermonkey for Firefox and same problem, player not loading (after allowing cross-site scripting). I enabled verbose debugging in Tampermonkey and this was the output:
ERROR: Execution of script 'ViewTube+' failed! myPageContent is undefined
Could there be a fix for this?
sebaro
2017-08-03/13:37
Greasemonkey is the only addon that supports synchronous GM_xmlhttpRequest. I'm using this function many times for this site, make it asynchronous takes a lot of changes.
me
2017-08-03/15:16
Firefox also outputs: "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience."
So what does this mean for the future when Greasemonkey also moves towards webextensions?
me
2017-08-03/15:28
BTW, Violentmonkey seems to support GM_xmlhttpRequest but there seems to be one open bug: https://github.com/violentmonkey/violentmonkey/issues?utf8=%E2%9C%93&q=GM_xmlhttpRequest
Do you know if it's related to my problem?
sebaro
2017-08-03/18:55
The method to get the content of a web page/url is XMLHttpRequest:
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
This does not allow cross origin requests, eg: a script from www.domain.com is not allowed to make requests to www.domain2.com or www2.domain.com , different domain and subdomain.

Greasemonkey implemented a new method, GM_xmlhttpRequest:
https://wiki.greasespot.net/GM_xmlhttpRequest
"" This method performs a similar function to the standard XMLHttpRequest object, but allows these requests to cross the same origin policy boundaries. ""

Both these methods can make synchronous and asynchronous requests. Synchronous means the browser waits until the method returns a response, asynchronous doesn't, so the user has to create callback methods for it or nest the requests.

Tempermonkey doesn't support synchronous GM_xmlhttpRequest, they say is difficult to implement.
Violentmonkey doesn't support it either, maybe same reason.
Chromium/Chrome supports GM_xmlhttpRequest but only asynchronous.

I don't think moving to the new API means Greasemonkey will drop synchronous support.

Asynchronous is the right way to do the requests but this is for video streaming sites which must have good response times also the user must have good Internet connection so synchronous should work fine.

Changing GM_xmlhttpRequest to asynchronous is not easy for NPO, I have to make 5 requests, one for each video type.
me
2017-08-07/18:17
I have yet to decide whether I stick to Violentmonkey or Greasemonkey. Greasemonkey triggers unwanted behaviour in combination with other extensions. I hope they will finish their webextension soon in hopes of better compatibility. Might be a bug in Firefox as well... Anyway, thanks for the info.
NPO live streams
JP
2017-08-12/18:39
Live streams on npo.nl do not work, I get 'please report' error.
Firefox 45.9.0 - https://www.npo.nl/live/npo
sebaro
2017-08-12/20:54
Do you use the latest version 2017.08.05?
Weird Bug
Anonymous
2017-08-13/06:45
i get this message trying to watch a video

"Couldn't get the videos content. Please report it here."
SubjectSaveTube active in some Maxthon versions causes a small problem with GMail
WildRice
2017-08-13/23:12
Hi,
there is a slight problem with GMail in Maxthon while SaveTube is active.
Here's the topic: http://forum.maxthon.com/index.php?/topic/22468-5104000-gmail-refreshes-onces-after-every-action/#comment-119038/

Besides that, thanks for the otherwise great extensions :)
sebaro
2017-08-14/08:31
Does this happen with the Maxthon extension or with the script in userscripts extensions?
Savetube help!
Savetube
2017-08-14/15:16
Hi, Savetube does not work, i see the world " Savetube: could'n get any video. Please report it here" What should i do? Tank you