Has anyone dug deep into ebay's JS code? It seems they're somehow jailing certain attributes and commands to prevent them from running. My JS debugger says the script is executing but nothing happens. It works fine off of ebay. I could dig through their code but it's rather extensive. Has anyone looked at it?
I know ebay prevents certain javascript functions from working properly, particularly the ones that used to make my no-right-click script work. They've been doing this for some time now. Not 100% sure if this is what you're talking about tho...
I don't know much at all about javascript, but I believe the following code still works on e*bay for disabling right click. At least it did last week when I removed it from an old auction template that I still had it on.
Code:
<SCRIPT language=javascript>
var message="Function Disabled!";
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false;")
</SCRIPT>
If you read the heading on the edit listing text when you create an auction you will see what javascript code they do not allow. You can enter it in but they will automagically remove it from your html codez. If you try to get tricky, they will probably warn you then shit can you.. I thought I was getting sneaky with some shit I was doing, but they caught on.
If you read the heading on the edit listing text when you create an auction you will see what javascript code they do not allow. You can enter it in but they will automagically remove it from your html codez. If you try to get tricky, they will probably warn you then shit can you.. I thought I was getting sneaky with some shit I was doing, but they caught on.
you know what? that only used to happen when i tried to revise some ebay auctions with auctiva ( when i was a member of auctiva) then i'd see all kinds of code that didn't exist before
interesting to get that kind of error with auctiva, eh?
you know what? that only used to happen when i tried to revise some ebay auctions with auctiva ( when i was a member of auctiva) then i'd see all kinds of code that didn't exist before
interesting to get that kind of error with auctiva, eh?
I looked at what auctiva does.. Man they load a ton of crap, a few flash things, a couple javascript shit to do stats and some flash gallery.. They are dirty. Too bad I didn't come up with something like that
If you read the heading on the edit listing text when you create an auction you will see what javascript code they do not allow. You can enter it in but they will automagically remove it from your html codez. If you try to get tricky, they will probably warn you then shit can you.. I thought I was getting sneaky with some shit I was doing, but they caught on.
Thanks but I can get my code past those filters. It gets into the auction fine but when the page loads the code does nothing. As far as I can tell ebay's own JS is blocking it from working.