Large

YouTube Enhancer

By GIJoe Last update Dec 13, 2011 — Installed 1,194,653 times.

licensing and hosting

in
Subscribe to licensing and hosting 7 posts, 2 voices



fearphage User
OperaWindows

Any reason you don't store the licensing information in the @license meta tag?

http://wiki.github.com/greasemonkey/greasemonke...

Also do you host the script in any versioned environment (github, google code, etc.)?

Thanks.

 
GIJoe Script's Author
SeamonkeyMacintosh

1) It's in the @licence meta tag, is there a problem with that ?

2) No, only in userscripts.org

 
fearphage User
OperaWindows

I was referring to this bit of code actually:

( function() { const n= '   -= Do not edit this notice =-   '
+"------------------------------------------------------------"
+" This script is under Creative Commons 3.0 License by-nc-sa "
+" http://creativecommons.org/licenses/by-nc-sa/3.0/          "
+"                                                            "
+" The original name of this script is 'YouTube Enhancer'     "
+" The original author of this script is 'GIJoe'              "
+" http://userscripts.org/scripts/show/33042                  "
+"------------------------------------------------------------";

Why don't you add that to the licensing section instead of in the script?

 
fearphage User
OperaWindows

As well as the multiple checks solely to make sure that is still intact:

// line 2361
if(typeof YTE_NOTICE!='string' || !YTE_NOTICE.match(/\/\x333\x304\x32/)) { window.setTimeout( function() { for(var h=0;h>25;h++) { show_messageBox(String.fromCharCode(9762)); } } ,20000); }

// line 1262
var cs=0; for(var h=0,lg=n.toString().length;h<lg;h++) { cs=cs+lg+n.charCodeAt(h); } if(cs!=299413) { document.body.appendChild(divElem); return; }

// line 5225
if(!LANGUAGE_TEXT['dlink'] || !LANGUAGE_TEXT['dlink'].match(/\x47I\x4A\x6Fe/)) { window.setTimeout( function() { window.setInterval( function() { show_alert(String.fromCharCode(9760)) },1000); },30000); }

What do you believe those are accomplishing?

 
GIJoe Script's Author
SeamonkeyMacintosh

You want a medal ?

As for now... it's working as intended.

 
fearphage User
OperaWindows

No, but I do want you to be less pretentious.

The script is great, but you're not protecting launch codes to nukes or anything. You already have the licensing information on it. I just don't get the paranoia aspect of the alleged protection. It's similar to trying to prevent people from right clicking on your webpage... and equally as effective.

 
GIJoe Script's Author
SeamonkeyMacintosh

It was not mean to be difficult to remove it. Only for the ones who have no skill in programming and can only replace the author name in the script.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel