Editing default setings
![]() ![]() |
Hi lately I changed something about my PC setup (my guess is ccleaner) and it sets the configuration of the script back to the default settings.
defaultVideoQuality: GM_getValue("defaultVideoQuality", "ytfHighest"),
works if you always what the best quality. But what do I need for 480p and 720p? Thank you
|
![]() ![]() |
The script saves its settings using Opera's local storage; I think Ccleaner can be configured to wipe it, so maybe you're right. You need "large" for 480p and "hd720" for 720p. I have to find time to complete the script comments, because the section that lists the possible values isn't commented yet. However, I don't really understand why you want to do that, as all the changes will be reverted when the script is updated. Isn't it easier to configure Ccleaner to stop deleting the script settings? |
![]() ![]() |
Sry had to reinstall my hole system Thanks it works. But on the more easy way of dealing with this problem. Which file do I need to protect in ccleaner?
|
![]() ![]() |
The script uses "local storage", this is different from "classic normal cookie".
A cookie fallback would be nice :) About 480p, last time i tried it ("large" setting), it was still loading the 360 version. Bug? |
![]() ![]() |
Slo: YouTube uses normal cookies and Flash cookies. The script uses local storage. Rainy Shadow: If the video doesn't have a 480p version available, then the 360p will be chosen. If that video has a 480p version, I'll need the link to check if it's a bug. |
![]() ![]() |
Mindeye: here is one - http://www.youtube.com/watch?v=zlfKdbWwruY
As you can see, both the script and the YT player show 480p as available, but it defaults to 360p. btw. could you add some small function to import/export the settings as cookies when GM-storage and Web-storage are not available, please? |
![]() ![]() |
Try the new uploaded version. About the cookie fallback, I understand you want it because you use an old version, but it will make the script more complex and it's easier for me to code assuming Opera 10.50 as a baseline. Besides, storing the settings in cookies has its own set of problems and security issues, that's why I didn't add support for the configuration dialog till Opera added support for local storage. |
![]() ![]() |
480p works now. |
![]() ![]() |
Your browser does not support scriptStorage or storage quota is not specified.
Mine says this. Even I set the default quality to small>360 it still go back to default |
![]() ![]() |
I'm afraid I don't understand you. The script use localStorage in Opera to store its settings, it doesn't use much space (a few Kb maximum). It doesn't use window.opera.scriptStorage. If the settings aren't saved in your computer, check if storage is enabled in Preferences / Advanced / Storage. |


