The hell?

Displaying 1 to 9 of 9 matches.
HeliRy
Member is a Silver contributor and has 2,500 - 9,999 Photo downloadsExclusive
Posted Thu Sep 19, 2013 11:57PM

Any ideas why this craziness below my post happens every time I try to post here???
HeliRy
Member is a Silver contributor and has 2,500 - 9,999 Photo downloadsExclusive
Posted Thu Sep 19, 2013 11:59PM
Of course, now it's not doing it. Figures lol. Anyways I was getting a huge trail of what looked like embedded code in my posts or some gobble-dee-gook. Meh, seems to have fixed itself.

window.jQ=jQuery.noConflict(true);(function main() {
// this part is...
// @copyright 2009, 2010 James Campos
// @license cc-by-3.0; http://creativecommons.org/licenses/by/3.0/
if (typeof GM_deleteValue == 'undefined') {

GM_addStyle = function(css) {
var style = document.createElement('style');
style.textContent = css;
document.getElementsByTagName('head')[0].appendChild(style);
}

GM_deleteValue = function(name) {
localStorage.removeItem(name);
}

GM_getValue = function(name, defaultValue) {
var value = localStorage.getItem(name);
if (!value)
return defaultValue;
var type = value[0];
value = value.substring(1);
switch (type) {
case 'b':
return value == 'true';
case 'n':
return Number(value);
default:
return value;
}
}

GM_log = function(message) {
console.log(message);
}

GM_openInTab = function(url) {
return window.open(url, "_blank");
}

GM_registerMenuCommand = function(name, funk) {
//todo
}

GM_setValue = function(name, value) {
value = (typeof value)[0] + value;
localStorage.setItem(name, value);
}
}
// end of James Campos' code


var dailySalesStats = {};
var columns = {
file:{},
uploaded:{link:"CreationDate"},
uploadDate:{link:"uploadDate",rest_link:"upload-date"},
elDate:{link:"date"},
lockedDate:{link:"LockedUntil",rest_link:"locked-until"},
approvalDate:{link:"ApprovalTime"},
editorial:{link:"editorial",name:"Editorial"},
collection:{link:"collection"},
views:{link:"Views"},
royalties:{link:"Royalty"},
dlsmo:{link:"AverageMonthlyDownloads"},
dls:{link:"DownloadCount",rest_link:"downloads"},
lastdl:{link:"LastDownload"},
lastedl:{link:"LastEDL"},
lasteplusdl:{link:"lasteplusdl"},
ratings:{link:"AverageRating"},
ppdl:{link:"PartnerDownloadCount"},
edit:{link:"fileID"},
comments:{link:"LastComment"}
};
var lastColumn=0;

var TAG="theasis_my_uploads_changes: ";
theasis_debug = function(data) {
console.log(TAG+data);
};
no_debug = function(data) {};
debug = no_debug;
setDebugMode = function() {
if (getVal("debug")) {
debug=theasis_debug;
} else {
debug=no_debug;
}
debug("debug mode enabled");
};
getTable = function(html) {
var restURLFormat = loc.indexOf("/my-uploads/")>-1 || loc.indexOf("/my-account/")>-1;
var table = restURLFormat ? jQ("table:first",html) : jQ(".data:first",html);
if (table.length==0) {
table = jQ(".reporttable:first",html);
}
return table;
};

doLoupe = function(e,imgEl,addStyle,toolBar,idList) {
undoLoupe();
var lImg=380;
var lBuffer=80;
var tSize=10+parseInt(getVal("thumbsize"));
var lMax=lImg+lBuffer;
if (!getVal("loupe")) return;
var loupeHeight=lMax;
var loupeWidth=lImg;
try {
loupeHeight = Math.min(lMax,Math.floor(lImg*imgEl.height()/imgEl.width()+lBuffer));
loupeWidth = Math.min(lImg,Math.floor(lImg*imgEl.width()/imgEl.height()));
} catch (err) {
// fall back to lMax and lImg - no worries!
debug("doLoupe: Falling back to default image sizes");
}
var l=toolBar ? 100 : imgEl.position().left+tSize;
var t=toolBar ? e.pageY : imgEl.position().top-jQ(window).scrollTop();
t=Math.max(t,lBuffer);
if (t > jQ(window).height()-loupeHeight) {
t = jQ(window).height()-loupeHeight-20;
}
var imgUrl=imgEl.attr('src').replace(//1//,'/2/');
var style = {position:"fixed",left:l,top:t,"z-index":"5000"};
var loupeContainer = jQ("<div id='theasis_myUploads_loupe'><table><tr><td id='theasisLastSaleLoupeCell1' style='vertical-align:top;'/><td id='theasisLastSaleLoupeCell2' style='vertical-align:top;'/></tr></table></div>").addClass("loupe").css(style);
if (addStyle) {
var extraStyle={background:"#2a3333",color:"#f6f6f6",padding:"10px",border:"solid 1px #000","z-index":"1000","-moz-box-shadow":"2px 1px 2px #888","-webkit-box-shadow":"2px 2px 2px #888","box-shadow":"2px 1px 2px #888"};
loupeContainer.css(extraStyle);
}
loupeContainer.hide();
loupeContainer.appendTo('body');
var loupe = jQ("<img>").attr({src:imgUrl});
loupe.appendTo(jQ("#theasisLastSaleLoupeCell1"));
try {
debug("doLoupe: idList length " + (idList?idList.length:"null idList"));
if (getVal("tenThumbs") && idList && idList.length>1) {
var extras=jQ("<table>").css({"border-width":"5px","border-spacing":"5px","border-style":"solid","border-color":"black"});
var eRow=jQ("<tr>");
for(var i=1; i<Math.min(10,idList.length); ++i) {
var imgCell = jQ("<td>").css({width:"70px",height:"70px","background":"url("+"http://i.istockimg.com/file_thumbview_approve/"+idList+"/1/) no-repeat center center","background-size":"cover","border-width":"5px","border-spacing":"5px","border-style":"solid","border-color":"black"});
imgCell.appendTo(eRow);
if (i%3==0) {
eRow.appendTo(extras);
eRow=jQ("<tr>");
}
}
eRow.appendTo(extras);
extras.appendTo(jQ("#theasisLastSaleLoupeCell2"));
jQ("<tr><td colspan='3' style='text-align:right;width:225px;font-size:120%;'>Previous DLs</td></tr>").appendTo(jQ("#theasisLastSaleLoupeCell2"));
}
} catch(e) {
console.log(e.message);
}
if (getVal("loupeTitle")) {
var title=imgEl.attr("title");
if(!title) {
title=imgEl.attr("alt");
}
if (!title || !title.match(/D/)) {
var altTitle=imgEl.closest("td").attr("title");
if (!altTitle) altTitle=imgEl.closest("a").attr("title");
if (altTitle) title=altTitle;
}
if (title) jQ("<h3>"+title+"</h3>").appendTo(loupeContainer);
}
if (getVal("loupeDescription")) {
var desc=imgEl.parent().siblings('a[href*="file_closeup_edit"]:first').attr("title");
if (desc) jQ("<div style='max-width:"+loupeWidth+"px;max-height:40px;'>"+imgEl.parent().siblings('a[href*="file_closeup_edit"]:first').attr("title")+"</div>").appendTo(loupeContainer);
}
loupeContainer.stop().show(100);
};
undoLoupe = function() {
jQ("#theasis_myUploads_loupe").remove();
};
resizeThumbs = function(addStyle,secondColumn,html) {
var colStr = secondColumn ? "td:eq(1)" : "td:first";
var table = getTable(html);
if (table.length) {
var size = getVal("thumbsize");
var rows = table.find("tr:gt(0)").each(function(){
var col1=jQ(this).find(colStr);
var thumb=col1.find("a:first").find("img:first");
var src=thumb.attr("src");
if (src.indexOf("/audio_play.png")==-1 && src.indexOf("/stock-audio-")==-1) {
thumb.css('width',size);
}
thumb.mouseenter(function(e){doLoupe(e,jQ(this),addStyle);}).mouseleave(function(){undoLoupe();});
});
}
};
reformatDates = function(html) {
var targetCols=["uploaded","lastdl","uploaddate","lockeddate","lastedl","approvaldate","eldate","lasteplusdl"];
var table = getTable(html);
if (table.length) {
var rows = jQ("tr:gt(0)",table);
var cols;
rows.each(function() {
cols = jQ(this).children('th, td');
for (var i=0;i<targetCols.length;++i) {
var cell=cols.eq(columns
HeliRy
Member is a Silver contributor and has 2,500 - 9,999 Photo downloadsExclusive
Posted Fri Sep 20, 2013 12:00AM
Ah-ha!!! Wtf is that??

window.jQ=jQuery.noConflict(true);(function main() {
// this part is...
// @copyright 2009, 2010 James Campos
// @license cc-by-3.0; http://creativecommons.org/licenses/by/3.0/
if (typeof GM_deleteValue == 'undefined') {

GM_addStyle = function(css) {
var style = document.createElement('style');
style.textContent = css;
document.getElementsByTagName('head')[0].appendChild(style);
}

GM_deleteValue = function(name) {
localStorage.removeItem(name);
}

GM_getValue = function(name, defaultValue) {
var value = localStorage.getItem(name);
if (!value)
return defaultValue;
var type = value[0];
value = value.substring(1);
switch (type) {
case 'b':
return value == 'true';
case 'n':
return Number(value);
default:
return value;
}
}

GM_log = function(message) {
console.log(message);
}

GM_openInTab = function(url) {
return window.open(url, "_blank");
}

GM_registerMenuCommand = function(name, funk) {
//todo
}

GM_setValue = function(name, value) {
value = (typeof value)[0] + value;
localStorage.setItem(name, value);
}
}
// end of James Campos' code


var dailySalesStats = {};
var columns = {
file:{},
uploaded:{link:"CreationDate"},
uploadDate:{link:"uploadDate",rest_link:"upload-date"},
elDate:{link:"date"},
lockedDate:{link:"LockedUntil",rest_link:"locked-until"},
approvalDate:{link:"ApprovalTime"},
editorial:{link:"editorial",name:"Editorial"},
collection:{link:"collection"},
views:{link:"Views"},
royalties:{link:"Royalty"},
dlsmo:{link:"AverageMonthlyDownloads"},
dls:{link:"DownloadCount",rest_link:"downloads"},
lastdl:{link:"LastDownload"},
lastedl:{link:"LastEDL"},
lasteplusdl:{link:"lasteplusdl"},
ratings:{link:"AverageRating"},
ppdl:{link:"PartnerDownloadCount"},
edit:{link:"fileID"},
comments:{link:"LastComment"}
};
var lastColumn=0;

var TAG="theasis_my_uploads_changes: ";
theasis_debug = function(data) {
console.log(TAG+data);
};
no_debug = function(data) {};
debug = no_debug;
setDebugMode = function() {
if (getVal("debug")) {
debug=theasis_debug;
} else {
debug=no_debug;
}
debug("debug mode enabled");
};
getTable = function(html) {
var restURLFormat = loc.indexOf("/my-uploads/")>-1 || loc.indexOf("/my-account/")>-1;
var table = restURLFormat ? jQ("table:first",html) : jQ(".data:first",html);
if (table.length==0) {
table = jQ(".reporttable:first",html);
}
return table;
};

doLoupe = function(e,imgEl,addStyle,toolBar,idList) {
undoLoupe();
var lImg=380;
var lBuffer=80;
var tSize=10+parseInt(getVal("thumbsize"));
var lMax=lImg+lBuffer;
if (!getVal("loupe")) return;
var loupeHeight=lMax;
var loupeWidth=lImg;
try {
loupeHeight = Math.min(lMax,Math.floor(lImg*imgEl.height()/imgEl.width()+lBuffer));
loupeWidth = Math.min(lImg,Math.floor(lImg*imgEl.width()/imgEl.height()));
} catch (err) {
// fall back to lMax and lImg - no worries!
debug("doLoupe: Falling back to default image sizes");
}
var l=toolBar ? 100 : imgEl.position().left+tSize;
var t=toolBar ? e.pageY : imgEl.position().top-jQ(window).scrollTop();
t=Math.max(t,lBuffer);
if (t > jQ(window).height()-loupeHeight) {
t = jQ(window).height()-loupeHeight-20;
}
var imgUrl=imgEl.attr('src').replace(//1//,'/2/');
var style = {position:"fixed",left:l,top:t,"z-index":"5000"};
var loupeContainer = jQ("<div id='theasis_myUploads_loupe'><table><tr><td id='theasisLastSaleLoupeCell1' style='vertical-align:top;'/><td id='theasisLastSaleLoupeCell2' style='vertical-align:top;'/></tr></table></div>").addClass("loupe").css(style);
if (addStyle) {
var extraStyle={background:"#2a3333",color:"#f6f6f6",padding:"10px",border:"solid 1px #000","z-index":"1000","-moz-box-shadow":"2px 1px 2px #888","-webkit-box-shadow":"2px 2px 2px #888","box-shadow":"2px 1px 2px #888"};
loupeContainer.css(extraStyle);
}
loupeContainer.hide();
loupeContainer.appendTo('body');
var loupe = jQ("<img>").attr({src:imgUrl});
loupe.appendTo(jQ("#theasisLastSaleLoupeCell1"));
try {
debug("doLoupe: idList length " + (idList?idList.length:"null idList"));
if (getVal("tenThumbs") && idList && idList.length>1) {
var extras=jQ("<table>").css({"border-width":"5px","border-spacing":"5px","border-style":"solid","border-color":"black"});
var eRow=jQ("<tr>");
for(var i=1; i<Math.min(10,idList.length); ++i) {
var imgCell = jQ("<td>").css({width:"70px",height:"70px","background":"url("+"http://i.istockimg.com/file_thumbview_approve/"+idList+"/1/) no-repeat center center","background-size":"cover","border-width":"5px","border-spacing":"5px","border-style":"solid","border-color":"black"});
imgCell.appendTo(eRow);
if (i%3==0) {
eRow.appendTo(extras);
eRow=jQ("<tr>");
}
}
eRow.appendTo(extras);
extras.appendTo(jQ("#theasisLastSaleLoupeCell2"));
jQ("<tr><td colspan='3' style='text-align:right;width:225px;font-size:120%;'>Previous DLs</td></tr>").appendTo(jQ("#theasisLastSaleLoupeCell2"));
}
} catch(e) {
console.log(e.message);
}
if (getVal("loupeTitle")) {
var title=imgEl.attr("title");
if(!title) {
title=imgEl.attr("alt");
}
if (!title || !title.match(/D/)) {
var altTitle=imgEl.closest("td").attr("title");
if (!altTitle) altTitle=imgEl.closest("a").attr("title");
if (altTitle) title=altTitle;
}
if (title) jQ("<h3>"+title+"</h3>").appendTo(loupeContainer);
}
if (getVal("loupeDescription")) {
var desc=imgEl.parent().siblings('a[href*="file_closeup_edit"]:first').attr("title");
if (desc) jQ("<div style='max-width:"+loupeWidth+"px;max-height:40px;'>"+imgEl.parent().siblings('a[href*="file_closeup_edit"]:first').attr("title")+"</div>").appendTo(loupeContainer);
}
loupeContainer.stop().show(100);
};
undoLoupe = function() {
jQ("#theasis_myUploads_loupe").remove();
};
resizeThumbs = function(addStyle,secondColumn,html) {
var colStr = secondColumn ? "td:eq(1)" : "td:first";
var table = getTable(html);
if (table.length) {
var size = getVal("thumbsize");
var rows = table.find("tr:gt(0)").each(function(){
var col1=jQ(this).find(colStr);
var thumb=col1.find("a:first").find("img:first");
var src=thumb.attr("src");
if (src.indexOf("/audio_play.png")==-1 && src.indexOf("/stock-audio-")==-1) {
thumb.css('width',size);
}
thumb.mouseenter(function(e){doLoupe(e,jQ(this),addStyle);}).mouseleave(function(){undoLoupe();});
});
}
};
reformatDates = function(html) {
var targetCols=["uploaded","lastdl","uploaddate","lockeddate","lastedl","approvaldate","eldate","lasteplusdl"];
var table = getTable(html);
if (table.length) {
var rows = jQ("tr:gt(0)",table);
var cols;
rows.each(function() {
cols = jQ(this).children('th, td');
for (var i=0;i<targetCols.length;++i) {
var cell=cols.eq(columns
Whiteway
Member is a Gold contributor and has 10,000 - 24,999 Photo downloadsMember is a contributor and has less than 250 Video downloadsExclusiveExclusive iStockphoto Videographer
Posted Fri Sep 20, 2013 1:38AM
Update your Greasemonkey scripts.

Alternatively, stop using them.
CaroleGomez
Member is a Diamond contributor and has 25,000 - 199,999 Photo downloadsMember is a contributor and has less than 250 Illustration downloadsExclusive
Posted Fri Sep 20, 2013 2:39AM
yeah, I had that too. It's your GreaseMonkey script, Theasis has fixed it on the updated version

(Edited on 2013-09-20 02:40:19 by CaroleGomez)
HeliRy
Member is a Silver contributor and has 2,500 - 9,999 Photo downloadsExclusive
Posted Wed Sep 25, 2013 12:00PM
Test...
ollo
Member is a Gold contributor and has 10,000 - 24,999 Photo downloadsMember is a contributor and has less than 250 Video downloadsMember is a Bronze contributor and has 250 - 2,499 Illustration downloadsExclusive
Posted Wed Sep 25, 2013 1:02PM

...passed


Congratulations
AF-studio
Member is a Bronze contributor and has 250 - 2,499 Photo downloadsMember is a Diamond contributor and has 25,000 - 199,999 Illustration downloadsExclusiveExclusive iStockphoto Illustrator
Posted Fri Oct 4, 2013 2:22AM
test
slobo
Member is a Diamond contributor and has 25,000 - 199,999 Photo downloadsMember is a contributor and has less than 250 Video downloadsMember is a Bronze contributor and has 125 - 1,249 Audio downloadsMember is a contributor and has less than 250 Illustration downloadsExclusiveExclusive iStockphoto Audio Artist
Posted Sat Oct 5, 2013 11:15AM
Posted By AF-studio:
test



Posted By HeliRy:
Test...

you know that you could delete posts once you realize that test passed?
This thread has been locked.
Displaying 1 to 9 of 9 matches.
Not a member?Join