Comments by Mindeye on scripts
193 comments
|
Comment on: |
anonymous_user:
naoki:
DeathWolf:
Alala:
|
|
Comment on: |
Use something like this:
function delNode(targetNode) {
if (targetNode) return targetNode.parentNode.removeChild(targetNode);
return null;
}
HTMLElement in a Greasemonkey script is wrapped in an XPCNativeWrapper, so it won't let you add methods to its prototype. The "Element" in your code isn't a special object, it's a normal variable (an empty anonymous function after the assignment) |
|
Comment on: |
ShdNx:
naoki:
|
|
Comment on: |
naoki:
I really develop this script for myself, because I find it useful (almost indispensable ;-) ) and share it with others, I don't make money from it (57547 installations and only 1 [one] person has donated). Popularity is nice, but it isn't my main objective |
|
Comment on: |
YouTube player has a problem with Flash 10 Beta (see the common problems section in the script description). This happens with and without the script. Uninstall and install Flash 9 to solve the problem |
|
Comment on: |
Script updated:
PD: If anyone is waiting for the Opera version of YousableTubeFix, sorry but I've stopped working on it for the time being. I don't have enough time right now and there are some problems with it yet |
|
Comment on: |
JrezIN:
|
|
Comment on: |
Chrono Defying Ninja:
All:
|
|
Comment on: |
I'm afraid I don't know about that |
|
Comment on: |
sillygates:
hiteshgv:
avg:
|
|
Comment on: |
sillygates:
I'm working in a version of YousableTubeFix for Opera right now, but I'll probably look into that feature in the future. Your code looks good to me ;-) hiteshgv:
|
|
Comment on: |
hiteshgv:
naoki:
|
|
Comment on: |
moozilla:
hiteshgv:
|
|
Comment on: |
hiteshgv:
|
|
Comment on: |
hiteshgv:
Some good pages with documentation are the Greasespot wiki and the Mozilla Developer Center (specially the Javascript and DOM sections) About unsafeWindow: if a script uses it, a malicious page in the script's @include can use some tricks to gain access to privileged features available to Greasemonkey scripts (like GM APIs). There are some security checks in place to prevent it in last Greasemonkey versions though. I only use unsafeWindow if I have to, and avoid it as much as possible. However, I don't think YouTube will do that, and YousableTubeFix only executes in YouTube pages |
|
Comment on: |
Naoki:
Greasemonkey scripts can't control the cache, that is up to Firefox and the Flash plugin Can you give a link to a video where that autoplay issues happen? I have never seen that It's not necessary to delete all that, only the insertAfter --> reloadPlayer line is, if you don't use the resize links Maybe, but I'll try to fix that with the current configuration setup first. However, I think is has something to do with the GM_registerMenuCommand API, so I'll make a test case and send it to Greasemonkey developers |
|
Comment on: |
Script updated:
|
|
Comment on: |
Chrono Defying Ninja:
Can you post a link to the video with annotations using a different player? I haven't seen that yet. The annotations removal feature is already present in the script, look in the "Remove" select of the configuration dialog Are you talking about the delay to change the video to the best quality available? That has nothing to do with Javascript speed, it's because the script sends request to the YouTube server to see what video formats are available. As this information hasn't been added to the YouTube XML API, and I can't check directly for the files because of Gecko bug 343028, I'm using a indirect, ugly and slow method for detecting the available formats. Its speed depends on the speed of the YouTube server to answer the requests, so there's little I can do about it Bevvie:
Naoki:
|
|
Comment on: |
Aethonic & Meuhcoin:
PD: Thanks Meuhcoin for your compliments, I appreciate them ;-) |
|
Comment on: |
DarkJedi613:
fusen & Gwadaboy:
|
|
Comment on: |
fusen:
|
|
Comment on: |
Script updated:
|
|
Comment on: |
dkhal:
|
|
Comment on: |
Script updated:
|
|
Comment on: |
How about adding the |
