ms99
Scriptwright
|
This stupid kiddo has again copy-pasted some code section from another script !
And here we go with "his" changes:
+// Start Testemonial Toolbar
+
+function GetTextPreview(Prev)
+{
+ Prev = Prev.replace(/([^>])\r*\n/g, "$1 ");
+
+ Prev = Prev.replace(/\[b\]/ig, "");
+ Prev = Prev.replace(/\[\/b\]/ig, "");
+ Prev = Prev.replace(/\[i\]/ig, "");
+ Prev = Prev.replace(/\[\/i\]/ig, "");
+ Prev = Prev.replace(/\[u\]/ig, "");
+ Prev = Prev.replace(/\[\/u\]/ig, "");
+
+ Prev = Prev.replace(/\[:\)\]/g, " ");
+ Prev = Prev.replace(/\[;\)\]/g, " ");
+ Prev = Prev.replace(/\[:D\]/g, " ");
+ Prev = Prev.replace(/\[:P\]/g, " ");
+ Prev = Prev.replace(/\[\/\)\]/g, " ");
+ Prev = Prev.replace(/\[8\)\]/g, " ");
+ Prev = Prev.replace(/\[:o\]/g, " ");
+ Prev = Prev.replace(/\[:\(\]/g, " ");
+ Prev = Prev.replace(/\[:x\]/g, " ");
+
+ Prev = Prev.replace(/\[maroon\]/ig, "");
+ Prev = Prev.replace(/\[\/maroon\]/ig, "");
+ Prev = Prev.replace(/\[red\]/ig, "");
+ Prev = Prev.replace(/\[\/red\]/ig, "");
+ Prev = Prev.replace(/\[orange\]/ig, "");
+ Prev = Prev.replace(/\[\/orange\]/ig, "");
+ Prev = Prev.replace(/\[navy\]/ig, "");
+ Prev = Prev.replace(/\[\/navy\]/ig, "");
+ Prev = Prev.replace(/\[blue\]/ig, "");
+ Prev = Prev.replace(/\[\/blue\]/ig, "");
+ Prev = Prev.replace(/\[aqua\]/ig, "");
+ Prev = Prev.replace(/\[\/aqua\]/ig, "");
+ Prev = Prev.replace(/\[teal\]/ig, "");
+ Prev = Prev.replace(/\[\/teal\]/ig, "");
+ Prev = Prev.replace(/\[green\]/ig, "");
+ Prev = Prev.replace(/\[\/green\]/ig, "");
+ Prev = Prev.replace(/\[lime\]/ig, "");
+ Prev = Prev.replace(/\[\/lime\]/ig, "");
+ Prev = Prev.replace(/\[olive\]/ig, "");
+ Prev = Prev.replace(/\[\/olive\]/ig, "");
+ Prev = Prev.replace(/\[gold\]/ig, "");
+ Prev = Prev.replace(/\[\/gold\]/ig, "");
+ Prev = Prev.replace(/\[yellow\]/ig, "");
+ Prev = Prev.replace(/\[\/yellow\]/ig, "");
+ Prev = Prev.replace(/\[gray\]/ig, "");
+ Prev = Prev.replace(/\[\/gray\]/ig, "");
+ Prev = Prev.replace(/\[silver\]/ig, "");
+ Prev = Prev.replace(/\[\/silver\]/ig, "");
+ Prev = Prev.replace(/\[purple\]/ig, "");
+ Prev = Prev.replace(/\[\/purple\]/ig, "");
+ Prev = Prev.replace(/\[fuchsia\]/ig, "");
+ Prev = Prev.replace(/\[\/fuchsia\]/ig, "");
+ Prev = Prev.replace(/\[violet\]/ig, "");
+ Prev = Prev.replace(/\[\/violet\]/ig, "");
+ Prev = Prev.replace(/\[pink\]/ig, "");
+ Prev = Prev.replace(/\[\/pink\]/ig, "");
+
+ return Prev;
+}
+
+function getlocation()
+{
+ return location.href.match(/uid=([^&]+)/)[0];
+}
+
+var useremail = document.getElementsByClassName("useremail")[0].getElementsByTagName("b")[0].innerHTML;
+if(location.href.match("EditSummary"))
+{
+ GM_deleteValue(useremail + "name");
+}
+if(location.href.match("TestimonialWrite"))
+{
+ GM_addStyle(<><![CDATA[
+ .button {cursor: position: relative; left: 5px; pointer; cursor: pointer; height: 17px; width: 17px; vertical-align: middle;}
+ #toolbar { border:1px solid silver; padding: 3px 2px 2px 2px; background-Color: #F43009; }
+ .separator {border-left: 1px solid silver; padding:1px 1px; position: relative; left: 2px; }
+ #countedTextbox {width: 100%;}
+ .listfl { position: relative; right: 40px; width: 20%;}
+ .listp {position: relative; width: 78%; right:40px; }
+ .bar { font-weigth: bold; font-size: 10px; cursor: pointer;}
+ #preview { overflow: hidden; overflow: hidden; background-Color: #EFF7FF; border: 1px solid silver; margin: 3px 0px 0px 0px;}
+ ]]></>.toString());
+
+ var ContainerToolbar = document.getElementById("countedTextbox");
+ setTimeout( function() {ContainerToolbar.style.width = "100%";}, 100)
+ var Sep = document.createElement("div");
+ Sep.style.lineHeight = "8px";
+ var Bar = document.createElement("div");
+ Bar.id = "ToolBar";
+ Bar.innerHTML = " " +
+ " " +
+ " " +
+ " " +
+ " " +
+ " " +
+ " " +
+ " " +
+ " " +
+ "" +
+ " " +
+ " <select>" +
+ "<option>" + LanguageGetColors() + "</option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "<option> </option>" +
+ "</select>" +
+ "" +
+ " " +
+ "  " +
+ "<select>" +
+ "<option>Icons</option>" +
+ "<option>:D</option>" +
+ "<option>:)</option>" +
+ "<option>;)</option>" +
+ "<option>:P</option>" +
+ "<option>/)</option>" +
+ "<option>8)</option>" +
+ "<option>:o</option>" +
+ "<option>:(</option>" +
+ "<option>;x</option>" +
+ "</select>" +
+ " " +
+ " MaskLinks" +
+ " ";
+
+ var ContainerToolbar = document.getElementById("countedTextbox");
+ setTimeout( function() {ContainerToolbar.parentNode.insertBefore(Bar, ContainerToolbar);}, 100);
+ setTimeout( function() {ContainerToolbar.parentNode.insertBefore(Sep, ContainerToolbar);}, 100);
+
+ function Insert(prefix, sufix) {
+ var input = document.getElementById("countedTextbox");
+ var start = input.selectionStart;
+ var end = input.selectionEnd;
+ var insText = input.value.substring(start, end);
+ input.value = input.value.substr(0, start) + prefix + insText + sufix + input.value.substr(end);
+ var pos;
+ if (insText.length == 0)
+ {
+ pos = start + prefix.length;
+ }
+ else
+ {
+ pos = start + prefix.length + insText.length + sufix.length;
+ }
+ input.selectionStart = pos;
+ input.selectionEnd = pos;
+ input.focus();
+ }
+
+ function Masklinks() {
+ var input = document.getElementById("countedTextbox");
+ input.focus();
+ input.value = input.value.replace(/(http:\/)()(\/)/, '$1[b]$2[/b]$3');
+ input.value = input.value.replace(/(.*?)()(\.)([A-Z]+|[0-9]+)/ig, '$1$3[b]$2[/b]$4');
+ }
+
+ function InsertFake() {
+ var input = document.getElementById("countedTextbox");
+ input.focus();
+ var start = input.selectionStart;
+ var end = input.selectionEnd;
+ var insText = input.value.substring(start, end);
+ var i = 0;
+ var x = 0;
+ var f ='';
+ for (i=0;i<instext> /ig, "\n");
+ textvalue = textvalue.replace(/\n+/g, "|");
+ return textvalue;
+ }
+
+ var form = document.getElementsByClassName("parabtns")[1];
+ var newgrabtn = document.createElement('span');
+ newgrabtn.setAttribute('class', 'grabtn');
+ newgrabtn.innerHTML=' Preview';
+ newgrabtn.addEventListener('click', function() {if((document.getElementsByName("countedTextbox")[0].value=="")) alert("TextBox is empty"); else window.open("http://www.orkut.com/Profile?" + getlocation() + "&preview=true&text="+ getTextArea() +"#prap_id3");}, false);
+ form.appendChild(newgrabtn);
+
+ var newbtnboxr = document.createElement('span');
+ newbtnboxr.setAttribute('class', 'btnboxr');
+ newbtnboxr.innerHTML='  ';
+ form.appendChild(newbtnboxr);
+}
+
+if((GM_getValue(useremail + "firstname")==undefined) || (GM_getValue(useremail + "uid")==undefined) || (GM_getValue(useremail + "name")==undefined) || (GM_getValue(useremail + "img")==undefined))
+{
+ HttpRequest.open({
+ "method":"get",
+ "url":"http://www.orkut.com/EditSummary",
+ "onsuccess":function(params)
+ {
+ var firstname = params.response.xml.getElementById("firstName").value;
+ GM_setValue(useremail + "firstname", firstname);
+
+ var uid1 = params.response.xml.getElementsByClassName("menu")[0].getElementsByTagName("li")[2].getElementsByTagName("a")[0].href;
+ var uid = uid1.match(/uid=([^&]+)/)[1];
+ GM_setValue(useremail + "uid", uid);
+
+ var lastname = params.response.xml.getElementById("lastName").value;
+ GM_setValue(useremail + "name", firstname + ' ' + lastname);
+
+ var img = params.response.xml.getElementsByClassName("userimg")[0].style.backgroundImage;
+ img = img.replace("medium", "small");
+ img = img.replace("url(", "");
+ img = img.replace(")", "");
+ GM_setValue(useremail + "img", img)
+ }
+ }).send();
+}
+
+ function getText()
+ {
+ finaltext = location.href.match(/&text=([^&]+)/)[1];
+ finaltext = finaltext.replace("#prap_id3", "");
+ finaltext = finaltext.replace(/\++/g, "");
+ finaltext = finaltext.replace(/ /g, "");
+ finaltext = GetTextPreview(finaltext);
+ finaltext = decodeURIComponent(finaltext);
+ finaltext = finaltext.replace(/\|+/g, " ");
+ return finaltext;
+ }
+
+if(location.href.match("preview=true"))
+{
+ if(!location.href.match("ProfileT"))
+ {
+ if(document.getElementsByName("testimonials").length=="1")
+ {
+ var testid = document.getElementById("app_content_testimonials").getElementsByClassName("listitem")[0];
+ var newtest = document.createElement("div");
+ newtest.setAttribute('class', 'listitem');
+ newtest.innerHTML=' Preview ' +
+ ' ' +
+ ' ' +
+ '  ' +
+ ' ';
+
+ testid.parentNode.insertBefore(newtest, testid);
+
+ var testid2 = document.getElementById("app_content_testimonials").getElementsByClassName("listitem")[1];
+ var newtest2 = document.createElement("div");
+ newtest2.setAttribute('class', 'listdivi');
+ testid2.parentNode.insertBefore(newtest2, testid2);
+ }
+ if(document.getElementsByName("testimonials").length=="0")
+ {
+ var newtestid = document.createElement("div");
+ newtestid.setAttribute('id', 'prap_idfake');
+ newtestid.innerHTML = ' ' +
+ '<tbody>' +
+ 'Testemonials' +
+ ' | | ' +
+ '' +
+ '' +
+ ' ' +
+ ' Preview ' +
+ ' ' +
+ ' ' +
+ ' ' +
+ ' ' +
+ ' ' +
+ ' | | ' +
+ ' | | </tbody>';
+
+ document.getElementById("mbox").appendChild(newtestid);
+ }
+ }
+}
+
+// End Testemonial Toolbar
The copy-pasted code is from following script:http://userscripts.org/scripts/review/57260 (author = Steinn).
Not to mention that it does not work in the given context, as this idiot has not idea how to make it work.
Fuck-off copy-paster !
|
ms99
Scriptwright
|
And another copy-paste function from this idiot !
Following function (and some translations) are copied from this script: http://userscripts.org/scripts/review/25355 (author Brunolm)
+function LanguageGetConfigurationUpdateNone()
+{
+ switch (Language)
+ {
+ case "portuguese":
+ return "Não mostrar alertas de atualizações";
+ case "spanish":
+ return "No mostrar alertas de actualización d";
+ case "english":
+ default:
+ return "Do not show update alerts";
Not to mention that it does not work, as it is never used ! This guy has no idea what he is doing !
Another change is removing the copyright and mail address from the header of the script:
-// @copyright Heaven GOD <swarnavasengupta> Now that you removed the copyright and added the required credits in the description of "your" script (in fact copy-pasted mixture of functions), don't you think it is time to remove this piece of crap from here ?
|
Dragonblest
User
|
Hey ms99 Shut Up, Man, Swarnava are Doing a Good Work!
If he Copy or Nothing, it doesn't Matter, "Orkut Manager Plus By Swarnava/Heaven GOD" is Better than "Orkut Manager", have more Fixes, and more Functions, so, it can not be considered a copy.
|
ms99
Scriptwright
|
@swarnava,
Who the fuck is this Dragonblest ? Your second account created today the 8th of September, 2009 ? Or some shitty friend of you ?
According to what he says "If he Copy or Nothing, it doesn't Matter" he encourages copy-pasting ! Meaning "stealing" !
You guys are only small, stincky pieces of shit !
And your script does not contain anything like "more fixes and functions". You have no idea about programming kiddo. If you would understand even a line of the code of your script you would not need to copy-paste from every other script and add functions that do nothing in your copy-pasted mixture of functions.
You call "your" script a script ? Sorry, kiddo, you're an idiot ! A real programmer does not need to copy-paste every fix provided by others. He would do it himself, as no script is like the other, even if they do the same thing with one exception... One script is copy-pasted, as are "yours" !
THIEF !!! You find that simply copy-pasting the work of others into your piece of shit is OK ? You simply steal their work, their hours spent in front of the computer for helping others and you find it ok ? You stinky piece of shit !
Have been away, on the sunny beach, drinking some cocktails...
But the scrap to all of your friends will go out this night...
And, by the way, I am one of the peope you accepted some weeks ago as your "orkut" friend... I told you I observe all your activities for months now !
|
Dragonblest
User
|
ms99, lol, man, First I am Brasilian, second i am not a Swarnava "fake", i only see peoples sayng he was a "Copier", and i decide make a Account, to post my opinion.
Stop Crying man, u cant do nothing to change this!
|
ms99
Scriptwright
|
@Dragonblest,
I'm sorry for the confusion.
I try to change this situation for these reasons:
1. The guy should learn that lying and stealing is not the way to go.
2. Think about following scenario...
The original authors of the scripts will not post their updates anymore on userscripts.org because they are annoyed by copy-pasters.
All the people that profit from the work of these authors that share their work with the entire world will not receive updates anymore.
And when asking copy-pasters like swarnava to fix or implement something, they will not be able to help you because they have no idea.
What will you say then ?
Will you still support copy-pasters or will you want to have always supported the real authors of the scripts ?
Do you want to keep the spirit of userscripts.org ?
Do you want to come here for help and support and real good scripts that can make your life easier or your internet experience better ?
Or do you want to have a userscripts.org full of old, not updated scripts, useless as they do not work anymore due to changes to the code generated by the respective servers ?
Thank you for reading and thinking about this scenario.
|
Nutri Kazuma
Scriptwright
|
Your f*cking crapy copy-pasted script is GPL, but the original ones you copy-pasted no, so if you don't have permissions from the original autors, you are tottaly wrong copy-pasting codes from them, you piece of sh*t.
|