Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Flickr PM TWEAKED - 2022.03 (OK PHOT page - (NO Archives - POOL Square)
- // (c) 2005-2013 Stephen Fernandez - Excellatronic Communications
- // Disclaimer
- // ==========
- // Please note that this software comes with no warranty whatsoever, any usage of this script is at your own risk,
- // i cannot be held responsible for anything bad that happens regarding usage of this script.
- // Description
- // ===========
- // This is a Greasemonkey (see http://www.greasespot.net for more info) user script. The script adds a icons for mail, profile, favourites, archive, flickr scout, flickr DNA and the
- // list of the users photos ordered by "interestingness" next to next to usernames in flickr forums,photo pages +
- // recent_activity and photo_comments pages. It also adds a flickr mail popup function, which lets you send a flickrmail
- // directly from the page where you click the mail link.
- // Installation
- // ============
- //
- // To install, you need FireFox http://www.mozilla.org/firefox
- // and the firefox extension called Greasemonkey: http://www.greasespot.net/
- // Install the Greasemonkey extension then restart Firefox and revisit this script.
- // Under Tools, there will be a new menu item to "Install User Script".
- // Accept the default configuration and install.
- //
- // To uninstall, go to Tools/Manage User Scripts,
- // select "flickrPM", and click Uninstall.
- // DONATE
- // ======
- // If you wish to thank me for all the hard work i have put into writing/testing/supporting this script,
- // and would like to support further updates and bug fixes, you can send me a few pounds/dollars etc
- // via PayPal, my paypal donation link can be found here http://steeev.freehostia.com/donate/
- // Whats New
- // =========
- // v4.1.1 30/07/13 fixed fpm links on group discussion pages
- // v4.1.0 24/07/13 fixed fpm links on main photostream and profile pages, fixed flickr mail popup (for firefox)
- // v4.0.2 24/03/11 fixed for Firefox 4
- // v4.0.1 03/02/11 fixed cramping of fpm info bar on photo pages
- // v4.0.0 05/08/10 fixed for photos with multi page comments
- // v3.9f 05/08/10 fixed mail sending function (thanks Laramie Coyote!)
- // v3.9e 04/08/10 preliminary fix for new photo page, needs a bit more tweaking (doesnt work on multi page photo comments), but basics are working
- // v3.9d 18/06/10 fixed script for Opera
- // fixed links on people search page
- // v3.9c 12/02/10 fixed script for GC4
- // v3.9b 24/01/10 fixed userlinks for curated image owners on gallery pages
- // v3.9a 17/12/09 fixed mail popup
- // v3.9 16/10/09 added "RE" relationship link, that lets you change your relationship with that user, i.e become a contact/friend etc
- // renamed links to 2 letters each for consistency
- // v3.83 15/09/09 added fpm functionality to gallery pages
- // v3.82 13/05/09 added error check for a user sending mail too fast
- // v3.81 07/04/09 added flickrpm to "people who favourited this photo page"
- // v3.8 01/04/09 added joined date and number of items to mail popup, also added staff note for flickr staff
- // v3.73 30/03/09 replaced flickrriver.com link with link to darckr.com. added flickrpm links to admin pool pending page
- // v3.72 06/03/09 added pm icons/links to contacts list page and also group admin (members/moderators) pages
- // v3.71 21/02/09 script fixed to work on individual flickr mail pages
- // v3.7 19/02/09 updated script to work with new site changes (contacts page, photo page, activity page) also replaced flickr leech link with flickr river link
- // v3.63 15/11/08 updated INT link to point to new service provided by http://flickr.com/drayde
- // v3.62 08/07/08 flickrpm mail popup no longer reports an error when sending mail if you are on international version of the site
- // v3.61 06/06/08 flickrpm now works on forum search page, no longer display fpm links for deleted users,
- // flickrmail popup now also displays users real name and location if they have them listed in their account
- // v3.55 02/6/08 flickrpm now works on search pages again, and now also on the allsizes page
- // v3.54 28/5/08 fixed userid getting code, for cases where user doesnt have a buddyicon
- // v3.53 24/4/08 popup window doesnt scroll to top of page anymore, fixed mail popup, not displaying correctly over videos on photostream page
- // v3.52 21/5/08 added link to flickr leech, fixed browser resizing issue, fixed popup window links styles, added donation link
- // v3.5 14/3/08 fixed mail sending part of the code, which was broken due to GM 0.7 security update
- // v3.41 20/6/07 switched flickr inspector link with a link to the new flickr dna service
- // v3.4 08/6/07 optimised some of the code (using regex instead of multiple split functions)
- // v3.33 02/5/07 fixed mail popup bug - clicking mail link on first poster to a thread, popped up wrong fmail address
- // v3.32 21/4/07 fixed fpm to work on the new help forum, also added some excludes to stop script running on pages it doesnt need to
- // v3.31 27/3/07 fixed a bug in the mail sending code, it would cut the message short if it had an ampersand in it
- // v3.3 21/12/06 added fpm functionality to sent+received flickrmail messages + also to the profile page
- // v3.22 8/8/06 added preview function in the mail popup
- // v3.21 31/7/06 fixed textarea width for flickrmail popup + added FPM to /contacts/ pages + /search/ pages
- // v3.2 25/7/06 added FPM links to header of photostream pages
- // v3.1 24/7/06 fixed minor bug, the pm toolbar is no longer displayed in recent_activity or photo_comments pages nexty to your own comments
- // v3.0 21/7/06 I added FPM to recent_activity+photo_comments pages also added Flickr Mail Popup function to let you Flickr Mail users directly from the same page.
- // v2.6 14/7/06 I added a link to Flickr Inspector
- // v2.5 14/7/06 I added a link to Scout
- // v2.41 17/5/06 I fixed bug where first post in forum didnt get the links
- // v2.4 17/5/06 I fixed it for Flickr Gamma, cheers Scragz for the style tip btw!
- // v2.3 16/4/06 I added a link to go to the list of the users photos ordered by Interestingness
- // v2.2 17/8/05 I changed the included URLs so the script would work with the new Group URLs format
- // v2.1 27/7/05 I added a new icon for users photo archive by date taken
- // v2.0 09/6/05 Pedro fixed a bug and added some extra functionality (extra icons, usernames now link to photos again, removed pink popup)
- // v1.4 31/5/05 I got rid of question mark link for profile, instead changed username link to goto profile.
- // v1.3 29/5/05 I added a profile link
- // v1.2 28/5/05 initial public release
- // Credits
- // =======
- // Bug fix plus a little extra functionality supplied by Pedro: http://flickr.com/photos/ppPedro
- // Some of the Icons were encoded by jrhyley: http://flickr.com/photos/jrhyley
- // Thanks Guys! :D
- // ==UserScript==
- // @name flickrPM (TWEAK 2020) - 2021.02 PB POHOT page
- // @description fav Justified - fLUIDr / HIVE PB - Tweak ICON Base64 - verify BROKEN 2017 (new Archives) - Adds icons for mail, profile, favourites, Scout, Interestingness, photo archive and "change relationship" next to usernames in forums and on individual photo pages.
- // @version 4.1.1 - 30th July 2013
- // @namespace http://steeev.f2o.org/flickr/
- // @author Stephen Fernandez aka Steeev http://steeev.freehostia.com http://flickr.com/steeev with some additional code from Pedro Vieira http://flickr.com/photos/ppPedro
- // @include http*://*flickr.com/*
- // @exclude http*://www.flickr.com/photos/organize*
- // @exclude http://flickr.com/photos/organize*
- // @grant none
- // ==/UserScript==
- /*
- // VOIR EXLUDE
- http*://www.flickr.com/groups?*
- http*://www.flickr.com/groups/*
- */
- (function() {
- var fpmVersion="4.1.1";
- //var FPMStartTime=new Date();
- if (typeof unsafeWindow != 'undefined')
- win=unsafeWindow;
- else if (typeof contentWindow !='undefined')
- win=contentWindow;
- else
- win=window;
- var aaa=document.getElementsByTagName('a');
- for (i=0;i<aaa.length;i++)
- if(aaa[i].href.match(/logout\.gne/)) {
- var magic_auth_hash_cookie=aaa[i].href.match(/logout\.gne\?magic_cookie=(.+)/)[1];
- break;
- }
- aaa=null;
- // setup a listener for multi page comments
- function fpmInsertedNodeDomHandler(event) {
- if(event.target.nodeName=='OL')
- fpmlinks_newphotopage();
- }
- // if we are on the new photopage, start listening
- if (document.getElementById('button-bar')) {
- document.addEventListener("DOMNodeInserted", fpmInsertedNodeDomHandler, false);
- }
- // END listener code
- if (typeof(GM_addStyle)=='undefined')
- function GM_addStyle(css) {
- var head, style;
- head = document.getElementsByTagName('head')[0];
- if (!head) { return; }
- style = document.createElement('style');
- style.type = 'text/css';
- style.textContent = css;
- head.appendChild(style);
- }
- GM_addStyle("a.fpmLink {text-decoration:none; vertical-align:middle } a.fpmLink:hover {color: #FFA6FE}");
- if (!document.getElementsByClassName) {
- var getElementsByClassName = function (classname,tagname) {
- if(win.Y.U.Dom.getElementsByClassName)
- return win.Y.U.Dom.getElementsByClassName(classname,tagname);
- else
- return false;
- }
- }
- else {
- var getElementsByClassName = function (classname,tagname) {
- return document.getElementsByClassName(classname,tagname); //firefox 3 has this function built in
- }
- }
- //alert('do we get here');
- // BEGIN Flickr Mail Popup code
- win.FMPgrabusername = function(userid) {
- hostname=location.href.split('/')[2];
- apiurl="http://" + hostname + "/services/rest/?method=flickr.people.getInfo&api_key=9d179414c5491bb965d03dab476a0ef8&user_id="+userid;
- p = new XMLHttpRequest();
- p.open("GET", apiurl, false);
- p.send(null);
- if (p.responseXML) {
- //alert(p.responseText)
- username=p.responseText.split("\<username\>")[1].split("\<\/")[0];
- if(p.responseText.match('<realname>'))
- realname=p.responseText.split("\<realname\>")[1].split("\<\/")[0];
- else
- realname='';
- if(p.responseText.match('\<location\>'))
- ulocation=p.responseText.split("\<location\>")[1].split("\<\/")[0];
- else
- ulocation='';
- try { // in case they dont have a first upload date publically available
- var firstdate=p.responseText.split("\<firstdate\>")[1].split("\<\/")[0];
- }
- catch(e) {
- var firstdate = "n/a";
- }
- var itemcount=p.responseText.split("\<count\>")[1].split("\<\/")[0];
- var flickrstaff= 0; //p.responseText.split("isadmin=\"")[1].split("\"")[0];
- }
- else
- alert('Error retrieving users name');
- return username + ':~:' + realname + ':~:' + ulocation + ':~:' + firstdate + ':~:' + itemcount + ':~:' + flickrstaff;
- }
- win.flickrmailpopup=function (e) {
- //alert (userid);
- e.preventDefault();
- e.stopPropagation();
- //console.log(e.target.parentNode.getAttribute('data-userid'));
- userid=e.target.parentNode.getAttribute('data-userid');
- username=win.FMPgrabusername(userid);
- win.dspFMPEmailForm (userid,username);
- //win.FMPscrolltop=win.pageYOffset; //document.body.scrollTop;
- win.FMPscrolltop=win.getScrollTop();
- //scroll(0,0);
- return false; // not really needed but oh well
- }
- /* this was for adding the popup function to the mail menu item in the buddy icon menu, but it doesnt work anymore so comenting out
- pmmlink=document.getElementById('personmenu_mail_link');
- if(pmmlink)
- pmmlink.setAttribute('onclick',"return flickrmailpopup(this.getAttribute('href').split('=')[1]);");
- */
- if (!document.getElementById('emaildiv')) {
- emailDiv = document.createElement('div');
- emailDiv.setAttribute('id','emaildiv');
- emailDiv.style.position = 'absolute';
- emailDiv.style.overflow = 'visible';
- emailDiv.style.width = '450px';
- emailDiv.style.padding = '10px';
- emailDiv.style.margin = '4px';
- emailDiv.style.left = (1*document.body.clientWidth-450)/2 + 'px';
- emailDiv.style.display = 'none';
- emailDiv.style.border = '2px solid #000';
- emailDiv.style.background = '#ffffff';
- //emailDiv.style.zIndex = 1000;
- GM_addStyle("#emaildiv { z-index:99999999; }");
- }
- win.FMPprocessform = function(dform,preview) {
- win.FMPsendmail(document.getElementById('dauserid').value, document.getElementById('dausername').value, magic_auth_hash_cookie, document.getElementById('dasubjectPMid').value, document.getElementById('damessagePMid').value, preview);
- }
- // new function because old code to get scrolltop didnt work any more for some reason
- win.getScrollTop = function() {
- if(typeof pageYOffset!= 'undefined'){
- return pageYOffset;
- }
- else{
- var B= document.body;
- var D= document.documentElement;
- D= (D.clientHeight)? D: B;
- return D.scrollTop;
- }
- }
- win.dspFMPEmailForm = function (userid,username) {
- var dausername = username.split(':~:')[0];
- if (username.split(':~:')[1])
- realname=" Real Name: <b>" + username.split(':~:')[1] + '</b> ';
- else
- realname='';
- if (username.split(':~:')[2]) {
- var theloc= username.split(':~:')[2];
- var locmap='<font size="-2">( <a class="poplnk" title="See this location in Google Maps" target="_blank" href="http://maps.google.com/maps?f=q&hl=en&q=' + (encodeURIComponent(theloc+ ' (' + dausername + '\'s Home Town)')) +'">GM</a> / <a class="poplnk" title="See this location in Google Earth" target="_blank" href="http://steeev.freehostia.com/flickr/go2ge2.php?address=' + encodeURIComponent(theloc) + '&details=' + encodeURIComponent(dausername + "s Home Town") + '">GE</a> )</font>';
- var ulocation=" Location: <b>" + theloc + '</b> ' + locmap;
- // locmap='<font size="-2"><a title="See this location in Google Maps" target="_blank" href="http://maps.google.com/maps?f=q&hl=en&q=' + (encodeURIComponent(hometownstripped+ ' (' + username + '\'s Home Town)')) +'">GM</a> / <a title="See this location in Google Earth" target="_blank" href="http://steeev.freehostia.com/flickr/go2ge2.php?address=' + encodeURIComponent(hometownstripped) + '&details=' + encodeURIComponent(username + "s Home Town") + '">GE</a></font>'
- }
- else
- ulocation='';
- if(username.split(':~:')[3]!='n/a') {
- var joindate = new Date(username.split(':~:')[3]*1000) + '';
- var joindatehuman=joindate.split(' ')[2] + ' ' + joindate.split(' ')[1] + ' ' + joindate.split(' ')[3];
- }
- else
- joindatehuman='n/a';
- var itemcount = username.split(':~:')[4];
- var flickrstaff = username.split(':~:')[5];
- if (flickrstaff=='1') {
- var usermessage='<b>A note from '+ dausername + ':</b><br/>Hi. I work here. Staff get a ton of FlickrMail, and it's not that we don't care, only that your message might be overlooked (by that I mean <i>not read</i>).<br/><br/>If you need help with something, the best thing to do is send an email directly to our trained support staff through <a class="poplnk" href="/help/website/#7"><b>Help by Email</b></a>. You might also like to have a look in our <a class="poplnk" href="/help/forum/">Help Forum</a> for your answer. Thanks.';
- var previewclass='Preview';
- }
- else if (userid=='36521957871@N01') {
- var usermessage='<b>A note from Steeev:</b><br/>Hi, I wrote this script, along with many other useful Flickr Greasemonkey scripts, available at <a class="poplnk" href="http://steeev.freehostia.com/flickr/"><b>http://steeev.freehostia.com/flickr</b></a>. I hope you like them, and if you do like them, please make a <a class="poplnk" href="http://steeev.freehostia.com/donate/"><b>donation</b></a> to show your appreciation. The more donations I get the more likely I am to further develop and support my scripts.<br/><br/>If you are having problems with this script or any of my other scripts, please search the <a class="poplnk" href="/groups/flickrhacks/"><b>Flickr Hacks group</b></a> first, before contacting me, as its quite possible your problem has come up and been answered before.<br><br>If you have found a bug in one of my scripts, then let me know, and please give as much details as possible, such as browser version, gm version, script version etc';
- var previewclass='Preview';
- }
- else {
- var usermessage='';
- var previewclass='';
- }
- emailDiv.innerHTML = "<style>span.sfhead { font-weight:bold; font-size: x-large } span.sfhead2 {font-weight:bold; font-size: large; color:#F52887} a.poplnk {text-decoration:none} a.poplnk:hover {color: red !important} </style><a title='Close Window' onclick='this.parentNode.style.display=\"none\";document.body.scrollTop=FMPscrolltop;return false;' href='javascript:;'><img style='float: right; position: relative; margin: 0; padding: 0; border:0px !important; vertical-align: top;' src='http://flickr.com/images/window_close_grey.gif'/></a>" +
- "<span class='sfhead'><b>FlickrPM Mail</b></span>" + " <a class='poplnk' title='Check for updates' href='http://steeev.site50.net/flickr/flickr.pm.htm'>v" + fpmVersion + "</a> by <b><a title='View steeevs photostream' class='poplnk' target=_new href='http://flickr.com/photos/steeev'>Steeev</a></b> " + makeLinks('36521957871@N01') + "<p>" +
- "<span class='sfhead2'>Send a Flickr Mail to this User</span><p>" +
- "<form name=frmsendmess id=pmsendmessid>To: <span id='pmusernamediv'><b>" + dausername + '</b>' + realname + ulocation + "</span><br>" +
- "<span id='usertrivia'><br>First upload: <b>" + joindatehuman + "</b> Uploaded: <b>" + itemcount + "</b> items<br></span>"+
- "<div id='prvwspan' class='" + previewclass + "'>" + usermessage + "</div>" +
- //"<span id='sgspanid'></span>" +
- "<input type='hidden' id='dauserid' name='dauserid' value=" + userid + ">" +
- "<input type='hidden' id='dausername' name='dausername' value=" + encodeURIComponent(dausername) + ">" +
- "<br>Subject<br><input name='dasubject' id='dasubjectPMid' style='width:440px' tabindex='100'>" +
- "<br>Message<br><textarea name='damessage' id='damessagePMid' style='width:440px' rows='8' tabindex='102'></textarea><br>" +
- //"<input title='Saving the message will let you reuse it as a message template next time.' name=chksavemess type=checkbox value='true' id=chksavemessid>Save Message " +
- "<br><p style='text-align:center;'><input onclick='FMPprocessform(this.parentNode.parentNode,\"PREVIEW\");return false;' name='btnpreviewmess' class='Butt' type='button' value='PREVIEW'> or <input onclick='FMPprocessform(this.parentNode.parentNode,\"NOPREVIEW\");return false;' name='btnsendmess' class='Butt' type='button' value='SEND' tabindex='103'></p> </form><p/>" +
- "<span id='mailstatusPM'></span>" +
- "<p align='center'>If you appreciate Steeev's <a class='poplnk' href='http://steeev.freehostia.com/flickr/'>Flickr GM Scripts</a>. Please make a <a class='poplnk' href='http://steeev.freehostia.com/donate'>donation</a> :)</p>" +
- "<span><span style='float:left'><a class='poplnk' target=_new href='http://steeev.site50.net/flickr/flickr.pm.htm'>Help? / Discuss</a></span><span style='float:right'><a class='poplnk' href='javascript:;' onclick='document.getElementById(\"emaildiv\").style.display=\"none\";document.body.scrollTop=FMPscrolltop;return false;'>Close</a></span></span>";
- emailDiv.style.display='block';
- emailDiv.style.top=win.getScrollTop() + 'px'; // pageYOffset; //document.body.scrollTop; // scrolltop doesnt seem to work with the new photo page layout
- GM_addStyle(".Preview {border: 1px solid #ddd; background-color: #f5f5f5; padding: 10px; font-size: 12px;}");
- }
- if (document.getElementById('candy_nav_button_bar'))
- document.getElementById('candy_nav_button_bar').appendChild(emailDiv);
- else
- document.body.appendChild(emailDiv);
- win.FMPsendmail=function(userid, username, mcookie, subject, message, preview) {
- if(!subject || !message) {
- alert('Please enter a Subject and a Message before clicking Send');
- return false;
- }
- if (preview=='PREVIEW') {
- win.previewcode='&preview=PREVIEW';
- }
- else
- {
- //scroll(0,0);
- // commenting the next line out is useful for debugging flickr mail manager :)
- document.getElementById('pmsendmessid').style.display='none';
- document.getElementById('mailstatusPM').innerHTML="<b>Mail Status:</b> Sending Mail... <img src='http://flickr.com/images/pulser2.gif'/><p/>"; //"<div id='" + userid + "'><font color=blue>" + username + "</font> :</div>";
- win.previewcode='';
- }
- ///////// UPDATED: 14-3-2008 //////////////
- //BEGIN post using plain old xmlhttprequest
- ///////////////////////////////////////////
- /*
- checkresponse = function(evt) {
- if (!win.previewcode) {
- if (evt.target.responseText.match('<p class="Confirm">')) //('Your message has been sent.'))
- document.getElementById('mailstatusPM').innerHTML="<b>Mail Status:</b> Mail has been sent to <b>" + decodeURIComponent(username).split("\:\~\:")[0] +'</b><p/>';
- else {
- document.getElementById('mailstatusPM').innerHTML="<b>Mail Status:</b> Mail send has failed<p/>";
- if(evt.target.responseText.match('<p class="Problem">'))
- document.getElementById('mailstatusPM').innerHTML+=("<p class='Problem'>" + evt.target.responseText.split('<p class="Problem">')[1].split('</div>')[0]);
- //if(evt.target.responseText.match('Slow down, partner'))
- // document.getElementById('mailstatusPM').innerHTML+="You have been blocked by this user";
- }
- }
- else {
- if (evt.target.responseText.match('<div class="Preview">')) //('<h3>Preview your message</h3>'))
- document.getElementById('prvwspan').innerHTML=evt.target.responseText.split('<div class="Preview">')[1].split('</div>')[0];
- else
- document.getElementById('prvwspan').innerHTML="<b>Preview:</b> Sorry theres been an error displaying the preview.<p/>";
- }
- } // end function checkresponse
- */
- pdata='magic_cookie=' + mcookie + '&reply=&done=1&to_nsid=' + userid + '&subject=' + encodeURIComponent(subject) + '&message=' + encodeURIComponent(message) + win.previewcode;
- hostname=location.href.split('/')[2];
- req = false;
- try {
- req = new XMLHttpRequest();
- }
- catch(e) {
- req = false;
- }
- req.onreadystatechange = function () {
- if( req.readyState != 4 ) { return; }
- if (!win.previewcode) {
- if (req.responseText.match('<p class="Confirm">')) //('Your message has been sent.'))
- document.getElementById('mailstatusPM').innerHTML="<b>Mail Status:</b> Mail has been sent to <b>" + decodeURIComponent(username).split("\:\~\:")[0] +'</b><p/>';
- else {
- document.getElementById('mailstatusPM').innerHTML="<b>Mail Status:</b> Mail send has failed<p/>";
- if(req.responseText.match('<p class="Problem">'))
- document.getElementById('mailstatusPM').innerHTML+=("<p class='Problem'>" + req.responseText.split('<p class="Problem">')[1].split('</div>')[0]);
- //if(evt.target.responseText.match('Slow down, partner'))
- // document.getElementById('mailstatusPM').innerHTML+="You have been blocked by this user";
- }
- }
- else {
- if (req.responseText.match('<div class="Preview">')) //('<h3>Preview your message</h3>'))
- document.getElementById('prvwspan').innerHTML=req.responseText.split('<div class="Preview">')[1].split('</div>')[0];
- else
- document.getElementById('prvwspan').innerHTML="<b>Preview:</b> Sorry theres been an error displaying the preview.<p/>";
- }
- req.onreadystatechange = null;
- req = null;
- };
- //req.onload=checkresponse; // response handler function (defined above)
- if(req) {
- req.open("POST", 'http://' + hostname + '/messages_write.gne', true);
- req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
- req.send(pdata);
- }
- /////////////////////////////////////////
- //END post using plain old xmlhttprequest
- /////////////////////////////////////////
- return false;
- }
- // END Flickr Mail Popup code
- // BEGIN Flickr PM Code
- /* icons copied from jrhyleys (http://www.rhyley.org/gm/FlickrMail.user.js) */
- // ICOM PRof - PB 2021.02
- /*
- iconmail = '<img src="data:image/gif;base64,R0lGODlhDQAKAMQAAAAAAP////j4+O3t7ebm5uHh4czMzKqqqqOjo5ycnJOTk4qKioSEhHp6empqamJiYllZWf///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABEALAAAAAANAAoAQAVIYOQ4UFk6TcNEj2K8MMw8kDAMiU0oQ2GUgtzApnMBB4ebgkBIvGgIgXQ6ndVwxMGO8LsSDgqBAkHwAZMFZtmwMDxYqbh8EQkBADs=" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: middle;" width="13" height="10">';
- iconprof = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACD0lEQVQ4jU2TP48URxTEf/WmZ/eOO+2BfEiAkJwhIUfoQCIgcebv6S9i2alTB06QCACd0Mlr4budnZl+RdCNobN+/afqVdXT1dULw4AxIgEBYAtkAOQAJW0XiAoMiEqxWwkCMEgIoaFQLTJGFGKsB7KuWAYPoAUzUKQgXRvy18PxjNuTJ9zsXjGd/sj53Vsu//mDzeE9kFhGjCRJ4RtpjAAzl3NuHvzM/uIlGRumk6dUBU8//NpbEqnsLdApK3sL5jA+5Hj6mLPzHZsBjnNB/91HHjDtXpMnKFCBIC0ESGJcPzPk1LhZ2Ct4wkrUa500EZ12Qw+M2czXPLj5HfZ/83lOyu07dv/+yfdLBNJAmOgCtuIynHPcPsLAuhwwMEbguMe8echS7mNMKjGmNOka+qIz9j+84bh7xhQXTONjlDBtn8CjX2D5CU97Tq9/Y1w+QXOhfSGbdTzj7vI16+4Z0wLLKqgmh3vExXPmzXN095F5/xfb+VOPlQck/R+iIYJw9GA1pdIwrea4mjEEboEyJgIDSWoghy0lCmtCzVYHkwnHFW4XWBLsQG6gYYwNYVBdOS3CMquT7itI2JAJiZFOuvBBQeqmgKgc1sqsNkBusevxbfOyHUZqGbv1tQVJnWy4clkOHDiwZkVWn8QVk5QImPdsj9edfkFXV6/cnhegokxQITEowW1CUGADJAr1toMv3Z0W62ZdZV4AAAAASUVORK5CYII=" width="18" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: top;" height="19">';
- */
- iconfave = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACX0lEQVQ4jUWTS3KbVRCFv+57ZUnW27FwgCIkBCigQjHxFgjFgFWwJMZsgBEzCMUgA4oN8Bq5KjEhgRgHRwqS/sftw+AXMOnqMzjdXd1f2+npqYKCC0TGzJAKbmKkATJ4oQoAGQCYutzDcalTIQEiogWEwvlofZOPV7cAdc4ooNjLIKwli66skUEtttcvMeL9zZxwcTwe84f9jZuD9sUEpoSD9iMVZI6RkJwPVzd4u57wznbG3fWrZIHJwR1s30aBo4IZdEFgwRtlwe3djEH0GeqAN7dH3CxzzAJCCAGBzMljG7LUiGtV5kY1Y1Qy7zbHvF6NAEfAW9WMT/96j5/yJS9y4fHBcy56W/70htyjx92r17hVjTluRyQF8xhiMswCGUyUuLO5xvU0oDg88x1n/TVfLM7wDTXnvRXLZsSy9FmUA0yBmRC2X5ZhAUfRZ9kMOamn/JZX7Kjwiob7k0fcm51zlbY4ifTfLbr7YAkQrsSV19ybnXN/8iu1WtxkbNXy1fQh301+J6yzBgYmgiBM4AXkfD95wtfTM7a0gONYYARrVXw7fdz19EKHpmMCI3AMLPhm/og1FciRqeMA63CqrdpT6QROCtENnwhlhNPQ8C98gXBwUAacRRniiKLEzhvWqWaVa7beEBIpxCIGBEIOKSCDkAyzwklzyMZbXMYP/adc5h1gHJU+H2hJkvNyfcjP/cuOaDOy/f8qzGPML4OnXPQqvpw/4ImtkIwTpnzS2/JKdchRO0b9BCqAyAXIBkWF52nNZ9cf8KxscBKQMYMLrfl8+iNLP+TO7hijhuTQwj91xTNdE1A61AAAAABJRU5ErkJggg==" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: top;" width="18" height="18">';
- // TWEAK ICON : ARCHIVES - BASE 64
- iconarch = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC7UlEQVQ4jS2TXWibdRTGf+f/5k3eNEnzsbR2CbardCb9cGNDJyudHwzBgjAvxDsvxJuC3ujNLhRBFMGr6XBSEJl33nghQ/FitgU7cRBLja02FnVdbcJSaz8TsyV9/8eLd1fnwHkezgMPP1kszanhEAVUQDBgfQSDiKDBBTCIDTQqiqIYK4SENqiDIIGOwAyKWgUAEwwrPuAQvFHEQEhweOvtEVZW4zz62A5vTFWYf2UBgJGpQYpU6J3+DAPc+vQy70yforSQZriwz3vvLhMCZXPLY6PaxbHBJmqVVq2Fr8rhfx0cmkRqdwDw1bK941KteWQzbYx1kMXSdf29kqLRcEgl7/HQYIOtn/cwQGIgTpwDImtrCELz1Cirf6XZ3nOJJzqMFg4IGeDJH64Qub1BqzjEev5FPrw2DggvPF+FgWW+DH0LCG8yxNmfruJV/uBef57NwksYsUJsoUz33DxdSyu02w6zsz3MzB2heidCtVVnpn6DmfoNOtYn+ssKqdl5EgtlECFkxbBzYZKD8TO0H8wT9XxenfoTBIYLTUgWee3hlwGIOh67z56nNTbMYc8RAEIqsMwYd2kTI0rGbaHjlxBAes7A5ijcnAAE8htcK8J6P/R6wiQQMljWvqqzvbRP37kM0bMuV1Y/B5RUOAmVx/l4ehBwuPBcjW9qM3xfv8mJ9AiTuaeCGrOnu/GyLqlinLAJ8UzfBBYl5z0AfXc5//Q/CBB2fU6mRnHFZSCWBwQpl77T3yoJDhou6WSH48f22SrvogLd/TES2iByex3E0jx5gt1bHdp7HdyEIVWIBwkuXR6ivJTkiYl/ef/iIj++voJiOX3xOEcpk/vgIwTDr19/QeXq39Tnt8k80s25T8YICdCTbZHPhcmkO6gxdB31UHycmMEnSjvXC4CIJZJ26cp5eNkIioOUS9dVVRBRRBSsoCIISsCSICJYDhEVBEBNgKVDkEDVYLEE3YG5vxgRFAtqcQiD+PgScH8fUP4Hoqkgf3Xl8AoAAAAASUVORK5CYII=" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: top;" width="18" height="18">';
- iconcont = '<b>?</b>'
- // TWEAK ICON : darckr - BASE 64
- icondarckr = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACeElEQVQ4jSXTPW+dRRBA4TO7+37ca5trOyEIKkACRBEpIiBRUkJFy2/kB9AiOkSJIECHBIpEBHHij/fu7szOULg67dMc+fSTp+EJAIrDEAgx9g8PcAmtNbgS/KojInhkJCkSiZBE8QSJwBFkSjz58inP33vBkMDMyGPgYdjLjd0fK9e/XOMepBQYThEyEcrl4YKTbx5xdX7LIqf0XslFMBN0QHlwyvjcGY+C9MPMGIMphCI+WHYrfD3DubAsO1wGc5ppmpCcSH1iTIZb4/SDS9SP6Pd3jHCSJXj/iw/Zdh21I8kHZ+sF5/sD57sD+2nHfl2Y08wqhZwzy0cr8i6IBGWdC7+f/Yb0PWbGTe/spsq87ilFWMZCa41XbORc8HaHUVg+O1D/fE0pDxdu4padG6rKOilHr6SemOeVk3LGlGdyWbmuL4kxEQzKg4LsJ8rtyQ2lZNwhpcJITjWnRAUSaYJZFqw0St7hpTKNwHKhvAHF3ZA0kxAiFPFTcKUKhG0YHaIQDMw67k7TCqboGJTd8UAfnTLPiEwkdzSc7M7mFVdIwDBneMdrpQ+j90q5mSj8owzvZAlSSkSBmYnuRgRYdFwDC8XaYPM7ogb826lVKWbO2y/eZLsQSIKMhGMQgfoRU2A0Nm1oq5gP9FiRn5WJlQLO6x9vSe8s5JMTkEF3Q/t9R2807WirdD1CTMjzzPJ3IkiUIKGtsv8uU79q6FuB2hFRRZux9YYOI7qhrsz/GfNPMx6FhFGCQSZz92ojvq2Uj0Eezwxx1CqqikbA0VieTSx/LYgIwL0gcX9VJuPh+K+Qnm1wMSFnheLB/mqGWwecSAJDCBmICP8DGv6MviaItvgAAAAASUVORK5CYII=" style="float: none; min-width: 18px !important; margin: 0; padding: 0; border:0px !important; vertical-align: top;" width="18" height="18">';
- // TWEAK ICON : FLICKRIVER - flriv - TEST IMG
- iconflriv = '<img src="https://external-content.duckduckgo.com/ip3/flickriver.com.ico" style="float: none; margin-right : 3px; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="12" height="11">';
- // TWEAK ICON : flriv - BASE 64
- //iconflriv = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB6klEQVQ4jZ2TMWhTYRSFz3uN0UTFGqSWLorE4mCFSC10VcgkOAii4lJwEJ2EOogIgiCCiOggooObm9CpoBEVQelQKbpYFOJSikORYJrm5b17z3FIIm1eC9IDF/7hno/73//8gST06vZ7hQSGJB0mFZL6TqF6p5xhb2/QC7j1lsMCHkgqO5UhBafg5ExivProVH5mQ8CNih0FUHGq0DayYxbMCaeixHju+dldUynA5HQrHwBfXCo6BXcBEgCiERPugpEwYy02jkxdHFgAgEyX1Er8DKViu1EoDfXhfCmHXDbAp58xnnz8gyghzNlvrisArgNA2AWstOxEIzI0ogSgYeJYDrvzIbZlAhw/uBXj+7ag3kw6FZe7vn8TLDeTQWd7zB07Q+SzwZrlDmwPUG/GMBfcWVgP8Ms6S/uxIlSXYhzYkwUAOIU383UsN5M2gFxKA6LklTkvGAlz4dKLRUyM96OQ78PLuRrezdfhThgFSq9TrzB6t5qPjZ+NPOTehnSeDkbBO2dSvxFgpPawtJjKQfHmtyOJsWLUQNfga/MQATjdfDw6vW6QAGDv5Nf9ifG+OU+Synp7ZFL6AOFa8nRsdnV/CtBV7vLsoFPDpEIJVQAL/mws9RcgCeV7c6EkbKZCYFWaNqENr/C/+guj2Z5MzkOhuQAAAABJRU5ErkJggg==" style="float: none; margin: 0; padding: 0; margint-top: 3px; vertical-align: middle;" width="18" height="18">';
- // TWEAK ICON : PhotoMedvekoma - BASE 64
- iconPhotoMedvekoma = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACdklEQVQ4jT2Ty25jVRBFV9V53Httt5N2oNNiAkKIBCSU//8UEEJpQIqgQzu24/s4jzoMDD3YqlFJe6+qLd9/d9dEBHFgNCqVECOmxs3NDeM4klJifp3xGmil0YWeZVrw3uNVFREh1cQwDNz/dEff94RVx+l0QkTw6jmdThw+Hnl6emJJE8N6TU4Jj4dqlbdfvOXh4QECdF3H4XxgtRmopZFTYrVesxlWdEPk98c/OM9HVDy+tELXd3zz7de4oIRVh5mx3W5JKQEZxKM4Ssq8++odoo3H3z4ADe+Ccv/jHTgh1YxWZbPZkJthgDiHwoXDnHHiudpdc7Xfs9/v0dYaOWcAzAwzo5SCE+F6u2W72RBjxImy2+0YhoEYI+/f36Iq+NWbDXNOxKEjpYTR6LoBcQ0zI8aIqoI1SinUmnFOeHN9RaWhcIE2jhMxdgzDQEqJtBSsQq0V1UssAFX9rPV6jYcGNNQrS15wndLHnlJnUjacOcwM5TJFHPM84UWpKePNGiB47/Dek1JCRAjBcT6fcc7RWkOaknOmlguncVloDXSaJqZpuuQE+r4nxsiyZELoyLliBvM8cz6fmaaJWivH45GUEt4qdHFAmuDEYaWxlIQ6ZRxH+O+Eac6kOeGcZxkn9p8O1NJQy4Vff/6FaVyIoafVhjShpIqVxjwunA6vzONMKZW6VJ4/fuLw8kLwHh99xzIt/Pn4gVXsGNY9SymIvziotWJmUBvj6ZWcK68vB6jgg0fufrhvZgaAiLD7csft7S3GZfF/PsuUeD0cmedEzQVVpbWGxwRpeqmzGc9//c3++R/iEAkhfGYwn2dCCJRUL19bGqrKvw5HfeV77HvrAAAAAElFTkSuQmCC" style="float: none; margin: 0; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="11" height="11">';
- // TWEAK ICON : BigHugeLabs - BASE 64
- iconBigHugeLabs = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADEklEQVQ4jSXQS2tcVQDA8f8595x779w7M500aZpMYiW2EVKtbdVuRFe6E+lKRaigu279BMUvoHsRC2IXPqBoloKC4EItlgRN29TQ2NC8OpnOzJ3HfZyHC38f4Sd+3f7Mn5u7TCOaZZDvsfboa/qjTWLVQCCYmB5F1cO6CucNFphrXeKF9rvMpGcQw6Lj1/du0m6eY3N/FYlFBQkjMyTwlsoOGRQdtNQECKyvsK5AyBor7bcR3nu/21/n1sPPqesmWqY47zic/EsiNQLol12k0VSlAWEJQ48XJcZXqNxk3D34gUQcwxYhpS3JywwlNEQBRpRoU6fIJQut8yil2On+gdR9CpEj7+yvUoz7FLnA+5hQHSfWJ6hMwGAwhkpTFJ7AafYOtlhefIWXT1/BmohI1pA7nd+wNqQZL3Lm5GtM1U8g5JiZxinSeJ7RsAIvuHc74+OPvuXHX24wP7VCpJrUghQlrUIHDRanL2AY8M3N66ze2GDlwjQfXH0LIRXeODY27nLUeYJ3gs7wAc5XSKeQeEVNt2jV22zt3CKaXOTS+Tf4/qu/WL+9SaA0aa3B5fcv8umXH/Ls2WXWtr+jFiu6jwtUIDQCAQhClXD9i0843Mtw3mOtQwhBo94gSWLycsLhYI0oEiAVUaSRUklyMyAbH3B26XXeu/oS86dS3nzneZ578WkkAUoFxHFEs5GSJjGBkjjn6XVzxE8b13yRQxhM8czsqwhp2H3yJ3k1opvtE4eagXjEfLqE9xbrDNaVjMcT7m/sohCOWhxz1Nvm960t6vFJrCvIqx61sEaSRIQsgPd47/HeYa1j685j2u0FpHUFInDU6xFh6MjNLs4POFZPSFINwqGEwnmL8xZrDff/3qfVOs5YPIXKykNqtmR/tEskNGnYJFISIR3Om/+DPThn6R5lPHzQYXZ2FhkvI+Y0qha1yUb/IJwBQkaTIT6UZL2MJI3JJxXjYUnWn1BvhSydXqQ0SyTzIe3GDOIw2/Q/37uGcBZsiPARQkiqwqG0whiH1gFSCrxR5OUyaXuaU80mDd3gPy3GdpOqQdLZAAAAAElFTkSuQmCC" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: top;" width="18" height="18">';
- // TWEAK ICON : BigHugeLabsFAvs - BASE 64
- iconBigHugeLabsFAvs = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADDElEQVQ4jV3QS2hcZQDF8f9938k88prSaV5NG4ySQrSCK5UiglvFnStB3AmCO8GFLouL7t0JuhS3XdhKbSJElFgbU9JHTGqamcx07syd+5x773e/z0UQqWd7OL/F0aLMU1V7BikF7eAOh94Gpu6Qy4xXlj7AMep4vo9hSBzLpuLW0HUdITOEzNC64Z5K8iFt/xeirIMsx4zGHXQUllnnpYUPSbPziKkmssihyCEYcXG+gSRDn6mc58jbJIl90iRDlAWaqFPX1ilSjc2/rlKWj9B0HataQ1fwwsIcdXeWSXcO/WHvJmmcMeU+jyEaZLFF0Jfcun6Xtfl3cbQKD06uI0uPcbBNDYlt20gpUUqhP/G2mZu+zM6dXb74+HsG/RhDN3CrBt1glyI1GQvBOE1QxgQVDfI8J4oi0jTFzMsAKUuEAD/oYlkmi4tnmV/MyFWHstAwOjrTmweMP3oNqwzxPA/P86jVamg/3PtMlZlFzVkgzroUZYjhFti6TRiF9NoZKzdbvLw1x9833qcZ+7SPj9nf36fZbGLW3BZe8YiTqE3VruFOOIDNYBDg90sq85dYvT2ivtNFPOhyoA1oHxywt7dHq9XCXJ69wuP+BgiXIFNoKiGNcyyzxuziOhfzSVo7QwypkX91i99etxg8vM/h4SGBP0KTUqoD7yf+OPqGMi+Y2nBZvzqNk1pouoFZwkSqA5DpktgsUbKkRLF5po+mlFIAYxHS9rfpDY9wn6xw4fO7NDY6aGj8Px0z5triPbbO+f8BAEEUcZILphqT+N5t7C//ZPla/5nx79NDPln9lZHIqLou5r+FH4Z0i5Ja1UQpQZwdk8cdwHoGaAgH40yTep5R1fVTIEoSjgvJhBMRRI+xq5fojXtcviFQmBxdyehcSHjx2wbLYYVX6y2C1RmKID8FknQMzgS5VhBKHacsOOu9SbX3HT9/2mf/jSEDb8TWvM07X6/wdvEcnbfWeDpMTz9QSjEKA0bJCfG4TVoMkD+eEJ+LSJZG5OIpSSSIQw1T6KztLmG8t0J3eJ9/AFvurWXl/wIIAAAAAElFTkSuQmCC" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: top;" width="18" height="18">';
- // TWEAK ICON : GaGaLabsINT - BASE 64
- iconGaGaLabsINT = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADLklEQVQ4jU2PSWwbVQCGv3nvjT22s9pZSbDjhKRLiFI2FSmQUlGhIJAQFzgA4oDgwgH1wIkLEkLigABx4AJCnHogAnURhQNwqEBlESoibWjaOgvOZjvuON5mPOOZx6Ei4rv/n77fmHvzjMaQ1Fd/Z7R+jR7pYQB+EGBKhdYhodZ4vo/WYCpFLhyEux/A6kuj3N0cqneEjp3fkKrFxn4Vv91Gh5qYFcVxW2AYBEEbIQQDqSQd4RZO5wKNzWVUpC+NaxdIqpDS7QqnX3uJoF5ldavA6uY2UghGB/sxPMVz353GzMX5aPodLhVuEb/rMEprkFaCetPlmYXHefqR4ziVMgAYgIZb+W1eff1T3qrNYGBwrHY/l2MOfrOCkNEEZlc/dA1yaCJLqVzGD8KDMUA7CNgI8nxofMDN6SUuxr4h1BC6VVTgOQjTIkxNcuOfTd775HO2i3s89tAxXnjyBIcyI1z49ldOqEc5z3mscQd3K4GM92ImelCBW8Vr2Di1Oq4jeePFZ/l5KUetkGdpNc/qTpHyYg/n9OKdnAtQO/IlX2HjlvPI4fueeDsrd5mJ7ZHNjnHy1AKJ1AgnZyeQUrJbKHH2yiW29Q6mNsmQQR/f4K+uFdqpKZSVHGG/0mRhMs34yCB2/iZDukEY+HSZgudPzXH0njE+PnMO47LBPPMMJ7sp1308bw0B0OjM8suazfLKCsOWweRQCosQAdRrVY5kR5lKD/MfPywX0cOzWIMTCKe4ht/c57o5zR/lCL6MABCJxXE1NEWEMAj5P05nBr9ZwS3kELGBLCoSwyPCsnkvF//eQ0hJteEQi0Rpt1rslG201gcCQ0giiSTR/iyitbeOXysiIjFUNMbZFYfN/QY9HXG8Zo3beyXGh/op2dUDQei7hG0PrUOMB195X8tECoTAkApDKKxrixxONCmUbeRWgs/CL7ixvkXaH2OAAYrxOruddXJ9Nkp1JGk3K1C4wlPZDSyjTbm3Sa7YyfW1TeR6N56OMsEkADY2ZhPSbpyaaqBapTW0IXj34T/JuC2EMtgXmh8jA0xn5vj6+5+Y96c42qdR4s6FeLfkqjGDmn2ZfwE1k2aOA5eZ9AAAAABJRU5ErkJggg==" style="float: none; margin: 0; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="14" height="11">';
- // TWEAK ICON : FickRHive - BASE 64
- //iconFickRHive = '<img src="http://flickrhivemind.net/favicon.ico" style="float: none; margin-right : 3px; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="12" height="11">';
- iconFickRHive = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADUklEQVQ4jQXBzWscZQDA4d/MvLOzM7Ob/TDZzYZtTbRJa7WV1CAaTME2llqikUawiFqJFykIoVL/AcGeFQ+exPqBXqyQ4kEQPWghiNp81CRVkwaTbbZpNt3NzmY+dmZen0fJZPMyV+yiq7uI1ZHmxvXf6Os/wPPnJvjhu2scHTzG1S++5OChwxw6Mkimu5NEUuGrjz4h1jVU9AStlkupsxtDGBhGkr8Xl9HRWJz9i9XlW4Shz6lXXmbyvSl6egp8+9nnKKrKyZOjiKQhcBoNIg0eHxxkaeEmU5cu8ubkJKtLy7x1/jzzN+d4ZuxFZn6/wceXL2OaSZ584QzHnnoaxl9/TRZ7ytJOZaSdy0srnZafXrki/TiWbRlJGUnZjqU8MTYurWxRWqmcHH1pQs7tNuWH099L5Z33P5CWLrg2Pc3Q0BM429v8+uNPVKsVQCKlytsXp7j69TecffUcpLJcePcSUheEKIhsVw/FzjxvXNhHeX8Z0zA4OjyMCyRQiVU4fvoM4xNnGRkZYanWROoW7baHqglEAvCjkI1/bhN7AW7gYxs2f679RymbRTeTFPoPkk/b3PMC9vZcRNImjGN0LUaEakAkfbbvbSJU8OOQFaeJq8YU8p2kc3mcpo+3r0y1dh/X9UhZHcRBmyiOEZEf4Tsehm5g2CYaMVvVO9yanaXWVcBOZdBtm9KD3dhmB5sbFdx8F6GUBIGGGkZt7u/U8H2fUJFoqoapm/Q9dIBTz57AazWp363SbjmUS0V2Gw1c36PebLDjNBB7nksUtNmp1Rg6PszgY0dIBCHdfb305DMM9D/M3Pw8RcuimNCp79RotppE7QihqAjPcTASCZKWiQRK+8uYms7MwgIdlsXgo48w9twoSHCCgCgIaHt7xFIBFETQcghbGqqM+eP6DOvr6+RyD9Db24uu66xVNlmrbHB4YIBWfRcrmaS6UUFRFKSqILa2tkgnLQyhcWd1lTDwWNlbZPbnX8iWCtj5PLlMltAN2LxbxWk61Gs7YOiksxmEpqrsOQ5xHGMkEyhxRDZjU9+pE0chStjGSAiWF+ZxGi0UoSIVSGGQMUxEJCVtzwMJkQq3/13BMk3QBdq2iu+6VCsbFErdSEVFCcBKd6AkBMI2+R8HE3uqfSN/PAAAAABJRU5ErkJggg==" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: top;" width="15" height="18">';
- // TWEAK ICON : FluidR BASE 64
- //iconFluidR = '<img src="http://www.fluidr.com/favicon.ico" style="float: none; margin-right : 3px; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="12" height="11">';
- iconFluidR = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACFElEQVQ4jcWTu04rQRBEz+zMesYILPGwQF4RkDhZIT4AZEGERIYI+J37J+SkiICEABIyRIggMA9ZliwCI+9j2JlZknsXiAluZx10VXV1l7i5uan5RUW/GQZQ3xvvPff394zHY/r9PkmSAPD29sZoNGJxcZFer0cURQghfgKcn59zenrKdDrFOUdd12xtbdHv9xmNRnjv8d6jtWYwGLC9vf0FcHJywsXFBQDGGLz3LC0tkSQJ7+/vaK0JIZDnOXmec3Z2xng85ujoCHV3d8fl5SVaa+I4BsA5x+bmJkophBBEUYS1llarRQiBEALX19ekaYqcn5//M5lMMMbQbrcxxrCyskKv1yOEgDEGpRQhhAa8qiqccxRFgXp5eWFubg6tNUop4jhmbW0NIQRaa6SUOOcwxlCWJXVd45zDOcdwOEQppZBSEscx7XabhYUFOp0OdV03TkspsdY2BocQGqBoY2Pj6yR/pWZZxmw2o6oqrLVYa5lMJmRZRpZlFEWBtZb19XWinZ2dhuXfbmVZAlBVFd57Pj4+eH19ZTabURQFZVlSliV7e3tEaZqyu7tLCKGR55wjz/OG6fb2ljzPf7Dv7++TpilKCMHh4SHdbperqyustdR1jZSS5eVlHh4eeH5+ptVqIaWk0+lwfHzMwcEBAOJ7mLz3PD09MZ1OSZKEbrcLwHA45PHxkdXVVdI0/fHK4r+n8RMZsSWomCz/CQAAAABJRU5ErkJggg==" style="float: none; margin: 0; padding: 0px; vertical-align: top;" width="15" height="18">';
- // TWEAK ICON : LfVR (forum:http://forum.phun.org/forum.php) ???
- iconLfVR = '<img src="http://www.fluidr.com/favicon.ico" style="float: none; margin-right : 3px; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="12" height="11">';
- // TWEAK FALSH ICON :FFFFlckkR ????
- //iconFFFFlckkR = '<img src="http://www.fluidr.com/favicon.ico" style="float: none; margin-right : 3px; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="12" height="11">';
- // TWEAK ICON :FFFFlckkR
- //iconFFFFlckkR = '<img src="http://fffflckr.com/favicon.ico" style="float: none; margin-right : 3px; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="12" height="11">';
- iconFFFFlckkR = '<img src="data:image/gif;base64,R0lGODdhEAAQAOcAAAEBAb6cF7i4uExCHJl9C0NDQ/PFEkM8IiUlJZ2dnem+E////3xpHZSUlCopJNivEB8ZAnt7e+np6XR0dHBbCGxsbNKqD6+QGRQQADUxI2NjY4xyCllOIMqkDaaJGSYiFNvb21tbW/bIE2dYHzIyMlRKIbW1tV5RH+G3EYx1HAoIAph+GjUtDdPT08GeF+3AEkxDITEuJIZwHFtPHxMTE3BfHUtLS5R7G8zMzBwcHM+qFqKiojo1Izs7O6qLFCsrK4FqEXpnHCgiDLybGGxcHsahDqKGGuTk5NKsFVBCCmJPCT45IygnJGJVHxwbFPPz86yOGpV6C8unFj80DNyyDrGRFpuBGhoUAg0NDaGDC15RIMWhFsfHx1dXV6qqqiYkHOS6E9yzEwgGAHNiHoJtHdewFrOTGJF4F3ZhDRUTDiwnEjszEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsAAAAAAGAAAAAY94yrhfdYdwEAGAAAANQR5AAAdgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIgAkQNylAAAAPd4AAUAGACMAHMCTxIoABh21HbQKhsAIJRwAAEDcgAAAHKUgPecAyMAGHeL4IvfpQAAdwAAAAAAAAAAAPggAJMAGHbRxhj4IMbtALd20QAAAIj//xjAA8AApgCmGAAAGAAAAPgAAAAY9wAAQAAAAOQAAAAY9wAAAAAAAAAAAAAAAAAAAAAMAAIAAAAAAAABAfhcAAAAGAAAAJEAAJf4AAAFLCwAAAAAEAAQAAAIXQARCBxIsKCIgggJHkyYUAQABAsZChSRwwBEBAsSKBwowsDBgwta3BDxESIAETJqXJzIcSFJliybQHTpcuAYEUFc8LgoQoHPn0CDRpTIkahBoxuRwlRKsqnTp00DAgA7" style="float: none; margin: 0; padding: 0px; border:1px solid gold !important; vertical-align: middle;" width="19" height="15">';
- // TWEAK ICON :FavExplo - BASE 64 (Globe Blue + Arrow)
- //iconFavExplo = '<img src="http://con-tech-gr.blogspot.com/favicon.ico" style="float: none; margin-right : 3px; padding-bottom:3px !important; padding: 0; border:0px !important; vertical-align: middle;" width="12" height="11">';
- iconFavExplo = '<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADS0lEQVQ4jQXBbWhVZQDA8f/znHPuOffce7dhe5G7jVqLMIlNzb1QQiQp9sH8YGBREcQKsj4YFNoHqxFF4gj7EpkU6ZegF4JsKIqw0mlrVEKO1ch5t3Kvd7u789x7zznPOefp9xNXR8e1aRpEiUcoTXy7jhv/FTl+5isWyx6gyOeyHHruWTY3t9BoWohYUdEehm0gfh8b1UpalKXLxNwy7586xUo1JOXWIWOBjMCOQ+LKAi1Zg0MDL9B1XyeGApEIzLKREEjJvpcOYja0gZXBTTchXINYJAQywgoFY8MXaAJ0HCBkxF83p/FViFm0NzAzO4dtORgSqpZE1KchY9AkLQYPPMPeR+/n5cGPuXx9nJJXIlldYerHs5QLBaQZNjA09Bm1jEPJ8okyPm6wwkd793Nt6B3u6Wxn/5FjnJ2cpIhLXMtgRQ3sfvpFlp0s5m+zN1nyKmhDkrez2Gs+V859iRfC16PjHPvmO2IjjROmkV4VYaWp2jVurde4MruEyO85oOfm5nFzWT54e5A9W7fz3okTnJ//B9/Oko4c/NUKKqyg/Dskfgl8H1RMPt+OuVpcwI4DHuvs4okd23nr0y+4MF0gSeqJfYuiqGLmIFrzwKgh0OhYYUgoLhYQ7pZHtFSSmT9/5vEnX6WQKEqmRrg2GRUiJ6f4948RrBR4QL6nj0gJDO3ikEba7W14qYTnDx9lammCUqkA3jJ6vUhUq9DS0cGmnp3cCRIMwAkDbEMSC016411w8qcRPaW1prtX092veahPG9v6dfPDu/WRT07rea31ba113eZ+PaO1drbs0LKrT9PVr9/94aI2e3ONNFYTGvwAkXJJ6RwPdLQz/O3n+KHPrl37mF4oUks53L11J0JngJDWZpsHO5sxVShQ6z6LN67jRxCIEOwUrxz9kHOXRlirraHiGGllINIIXcYx4M2Dh7EDB7Nmx0zcnmLs+1/xwoiJ2TkuXr1MJaqBtMDKgYBEhAhDkYotrFDR3dqKrQJMrUqAxbaeXv6enefM8Hkq1RDMDIQRmDVQCtNIs3FDC2+8NsCmtlYcqTBVhBi79osWQqCJUbFBYLlM3Frg+MnTLJY9okTR2lTP6wNP0XVvO06iMIRJJU4wLIf/AROBjQatzZQsAAAAAElFTkSuQmCC" style="float: none; margin: 0; padding: 0px; border:1px solid gold !important; vertical-align: middle;" width="15" height="15">';
- // TWEAK ICON : PortFotoLio
- iconPortFotoLio = '<img src="data:image/gif;base64,R0lGODdhEAAQAOcAAB8fH91sDrS0tEsyHmxsbL5dEplOFf7+/lRRTz4tH+zs7E1KR5ycnP9uAI1WKjRBSoRJGOLi4jAwMGhAG4uLi/V0DHlVOv94Btzc3NF0LZ9dK9TU1IGBgfR7E1NBM2NjY8rKyi85QOV1HSIoLZh1Wv9+EikkIVY4HHNzc/x0C1xcXFY/LaysrCYwOMXFxYVGFn9cQMNgEUNDQ1hGOPWMPextDf+BDfX19T8uICAlMF5QRv+FGHprX5KCd59kN/aCIOx4ITcmH6xWFGM6GpZNFZSUlDs7OpZeM8JcDaKiontDGFg1Gv97DEItHtZgCHx8fEI1LoJRLCIiIkNJTeJwD6FRFcNfEeh0HJxeMJBZLodjSWRXTIBFGKRkNDw1L/+DFjAnITc5PS0tLfWCKf+CIlRUVP50BUpKSm49GeJqDuxzDT1ES104HCw2PKFfLD03MZ9RFYFeQ51lOpBfOkM2MDM8RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsAAAAAAGAAAAAY94yrhfdYdwEAGAAAANQR5AAAdgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAkQCW7AAAAPd4AAcAGACMAABcXxIoABh21HbQKhsAIN9YAAEAlgAAAJbsWPecACMAGHeL4IvfpQAAdwAAAAAAAAAAAPggAJMAGHbRxhj4IMbtAAB20QAAAKL//wocABwDggOCCgAAGAAAAPgAAAAY9wAAQAAAAOQAAAAY9wAAAAAAAAAAAAAAAAAAAAAMAAIAAAAAAAABAfhcAAAAGAAAAJEAANFIAAAAmCwAAAAAEAAQAAAIkAClCBQ4gUmKFEMGKhQ4IIUZJhDNpKixUIqVFD4W0knBRGGTFEoqCjRjY2CKKyJNChySQqAMDBQERoggcEwFKRAFHjhzQMUBFhtuSNHRkqMUFAcEikk6MEHLnFJ2KhDwk0LSLS1ZusSgQmYRgSJKSjmZUmBLgR9DiiSp8KKIhSeMLmzIMWIKNWXZGERYtu/AgAA7" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: top;" width="18" height="18">';
- function $x( xpath, root ) {
- var doc = root ? root.evaluate?root:root.ownerDocument : document;
- var got = doc.evaluate( xpath, root||doc, null, 0, null ), next;
- var result = [];
- while( next = got.iterateNext() )
- result.push( next );
- return result;
- }
- // ???
- fpmlinks_newphotopage = function () {
- underphotonode = document.getElementById('photo-activity');
- if (underphotonode) {
- cowners=underphotonode.getElementsByClassName('comment-block');
- ccontents=underphotonode.getElementsByClassName('comment-owner');
- for(x=0;x<cowners.length;x++) {
- buddyid=cowners[x].getAttribute('data-comment-nsid');
- //ccontents[x].innerHTML=ccontents[x].innerHTML.replace('says:', makeLinks(buddyid) + 'says:');
- blnks=document.createElement('span');
- blnks.innerHTML=makeLinks(buddyid);
- blnks.setAttribute('style','font-weight:normal !important');
- if(ccontents[x])
- ccontents[x].parentNode.insertBefore(blnks,ccontents[x].nextSibling);
- }
- }
- }
- /*
- //attempt at optimising the function. doesnt seem to make that much difference. code is a lot clearer though
- grabuserid = function(text) {
- var buddyid;
- var icontest=text.match(/\/buddyicons\/([0-9]+@N[0-9]+)\.jpg/);
- if(icontest)
- buddyid=icontest[1];
- else {
- var noicontest=text.match(/\/images\/buddyicon\.jpg\?([0-9]+@N[0-9]+)"/)
- if(noicontest)
- buddyid=noicontest[1];
- }
- return (buddyid == null) ? 'undefined' : buddyid;
- }
- */
- grabuserid = function(text) {
- //win.console.log(text + '\n');
- buddyid = 'undefined';
- if (text.indexOf('buddyicon.jpg') != -1) { // no proper icon
- buddiarr = text.split('buddyicon.jpg#');
- if (buddiarr[1] != null) {
- buddyid = (buddiarr[1].split('"'))[0];
- }
- } else {
- buddiarr = text.split('/buddyicons/');
- if (buddiarr[1] != null) {
- buddyid = buddiarr[1].split('.jpg')[0];
- }
- }
- if ((buddyid == 'undefined') || (buddyid == null)) {
- buddyid = (text.split('/'))[2];
- }
- return (buddyid == null) ? 'undefined' : buddyid;
- }
- makeLinks = function(userid) {
- if (userid=='undefined' || userid=='l.yimg.com')
- return ' '; //[ User is no longer on Flickr ]
- // REMOVE BRACKET - 2018
- iconlink = '. <b>';
- if(userid=='36521957871@N01')
- //TWITTER - SUPP DECEMBRE
- // iconlink += '<a title="Follow Steeev on Twitter" href="http://twitter.com/steeev/"><img alt="T" style="float: none; margin: 0; padding: 0; border:0px !important; vertical-align: middle;" width="15" height="16" src="http://farm4.static.flickr.com/3629/3403660323_11839590bb_o.gif"></a> ';
- MAIL :
- iconlink += '<a onclick="flickrmailpopup(\'' + userid + '\');return false;" title="Send a Message" href="http://www.flickr.com/messages_write.gne?to=' + userid + '">' + iconmail + '</a> ';
- // USER ABOUT/PROFILE (ICON) - 2021 - PB ICON (chg by text)
- // iconlink += '<a title="User Profile" href="https://www.flickr.com/people/' + userid + '/">' + iconprof + '</a> ';
- iconlink += '<a title="User Profile" href="https://www.flickr.com/people/' + userid + ' "> ♙ </a> ';
- // (double)USER CONTACT :
- // iconlink += '<a title="User Profile" href="https://www.flickr.com/people/' + userid + '/contacts">Uct</a> ';
- // DISABLE - RELATIONSHIP :
- // iconlink += ' <a class="fpmLink" title="View / Change Relationship" onclick=\"document.getElementById(\'emaildiv\').style.display=\'none\';icon_windowOpenFromLink(\'' + userid + '\'); return false;\" href=\"http://www.flickr.com/people/' + userid + '/relationship/\">RE</a> ';
- // DISABLE - 2018 - UiF - PB USERNAME need to find another way
- // https://www.flickr.com/search/?user_id=15064538%40N00&sort=interestingness-desc&faves=1&view_all=1&text=peterschlyter
- //https://www.flickr.com/search/?user_id=15064538%40N00&sort=interestingness-desc&faves=1&view_all=1&text=60308264@N05
- // realname
- // username
- //iconlink += '<a title="User Profile" href=" https://www.flickr.com/search/?user_id=15064538%40N00&sort=interestingness-desc&faves=1&view_all=1&text=' + userid + '">UiF</a> ';
- //iconlink += '<a title="User Profile" href=" https://www.flickr.com/search/?user_id=15064538%40N00&sort=interestingness-desc&faves=1&view_all=1&text=' + realname + '">UiF</a> ';
- //iconlink += '<a title="User Profile" href=" https://www.flickr.com/search/?user_id=15064538%40N00&sort=interestingness-desc&faves=1&view_all=1&text=' + username + '">UiF</a> ';
- // FLICKR OFFICIEL (HTTPS) - 2017 OK
- // CONTACT USER NAME (<a id="CatFlickrSuite4" rel="me" href="/photos/carlosvisual/")
- //(LINK contact : http://www.flickr.com/people/carlosvisual/contacts/ - LINK photo : (http://www.flickr.com/photos/carlosvisual/)LETTRE "CT":
- iconlink += '<a class="fpmLink" title="CONTACT" href="https://www.flickr.com/people/' + userid + '/contacts/ ">[CT]</a> ';
- // PHOTOSTREAM USER
- iconlink += '<a class="fpmLink" title="PHOTO" href="/photos/' + userid + ' ">[PHt]</a> ';
- ////
- // 2022.03 - PHOTOSTREAM USER by intersting :
- // OTHER: https://www.flickr.com/search/?user_id=66422871%40N00&sort=interestingness-desc
- iconlink += '<a title="User PhotoStream by intersting" href="https://www.flickr.com/search/?user_id=' + userid + '&sort=interestingness-desc">❤️PhoStR</a> ';
- // iconlink += '<a title="User Favourites Search by intersting" href="https://www.flickr.com/search/?user_id=' + userid + '&faves=1&view_all=1&text=&sort=interestingness-desc">' + iconfave + '</a> ';
- ///
- // 2022 - PB ICON 2021.02 - RE ENABLE (ONLY for Others USERS - ARCHIVE USER (Direct Thumbnail) - Flickr (User ARCHIVES) SMALL:
- // iconlink += '<a title="User Photo Archive (Small)" href="https://www.flickr.com/photos/' + userid + '/archives/date-taken/detail/?view=sm">ArCH</a> ';
- // WITH ICON
- iconlink += '<a title="User Photo Archive (Small)" href="https://www.flickr.com/photos/' + userid + '/archives/date-taken/detail/?view=sm">' + iconarch + '</a> ';
- // 2021.02 PB ICON - Flickr (User FAVORITES) VIEW Justified: (2019.08)
- iconlink += '<a title="User Favourites Justified" href="https://www.flickr.com/photos/' + userid + '/favorites/page1/?view=ju">❤️Ju</a> ';
- // iconlink += '<a title="User Favourites Justified" href="https://www.flickr.com/photos/' + userid + '/favorites/page1/?view=ju">' + iconfave + '</a> ';
- // 2021.02 PB ICON - Flickr (User FAVORITES) search by intersting :
- // ME : https://www.flickr.com/search/?user_id=15064538%40N00&faves=1&view_all=1&text=&sort=interestingness-desc
- // OTHER: https://www.flickr.com/search/?user_id=129738991%40N02&faves=1&view_all=1&text=&sort=interestingness-desc
- iconlink += '<a title="User Favourites Search by intersting" href="https://www.flickr.com/search/?user_id=' + userid + '&faves=1&view_all=1&text=&sort=interestingness-desc">❤️Int</a> ';
- // iconlink += '<a title="User Favourites Search by intersting" href="https://www.flickr.com/search/?user_id=' + userid + '&faves=1&view_all=1&text=&sort=interestingness-desc">' + iconfave + '</a> ';
- iconlink += 'Pools: ';
- // MY POOLS:
- // IN POOL - PF
- //iconlink += '<a title="User Profile" href=" https://www.flickr.com/groups/portrait_face/pool/' + userid + '/?thumb=1">inPF</a> ';
- iconlink += '<a title="InPF" href="https://www.flickr.com/groups/portrait_face/pool/' + userid + '/?thumb=1">inPF</a> ';
- iconlink += '>>';
- // IN POOL - PF (LA)
- iconlink += '<a title="InPF L" href="https://www.flickr.com/groups/portrait_face/pool/' + userid + ' "> (LA)</a> ';
- iconlink += '-';
- // IN POOL - PFO
- //iconlink += '<a title="User Profile" href=" https://www.flickr.com/groups/portrait_faces_open_minded_/pool/' + userid + '/?thumb=1">inPFO</a> ';
- iconlink += '<a title="inPFO" href=" https://www.flickr.com/groups/portrait_faces_open_minded_/pool/' + userid + '/?thumb=1"">inPFO</a> ';
- iconlink += '>>';
- // IN POOL - PFO (LA)
- iconlink += '<a title="inPFO L" href=" https://www.flickr.com/groups/portrait_faces_open_minded_/pool/' + userid + ' "> (LA)</a> ';
- iconlink += '-';
- // 2018 - IN POOL - PFM
- //iconlink += '<a title="User Profile" href=" https://www.flickr.com/groups/portrait_faces_open_minded_/pool/' + userid + '/?thumb=1">inPFO</a> ';
- iconlink += '<a title="inPFM" href="https://www.flickr.com/groups/portrait-faces-master-view/pool/' + userid + '/?thumb=1"?">inPFM</a> ';
- iconlink += '>>';
- // 2018 - IN POOL - PFM (L)
- iconlink += '<a title="inPFM L" href="https://www.flickr.com/groups/portrait-faces-master-view/pool/' + userid + ' "> (LA)</a> ';
- iconlink += '-';
- iconlink += 'Apps: ';
- // FLICKR APPS - 2018 revision :
- // Flickr River (User Most Interesting) - [GOOD 2021 - pb - ]: - 2021 - PB ICON (chg by text)
- iconlink += '<a class="fpmLink" title="User Most Interesting (Flickr River)" href="https://www.flickriver.com/photos/' + userid + ' ">RiV</a> ';
- // iconlink += '<a class="fpmLink" title="User Most Interesting (Flickr River)" href="https://www.flickriver.com/photos/' + userid + '/popular-interesting/">' + iconflriv + '</a> ';
- iconlink += '>';
- // DarckR (User Most Interesting) - [GOOD 2021 - pb - ]: - 2021 - PB ICON (chg by text)
- iconlink += '<a class="fpmLink" title="User Most Interesting (Darckr)" href="http://darckr.com/username?sort=interestingness-desc&format=Small&username=' + userid + ' ">DaK</a> ';
- // iconlink += '<a class="fpmLink" title="User Most Interesting (Darckr)" href="http://darckr.com/username?sort=interestingness-desc&format=Small&username=' + userid + '">' + icondarckr + '</a> ';
- // DISABLE - WORK but idon't use It
- // BigHugeLabs (DNA - USER Resume) - [GOOD 2017 - ]:
- // iconlink += '<a class="fpmLink" title="User Info + Stats (DNA-BigHugeLabs)" href="http://bighugelabs.com/flickr/dna.php?username=' + userid + '">' + iconBigHugeLabs + '</a> ';
- // DISABLE - WORK but I have too much Favs and it hang
- // BigHugeLabs (Favorit-Finder) : La 1ére fois, metre votre nom dans la 2éme case (ensuite ce n'est plus necessaire) - [PB too much FAVS 2015 - ]
- //iconlink += '<a class="fpmLink" title="User Favs By Me (Favorit-Finder)" href="http://bighugelabs.com/favorites.php?user1=' + userid + '">' + iconBigHugeLabsFAvs + '</a> ';
- // TEST - BigHugeLabs ( SCOUT User Explore) :
- //iconlink += '<a class="fpmLink" title="User on Explore Page (Flickr Scout-BigHugeLabs)" href="http://bighugelabs.com/flickr/scout.php?sort=position&year=0&username=' + userid + '">SC</a> ';
- // TEST - BigHugeLabs (Favorite Surfer: Browse favorite photos on Flickr)
- //iconlink += '<a class="fpmLink" title="Favorite Surfer: Browse favorite photos on Flickr (BigHugeLabs)" href="http://bighugelabs.com//surf.php?user=' + userid + '">Fs</a> ';
- //iconlink += '>';
- // [BROKEN 2019 - TOTALY]
- //PicSRR (User Most Interesting) LETTRE [PB 2019 - some litte pb for visualize shot - ]:
- // iconlink += '<a class="fpmLink" title="User Most Interesting (PicSSR)" href="http://picssr.com/photos/' + userid + '/popular-interesting/">PSi/F</a> ';
- //iconlink += '>';
- // [BROKEN 2019 - TOTALY]//
- // FlickRHive(500 photos per Pages / Size : 100) - [GOOD 2018 - ]:
- //iconlink += '<a class="fpmLink" title="User (FlickrHive)" href="http://flickrhivemind.net/flickr_hvmnd.cgi?search_type=User&textinput=' + userid + '&search_type=Search+User&photo_number=500&photo_type=100&sort=Interestingness&page=1&tag_mode=">' + iconFickRHive + '</a>';
- //iconlink += '>';
- // DISABLE - FlickRHiveFAV(500 photos per Pages / Size : 100) - USERNAME ajouter : http://www.flickr.com/photos/ - [PB 2019 - ]:
- //iconlink += '<a class="fpmLink" title="FAV (FlickrHive)" href="http://flickrhivemind.net/flickr_hvmnd.cgi?search_domain=Favorites&textinput=https://www.flickr.com/photos/' + userid + '+&search_type=Search+Favorites&photo_number=500&photo_type=100&sort=&page=1&tag_mode=&license=">' + iconFickRHive +'♡</a>';
- iconlink += '>';
- // ICON + GLYPH ICON (FAV)- 2017
- // RE ENABLE - FluidR (Fav Random) - [GOOD 2021 - pb - ]: - 2021 - PB ICON (chg by text)
- iconlink += '<a class="fpmLink" title="FluidR (User Fav Random)" href=http://www.fluidr.com/photos/' + userid + ' ">FluidR❤️</a> ';
- //iconlink += '<a class="fpmLink" title="FluidR (User Fav Random)" href=http://www.fluidr.com/photos/' + userid + '/favorites/random">' + iconFluidR +'♡</a>';
- // DISABLE - FluidR (User Most Interesting) - [NOT WORKING 2019 - ]: http://www.fluidr.com/photos/sylvain-emmanuel_p
- //iconlink += '<a class="fpmLink" title="FluidR (User Most Interesting)" href=http://www.fluidr.com/photos/' + userid + '">'+ iconFluidR +'</a>';
- //iconlink += '>';
- // [BROKEN 2019 - TOTALY]//
- // DISABLE - FlickeFlu (User Favorites) LETTRE - [PB 2019 - ]: http://flickeflu.com/photos/favorites/15064538@N00
- //iconlink += '<a class="fpmLink" title="FlickeFlu (User Favorites)" href="http://flickeflu.com/photos/favorites/' + userid + '">FlU</a> ';
- // [BROKEN 2019 - TOTALY]//
- // 2019 - DISABLE (ONLY PUB) - FFFFlckkR (Fav Random) - [TEST 2017 - OK]:
- //iconlink += '<a class="fpmLink" title="User (FFFFlckkR Fav Random)" href=http://fffflckr.com/#/' + userid + '>' + iconFFFFlckkR + '</a>';
- // iconlink += '> ';
- // DISABLE - PortFolio (User PhotoStream) - [TEST 2019 - OK but no login]
- // http://portfotolio.net/bruno-decembre/favorites
- // exemple : iconlink += '<a class="fpmLink" title="FluidR (User Fav Random)" href=http://www.fluidr.com/photos/' + userid + '/favorites/random">' + iconFluidR +'♡</a>';
- //iconlink += '<a class="fpmLink" title="User Favs (PortFolio User Favs)" href=http://portfotolio.net/' + userid +'>' + iconPortFotoLio +'</a>';
- // BROKEN 2017
- // LurVely (User Most Interesting) LETTRE - [GOOD 2015 - ]: :http://www.lurvely.com/photographer/15064538_N00/
- //iconlink += '<a class="fpmLink" title="LurVely (User Most Interesting)" href="http://www.lurvely.com/photographer/' + userid + '">LuR</a> ';
- // BROKEN 2014 //
- // Tafoni) Favorites Explorer (User Favs) PB USERNAME - [BROKEN 2014 - TOTALY]:
- // http://www.tafoni.net/flickr/favorites/?of=molekularshik&all=y
- //disable iconlink += '<a class="fpmLink" title="Favs Explorer" href="http://www.tafoni.net/flickr/favorites/index.php?of=' + userid + '">' + iconFavExplo + '</a> ';
- // [BROKEN 2014 - TOTALY]//
- //(ALL Tafoni) REVERSE Favorites Explorer (User Favs) PB USERNAME -
- // http://www.tafoni.net/flickr/favorites/index.php?of=decembre&by=eduardoizq.tumblr.com&all=y
- //http://www.tafoni.net/flickr/favorites/index.php?of=decembre&by=eduardoizq.tumblr.com&all=y
- //http://www.tafoni.net/flickr/favorites/index.php?of=decembre&by=brookeshaden&all=y
- //http://www.tafoni.net/flickr/favorites/index.php?of=decembre&by=sol+exposure&all=y
- //disable iconlink += '<a class="fpmLink" title=" Revers Favs Explorer" href="http://www.tafoni.net/flickr/favorites/index.php?of=decembre&by=' + userid + '&all=y">' + iconFavExplo + '</a> ';
- // (Tafoni) Favorites Explorer - (NO)Problem buddtid - [BROKEN 2014 - TOTALY]:
- //disable iconlink += '<a class="fpmLink" title="View Favorites Explorer" href="http://www.tafoni.net/flickr/favorites/index.php?of=decembre&by=' + buddyid + '">Fe</a> ';
- // Photo.Medvekoma.net (User Favorites) - [BROKEN 2014 - TOTALY]:
- //disable iconlink += '<a class="fpmLink" title="User Favorites (Photo.Medvekoma.net)" href="http://photo.medvekoma.net/Favorites/' + userid + '">' + iconPhotoMedvekoma + '</a> ';
- // GagaLabs (User Most Interesting) - [BROKEN 2014 - TOTALY]:
- //disable iconlink += '<a class="fpmLink" title="User Most Interesting (GagaLabs)" href="http://apps.gagalabs.com/flickr/interestingby?id=' + userid + '">' + iconGaGaLabsINT + '</a> ';
- // PB - TEST (find by username) PB USERNAME - need to CHANGE ICON to BASE 64
- // LfVR (User)
- //disable iconlink += '<a class="fpmLink" title="User (Lfvr)" href=http://webdev.yuan.cc/lfvr/flickr.proxy.php?method=flickr.people.findByUsername&username=">' + username + '>' + iconLfVR + '</a>';
- // Flickr (View/Change Relationship) :
- //disable iconlink += '<a style="text-decoration:none" title="View/Change Relationship" href="http://www.flickr.com/relationship.gne?id=' + userid + '">' + iconcont + '</a> '; // onclick="_ge(\'person_hover\').hover_add_contact(); return false;"
- // REMOVE BRACKET - 2018
- iconlink += '</b>. ';
- return iconlink;
- }
- win.makeLinks=makeLinks; // make the function available to other scripts too :)
- // BEGIN fpm links to photostream and profile pages - WORKING for USER COLLECTIONS but NOT PROFILE ???
- function addfpmtophotostreamandprofileheader() {
- dasec=document.getElementsByClassName("cover-photo-holder");
- // dasec=document.getElementsByClassName("avatar");
- if(dasec[0]) {
- pmsp=document.createElement('span');
- pmsp.style.position='absolute';
- pmsp.style.left='0px';
- pmsp.style.top='-15px';
- pmsp.style.fontWeight='normal';
- pmsp.style.fontSize= '11px';
- dah1=document.getElementsByTagName('h1')[0];
- buddyhtml=document.getElementsByClassName('sn-avatar')[0].innerHTML;
- bdid=grabuserid(buddyhtml).split('_')[0];
- pmsp.innerHTML=makeLinks(bdid);
- dah1.appendChild(pmsp);
- }
- } // END Add fpm links to header of photostream pages
- /* ******************************** */
- if (document.location.href.match('/photos/')) {
- if (document.location.href.match('/sizes/')) {
- datds=document.getElementsByClassName('Owner')
- usid=grabuserid(datds[0].getElementsByTagName('a')[0].innerHTML);
- datds[0].innerHTML+=makeLinks (usid);
- return;
- }
- /// TEST PHOTO PAGE - OK (Need CSS)
- // TEST QUERY CSS SELECTOR - NO
- // document.querySelectorAll("span.a, span.c");
- // datds=document.querySelectorAll(".fluid.html-photo-page-scrappy-view .attribution-view .avatar[data-person-nsid*="@N"]");
- /*
- else if (document.location.href.match('/photos/')) {
- // datds=document.getElementById('faves-right').getElementsByTagName('li');
- datds=document.getElementsByClassName('attribution-view') ;
- for (i=0;i<datds.length;i++){
- usid=grabuserid(datds[i].innerHTML);
- datds[i].innerHTML+=makeLinks(usid);
- }
- return;
- }
- */
- // OK - PHOTO + SET - WORKING
- else if (document.location.href.match('/photos/')) {
- dah3s=document.getElementsByClassName('avatar person medium');
- if(dah3s.length){
- usid=dah3s[0].getAttribute('data-person-nsid');
- dah3s[0].innerHTML +=makeLinks(usid);
- }
- }
- // TEST ALBUM (Originaly WORKING FOR SETS) - NOT WORKING - STRange work in Console
- else if (document.location.href.match('/albums/')) {
- dah3s=document.getElementsByClassName('avatar person medium');
- if(dah3s.length){
- usid=dah3s[0].getAttribute('data-person-nsid');
- dah3s[0].innerHTML +=makeLinks(usid);
- }
- }
- // people who favourited this photo page
- else if (location.href.match(/\/[0-9]+\/favorites\/$/)) {
- datds=document.getElementById('faves-right').getElementsByTagName('li');
- for (i=0;i<datds.length;i++){
- usid=grabuserid(datds[i].innerHTML);
- datds[i].innerHTML+=makeLinks(usid);
- }
- return;
- }
- // galleries pages - PB
- else if (location.href.match(/\/galleries\//)) {
- //curated image owners
- datds=document.getElementsByClassName('curator_chunk');
- for (i=0;i<datds.length;i++) {
- usid=grabuserid(datds[i].parentNode.parentNode.getElementsByClassName('curator_icon')[0].innerHTML);
- //win.console.log(usid);
- datds[i].getElementsByTagName('p')[1].innerHTML=datds[i].getElementsByTagName('p')[1].innerHTML+ ' ' + makeLinks(usid) ;
- }
- //commenters
- cowners=getElementsByClassName('HeyBuddy');
- ccontents=getElementsByClassName('Comment');
- for(x=0;x<cowners.length;x++) {
- buddyid=grabuserid(cowners[x].innerHTML);
- ccontents[x].innerHTML=ccontents[x].innerHTML.replace('says:', makeLinks(buddyid) + 'says:');
- }
- }
- // Add fpm links to header of photostream pages
- addfpmtophotostreamandprofileheader();
- // widget is section for owner of photo - only on old style photo page
- original = getElementsByClassName('Widget');
- if (original[0]) {
- originalID = grabuserid(original[0].innerHTML);
- if (originalID != 'undefined') {
- aspan=document.createElement('span');
- aspan.innerHTML=' ' + makeLinks(originalID);
- original[0].appendChild(aspan);
- }
- }
- /*
- // owner of photo on new photo page layout
- original=document.getElementsByClassName("flickr-user");
- if (original[0]) {
- originalID = original[0].getAttribute('nsid');
- if (originalID != 'undefined') {
- aspan=document.createElement('span');
- aspan.innerHTML=makeLinks(originalID);
- //original[0].appendChild(aspan);
- document.getElementById('photo-story-attribution').parentNode.insertBefore(aspan,document.getElementById('photo-story-attribution').nextSibling)
- }
- }
- */
- /*
- // TEST PHOTO PAGE - NOT WORKING
- // .medium[data-person-nsid$="@N04"]
- original=document.getElementsByClassName('medium');
- if (original[0]) {
- originalID = original[0].getAttribute('data-person-nsid');
- if (originalID != 'undefined') {
- aspan=document.createElement('span');
- aspan.innerHTML=makeLinks(originalID);
- //original[0].appendChild(aspan);
- }
- }
- */
- //old style photo comments
- underphotonode = document.getElementById('DiscussPhoto');
- if (underphotonode) {
- cowners=getElementsByClassName('comment-owner');
- ccontents=getElementsByClassName('comment-content');
- for(x=0;x<cowners.length;x++) {
- buddyid=grabuserid(cowners[x].innerHTML);
- ccontents[x].innerHTML=ccontents[x].innerHTML.replace('says:', makeLinks(buddyid) + 'says:');
- }
- }
- //new style photo comments
- fpmlinks_newphotopage ();
- // OK - ACTIVITY - WORKING
- } else if (location.href.match(/\/activity/) || location.href.match(/recent\_activity\.gne/) || location.href.match(/photos\_comments\.gne/)) {
- // BEGIN deal with new /activity/ page
- // WORKING (location.href.match(/\/activity/)
- wholist=document.getElementsByClassName('act-who');
- for(x=0;x<wholist.length;x++) {
- buddyid=grabuserid(wholist[x].innerHTML);
- if(wholist[x].parentNode.getElementsByClassName('act-content').length)
- wholist[x].parentNode.getElementsByClassName('act-content')[0].innerHTML=wholist[x].parentNode.getElementsByClassName('act-content')[0].innerHTML.replace('said:', makeLinks(buddyid) + ' ' + 'said:');
- else
- wholist[x].parentNode.innerHTML=wholist[x].parentNode.innerHTML.replace('added ', makeLinks(buddyid) + ' ' + 'added ');
- }
- // END deal with new /activity page
- if(location.href.match(/photos\_comments\.gne/)) {
- datds=getElementsByClassName("Who");
- for(j=0;j<datds.length;j++) {
- buddyid = grabuserid(datds[j].innerHTML);
- datds[j].innerHTML += ' ' + makeLinks(buddyid);
- }
- }
- }
- // OK - CONTACTS PAGES - WORKING
- else if (location.href.match(/\/contacts/)) {
- ciconlist=document.getElementsByClassName("contact-list-bicon");
- cnamelist=document.getElementsByClassName("contact-list-name");
- for(x=0;x<ciconlist.length;x++) {
- //console.log(x);
- usid=grabuserid(ciconlist[x].innerHTML);
- lspan=document.createElement('span');
- lspan.style.display='inline';
- lspan.innerHTML=' ' + makeLinks(usid);
- theeh=cnamelist[x+1].getElementsByTagName('a')[0];
- theeh.parentNode.insertBefore(lspan, theeh.nextSibling);
- }
- // TEST CONTACTS 2 NOT WORK - - https://www.flickr.com/people/59474022@N04/contacts/
- /*
- else if (location.href.match(/\/contacts/)) {
- ciconlist=document.getElementsByClassName("PeopleResults");
- cnamelist=document.getElementsByClassName("Who>p>a");
- for(x=0;x<ciconlist.length;x++) {
- //console.log(x);
- usid=grabuserid(ciconlist[x].innerHTML);
- lspan=document.createElement('span');
- lspan.style.display='inline';
- lspan.innerHTML=' ' + makeLinks(usid);
- theeh=cnamelist[x+1].getElementsByTagName('a')[0];
- theeh.parentNode.insertBefore(lspan, theeh.nextSibling);
- }
- */
- // TEST CONTACTS USERS PAGE
- // https://www.flickr.com/people/66926995@N03/contacts/
- // END TEST
- }
- // FORUM / HELP
- else if (location.href.match(/flickr\.com\/help\/forum\//) || location.href.match(/flickr\.com\/groups\//)) {
- if(location.href.match("\/admin\/") && document.getElementById('MemberList')) {
- dah3s=document.getElementById('MemberList').getElementsByTagName('tr');
- for(i=1;i<dah3s.length;i++) {
- usid=grabuserid(dah3s[i].getElementsByTagName('td')[0].innerHTML);
- dah3s[i].getElementsByTagName('td')[1].innerHTML=dah3s[i].getElementsByTagName('td')[1].innerHTML.replace('</a>','</a> '+makeLinks(usid));
- }
- }
- // ADMIN PHOTO - 2021.02 - NOT WORK - https://www.flickr.com/groups/portrait-faces-master-view/admin/pending
- if(location.href.match("\/admin\/pending")) {
- dah3s=document.getElementsByClassName('gPendWho');
- for(i=0;i<dah3s.length;i++) {
- usid=grabuserid(dah3s[i].getElementsByTagName('a')[0].innerHTML);
- dah3s[i].innerHTML += '<br> ' + makeLinks(usid);
- }
- }
- // 2018 - TEST CONTACTS USER PAGE - NOT WOKING
- // https://www.flickr.com/people/24312830@N05/contacts/
- /*
- if(location.href.match("\/contacts\/")) {
- dah3s=document.getElementsByClassName('Who');
- for(i=0;i<dah3s.length;i++) {
- usid=grabuserid(dah3s[i].getElementsByTagName('a')[0].innerHTML);
- dah3s[i].innerHTML += '<br> ' + makeLinks(usid);
- }
- }
- */
- // WORKING
- // we must be in a forum/group
- // add pm icon to first post (special case)
- if (document.getElementById('DiscussTopic')) {
- dagoodstuff = document.getElementById('DiscussTopic');
- firstpostid = grabuserid(dagoodstuff.getElementsByClassName("Who")[0].innerHTML);
- //firstpostid = grabuserid(dagoodstuff.innerHTML);
- if (firstpostid == 'undefined')
- return;
- //dagoodstuff.getElementsByTagName('table')[0].getElementsByTagName('td')[1].getElementsByTagName('h4')[0].innerHTML = dagoodstuff.getElementsByTagName('table')[0].getElementsByTagName('td')[1].getElementsByTagName('h4')[0].innerHTML.replace('says:', makeLinks(firstpostid) + 'says:');
- getElementsByClassName('Said')[0].getElementsByTagName('h4')[0].innerHTML = getElementsByClassName('Said')[0].getElementsByTagName('h4')[0].innerHTML.replace('says:', makeLinks(firstpostid) + 'says:');
- }
- else
- return;
- // add pm icon to replies
- var tables = document.getElementsByTagName('table');
- for (i=0, l=tables.length; i<l; i++) {
- if (tables[i].className == 'TopicReply') {
- var tds = tables[i].getElementsByTagName('td');
- for (var j=0, xl=tds.length; j<xl; j++) {
- if (j%2 == 0) {
- buddyid = grabuserid(tds[j].innerHTML);
- //unsafeWindow.console.log(buddyid);
- } else {
- if (buddyid != 'undefined') {
- tds[j].getElementsByTagName('h4')[0].innerHTML = tds[j].getElementsByTagName('h4')[0].innerHTML.replace('says:', makeLinks(buddyid) + 'says:');
- }
- }
- }
- }
- }
- }
- else if (location.href.match(/flickr\.com\/people/)) {
- addfpmtophotostreamandprofileheader()
- /*
- budtd=getElementsByClassName('Buddy');
- usid=grabuserid(budtd[0].innerHTML);
- inftd=document.getElementsByTagName('h1')[0];
- inftd.innerHTML=inftd.innerHTML + " <span style='font-weight:normal;font-size:11px'>" + makeLinks(usid) + "</span>";
- */
- }
- /*
- else if (location.href.match("messages_sent_read")) {
- dah3s=document.getElementsByTagName('h3');
- for (i=0;i<dah3s.length;i++)
- if(dah3s[i].innerHTML.match('buddyicons')){
- usid=grabuserid(dah3s[i].innerHTML);
- dah3s[i].innerHTML=dah3s[i].innerHTML+ " <span style='font-weight:normal;font-size:11px'>" + makeLinks(usid) + "</span>";
- }
- }
- else if (location.href.match("messages_read")) {
- dah3s=document.getElementsByClassName('clearfix');
- if(dah3s[0].innerHTML.match('buddyicons')){
- usid=grabuserid(dah3s[0].innerHTML);
- dah3s[0].innerHTML+= " <span style='font-weight:normal;font-size:11px'>" + makeLinks(usid) + "</span>";
- }
- }
- */
- // MAIL - OK
- else if (location.href.match(/\/mail\//)) {
- dah3s=document.getElementsByClassName('flickr-user flickrmail-to');
- if(dah3s.length){
- usid=dah3s[0].getAttribute('nsid');
- dah3s[0].innerHTML += "<br/><span style='font-weight:normal;font-size:11px'>" + makeLinks(usid) + "</span>";
- }
- }
- else if (location.href.match(/\/search\//)) {
- if(location.href.match(/\/groups\//) || location.href.match(/\/forum\//)) {
- if(!location.href.match('&m=pool')) {
- datds=document.getElementsByTagName('td');
- for (i=0;i<datds.length;i++)
- if(datds[i].getAttribute('class')=='Who') {
- usid=grabuserid(datds[i].innerHTML);
- datds[i+1].getElementsByTagName('b')[0].innerHTML=datds[i+1].getElementsByTagName('b')[0].innerHTML.replace('says:', ' ' + makeLinks(usid) + 'says:');
- }
- }
- else {
- datds=document.getElementsByClassName('PicFrom');
- for (i=0;i<datds.length;i++) {
- usid=grabuserid(datds[i].innerHTML);
- datds[i].getElementsByTagName('b')[0].innerHTML += ' ' +makeLinks(usid);
- }
- }
- }
- else if (location.href.match(/\/search\/people\//)) {
- datds=document.getElementsByTagName('td');
- for (i=0;i<datds.length;i++)
- if(datds[i].getAttribute('class')=='Icon') {
- usid=grabuserid(datds[i].innerHTML);
- datds[i+1].getElementsByTagName('div')[0].innerHTML= datds[i+1].getElementsByTagName('div')[0].innerHTML + makeLinks(usid);
- }
- }
- else {
- datds=getElementsByClassName('ListBuddyIconThings'); // must be a photo search...
- for (i=0;i<datds.length;i++)
- {
- usid=grabuserid(datds[i].innerHTML);
- datds[i].parentNode.getElementsByTagName('h3')[0].getElementsByTagName('small')[0].innerHTML += ' ' + makeLinks(usid);
- }
- }
- }
- //var FPMEndTime=new Date();
- //var FPMExecutionTime=FPMEndTime-FPMStartTime;
- //document.body.appendChild(document.createTextNode('FlickrPM Execution Time = ' + FPMExecutionTime + 'ms'));
- // END Flickr PM Code
- })();
Add Comment
Please, Sign In to add comment