// ==UserScript==
// @name SOS - Invites & Comments for Flickr
// @namespace http://splashofstyle.com/
// @description Auto fill text to invite a photo to Groups and insert comments
// @description insert invitations and comments in flickr
// @version 0.19
// @date January 14, 2008
// @identifier http://splashofstyle.com/Greasemonkey/sos.user.js
// @creator Santiago Caama�o basado en el c�digo desarrolaldo por Isidro Vila Verde
// @include http://*flickr.com/photos/*/*
// ==/UserScript==
// --------------------------------------------------------------------
// Copyright (C) 2007, 2008 Santiago Caama�o
// Edited by debbie T http://www.SplashofStyle.com (2007, 2008)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// The GNU General Public License is available by visiting
// http://www.gnu.org/copyleft/gpl.html
// or by writing to
// Free Software Foundation, Inc.
// 51 Franklin Street, Fifth Floor
// Boston, MA 02110-1301
// USA
var val = [
''
//0
,
"This photo has been selected for"
+"\nGolden Photographer Award"
+"\n"
+"\nAdd this one to http://www.flickr.com/groups/goldenphotographer/"
+"\n( Invite Only and +10Faves).\n"
//1
,
""
+"\nYour fantastic color picture is my winner!"
+"\nPlease add this photo to"
+"\nflickr.com/groups/colorphotoaward/\n"
//2
,
"You're invited to post this picture in"
+"\n Picture Perfect (INVITE ONLY)"
+"\n\n"
//3
,
"This is definitely a great shot, you deserve another SOE"
+"\n"
+"\nPlease be sure this is tagged Shield of \"Excellence\", or \"SOE\"\n"
//4
,
"~I SNIFFED out this wonderful image!"
+"\nYou deserve this nose worthy award!"
+"\nPlease ADD your Impressively beautiful photo to~"
+"\n"
+"\nImpressed by your Beauty! (Invite only images) "
+"\nPlease tag your photos ImpressedBeauty \n"
//5
,
"Post this magnificent shot to the Exemplary Shots - Flickr's BEST GROUP "
+"\n"
+"\n"
+"\nExemplary Shots - Flickr's BEST\n"
//6
,
"An Invite To\n\n"
+"SearchTheBest\n"
+"Please tag \"SearchTheBest\".\n"
//7
,
""
+"\nCongratulations!"
+"\nYour pic becomes nominee of \"Shield Of Excellence\""
+"\nPlease add this photo to"
+"Shield Of Excellence Group\n"
//8
,
" "
+"\nShare your Stock Shot with : "
+"\nStock Shot Group \n"
//9
,
"\n"+''
+ ''+"\n"
+ "You are MY WINNER!\n"
+ "Please add this photo to\n"
+ "www.flickr.com/groups/mywinners/\n"
//10
,
"\n"+''
+ ''+"\n"
+ "Definitely a winner!!!\n"
+ "You deserve another one.\nFound in www.flickr.com/groups/mywinners/\n"
//11
,
"\n"+''
+ ''
+ "\nA Big Fave\nPlease add this to www.flickr.com/groups/bigfave\n"
//12
,
"Congratulations."
+"\nThis image has been nominated for"
+"\n"
+"\nPlease add it to the group pool.\n"
//13
,
" Thumbs Up! from Flickr Smileys "
+"\n\n"
//14
,
" "
+"\nA+++ Grade Photo\n"
//15
,
"Flickr Hearts - Post 1 - Give 5 Flickr Hearts \n"
//16
,
""
+"\nYour photo has been appraised as a Platinum Photograph"
+"\nWe would be honored to have your photo in our group!"
+"\nPlease tag your photo with platinumphoto\n"
//17
,
""
+"\nYour Platinum Photo has earned a Platinum Star!"
+"\nCollect 5 stars to enter Photo of the Weekcontests!\n"
//18
,
"This fantastic macro was seen in:"
+"\n"
+"\n Macro Marvels (Invite Only) Post 1 Comment 2\n"
//19
,
"I give you a >FROM CITRIT,BEST OF YOURS"
+"\nCitrit, best of yours!\n"
//20
,
""
+"\nCongratulations! Your photo has been nominated as an \"The Unforgettable Picture\""
+"\nYou are invited to add your wonderful picture to The Unforgettable Pictures Group"
+"\nPlease read the Group Rules and tag your photo TheUnforgettablePictures INVITE only & Comment on 3 \n"
//21
,
"This shot is amazing!"
+"\nPlease post your image to:"
+"\n"
+"\n Macro Marvels (Invite Only) Post 1 Comment 2"
+"\nPlease tag with MacroMarvels\n"
//22
,
""
+"You Are A Blue Ribbon Winner! If you haven't done so, please add your photo to:< alt=\"Blue Ribbon Photography\">"
+"\nBlue Ribbon Photography (Invited Images ONLY)"
+"\nPlease tag your photo: BlueRibbonWinner \n"
//23
,
""
+"\n*This is a *Brilliant~Eye~Jewel!*"
+"\nYou are invited to add your picture to our pool!"
+"\n*Please tag with Brilliant-Eye-Jewel*.\n"
//24
,
"You are my Golden Photographer as well!"
+"\n\n"
//25
,
"What a MACRO!!!!"
+"\n"
+"\nFrom the magicofaworldinmacro-group"
+"\nPlease add this photo to the group"
+"\nwww.flickr.com/groups/magicofaworldinmacro"
+"\nPlease tag your photo with magicofaworldinmacro\n"
//26
,
"Your pic is really a great MACRO!"
+"\n"
+"\nas seen in the MAGIC OF A WORLD IN MACRO - group"
+"\nwww.flickr.com/groups/magicofaworldinmacro/\n"
//27
,"I saw this in A Big Fave\n"
//28
,
""
+"\nCongratulations! Your photo is a favourite in"
+"\n\"The Unforgettable Pictures Group\""
+"\n INVITE only & Comment on 3 \n"
//29
,
"I love this shot, please add it to"
+"\nNaturePhotographs \n"
//30
,
"Wow! This is a great photo! I saw it in"
+"\n "
+"\n NaturePhotographs \n"
//31
,
"\n"
//32
,
"Please add this beautiful photo to CITRIT,Best of yours!"
+"\nCitrit group"
+"\n>\n\n"
//33
,
"Your Image Truly Is:"
+"\n"
+"\n Better Than Good\n"
//34
,
"Seen in\n"
+"\nSearchTheBest\n"
//35
,
"An Awesome Shot Award"
+"\nYou are invited to add this image to An Awesome Shot!"
+"\n~CONTESTS~ Enter/Vote now"
+"\nPlease tag the photo with \"AnAwesomeShot\"\n"
//36
,
"~Wow This is an Awesome photo! I saw this in"
+"\n"
+"\nAn Awesome Shot Award!! (Invite only images) "
+"\nPlease tag your photos AnAwesomeShot\n"
//37
,
"I think this photo is a "
+"\nPlease add your photo to www.flickr.com/groups/supershot/"
+"\nAfter you add it to the group pool, please tag this photo as a SuperShot\n"
//38
,
"I agree, this is definitely a"
+"\n"
+"\nIf you have not already done so, please add your photo to www.flickr.com/groups/supershot/"
+"\nAfter you add it to the group pool, please tag this photo as a SuperShot\n"
//39
,
""
+"\nCongratulations!"
+"\nYour photo has been nominated as \"Superb Masterpiece\""
+"\nYou are invited to add your wonderful picture to Superb Masterpiece Group"
+"\nPlease read the Group Rules and tag your photo SuperbMasterpiece\n"
//40
,
""
+"\nI have seen your \"Superb Masterpiece Picture\" in:"
+"\nSuperb Masterpiece Group - Invited photos only\n"
//41
,
"GOLD STAR AWARD (award or invite needed)"
+"\nYou are invited to add this exceptional image to"
+"\n\nGOLD STAR AWARD (award or invite needed)"
+"\n"
+"\nplease add the tag GoldStarAward\n"
//42
,
""
+"I saw this photo in Blue Ribbon Photography. You deserve another Blue Ribbon!"
+"< alt=\"Blue Ribbon Photography\">"
+"\nBlue Ribbon Photography (Invited Photos ONLY)"
+"\nPlease tag your photo: BlueRibbonWinner \n"
//43
,
"Seen in the Exemplary Shots - Flickr's BEST GROUP "
+"\n"
+"\n"
+"\n"
+"\nExemplary Shots - Flickr's BEST\n"
//44
,
"Macro Award"
+"\nCongratulations, you have received a Macro Award for Achieving Excellence in Macro Photography!"
+"\nPlease add this beautiful photo to the Macro Award group!\n"
//45
,
"Macro Award"
+"\nCongratulations on receiving your Macro Award, and I think this photo deserves another one!\n"
//46
,
"~Just stopping by for"
+"\nanother SNIFF of this"
+"\nImpressively beautiful image!"
+"\nYou deserve ANOTHER"
+"\nnose worthy award!~"
+"\n"
+"\nImpressed by your Beauty!"
+"\nFind 2nd Sniffer HERE.\n"
//47
,
"You are invited to display your image."
+"\n"
+"\nBetter Than Good"
+"\nInvitation Only"
+"\n\nIf you accept this Invitation,"
+"\nplease give awards to other images.\n"
//48
,
""
+"\n"
+"\n\n"
//49
,
"Please post this fantastic photo in:"
+"\n *Free N A T U R E*"
+"\n\n\n"
//50
,
"Excellent - well done!"
+"\n *Free N A T U R E*"
+"\n\n\n"
//51
,
"NaturesFinest"
+"\nPlease add this great photo to Natures Finest"
+"\nTag your photo with \"NaturesFinest\"\n"
//52
,
"NaturesFinest"
+"\nThis is really one of Natures Finest!!>\n"
//53
,
"This is Perfect! "
+"\n\n "
+"\n\nThis photo has been selected for The Perfect Photographer Award"
+"\n\nPlease add this image to The Perfect Photographer, Award 2 Fave 2 "
+"\nAnd tag the photo with \" The Perfect Photographer\"\n"
//54
,
""
+"\nPlease join and add your Beautiful Photo to:"
+"\nCreative Photo \n"
//55
,
""
+"\nYou are a very good and creative Artist and I really like your Creative Photo"
+"\nThis photo was seen in:"
+"\nCreative Photo \n"
//56
,
"\n"
//57
,
"Seen in Picture Perfect (INVITE ONLY)"
+"\n\n"
//58
,
""
+"\n Please add this photo toMaster Photos group\n"
//59
,
""
+"\nMaster Photos group\n"
//60
,
"This adorable critter was seen at"
+"\n\n"
//61
,
"I saw this great image in:"
+"\n"
+"\nWelcome to My World!\n"
//62
,
" "
+"\nGreat shot! "
+"\nStock Shot Group \n"
//63
,
"Absolutely The Perfect Photographer"
+"\nYou Deserve Another Perfect Photographer Award!!! "
+"\n"
+"\nThe Perfect Photographer(Invited Only) Awards 2 Fave 2 \n"
//64
,
""
+"\n"
+"\n\n"
//65
,
"Seen in GOLD STAR AWARD"
+"\nGOLD STAR AWARD (award or invite needed)"
+"\nYou get another gold star"
+"\n\n"
//66
,
"\n"
+"This Great Photographic Art was made by a Diamond Class Photographer!\n"
+"Please add your photo to Flicker Diamond The Diamond Class Photographer\n"
+"Read the group rules please and tag your photo DiamondClassPhotographer\n"
//67
,
"\n"
+"\nYou deserve \"Another Diamond\" on your Great Photo!"
+"\nI have seen your Great Photographic Art in:"
+"\nFlicker Diamond: The Diamond Class Photographer\n"
//68
,
"Please consider adding this great image to:"
+"\n"
+"\nWelcome to My World!\n"
//69
,
"You\'re invited to post this picture in Everyday is SUNday!"
+"\n"
+"\n(INVITED photos - COMMENT on 2) NEW RULES!\n"
//70
,
"Seen in Everyday is SUNday!"
+"\n"
+"\n(INVITED photos - COMMENT on 2) NEW RULES!\n"
//71
,
"\n"
//72
,
"\n"
+"Your Photo Wins a Heart \n"
+"From Heart Awards Group \n"
//73
,
"Your work has inspired me!!"
+"\nYou are INVITED to post it in..."
+"\n\n The Nature Group\n"
//74
,
" The Nature Group\n"
//75
,
"This brilliant photo is like a shooting star, totally unique!\n"
+"\n"
+"SHINING STAR - Post 1- Invite 1- Give 5 Stars\n"
+"Thanks for brightening my day, shine on! \n"
//76
,
""
+"\nYou are a \"Best In Show\" Winner! "
+"\nPlease add your photo to: "
+"\nBest In Show (Invite Only)\n"
//77
,
"Please add your Adorable Critter to:"
+"\n\n"
//78
,
""
+"\nColour Art Award\n"
//79
,
"Great Image!"
+"\nYou are I n v i t e d!"
+"\n"
+"\nPls Tag: FlickrElite"
+"\nFLICKR ELITE GROUP\n"
//80
,
"Seen in:"
+"\n"
+"\nFLICKR ELITE\n"
//81
,
""
+"\n*This is a *Brilliant~Eye~Jewel!*\n"
//82
,
"This is a colourful wonder! Please add it to the"
+"\n"
+"\nColour Art Awards ~*Post 1, Award 4 (Contests Open)"
+"Please tag with \"ColourArtAward\"\n"
//83
,
""
+"\n"
+"\n"
//84
,
""
+"\n"
+"\n\n"
//85
,
" "
+"\nFRIENDS are inviting you to join them and add this wonderful photo to their group.\n"
//86
,
" "
+"\nSeen in FRIENDS group.\n"
//87
];
var node;
Invite = {
init: function ()
{
this.textarea = document.getElementById ('DiscussPhoto').getElementsByTagName ('TEXTAREA') [0];
var n = document.createElement ('SELECT');
n.addEventListener ('change', function (e) {
Invite.insertInvite ();},
false);
n.innerHTML = ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
//+ ''
;
this.textarea.parentNode.insertBefore (document.createTextNode ('Invite:'), this.textarea);
this.textarea.parentNode.insertBefore (n, this.textarea);
node = n;
this.textarea = document.getElementById ('DiscussPhoto').getElementsByTagName ('TEXTAREA') [0];
var m = document.createElement ('SELECT');
m.addEventListener ('change', function (e) {
Invite.insertInvite2 ();},
false);
m.innerHTML = ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
+ ''
//+ ''
;
this.textarea.parentNode.insertBefore (document.createTextNode (' Vote:'), this.textarea);
this.textarea.parentNode.insertBefore (m, this.textarea);
node2 = m;
},
insertInvite: function ()
{
this.textarea.value += "\n"+val[node.value];
this.textarea.value += 'Invited with SOS!';
},
insertInvite2: function ()
{
this.textarea.value += "\n"+val[node2.value];
this.textarea.value += 'Commented with SOS!';
}
}
window.addEventListener (
'load',
function (e) {
Invite.init ();
},
false
);