Black Hat Forum
Go Back   Black Hat Forum > Making Money Forum > Ebay

Ebay Discuss all of your Ebay auction tactics here. Note: Cookie Stuffing talk is NOT allowed here!

Search
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-29-2008, 03:35 AM
Orebil's Avatar
Junior Member
 
Join Date: Jul 2008
Location: USA
Posts: 126
Thanks: 19
Thanked 13 Times in 11 Posts
Activity: 15%
Longevity: 12%
Today: 0/5
Send a message via AIM to Orebil
Default Ebay somehow jailing Javascript?

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-29-2008, 03:47 AM
Essential Clix's Avatar
Administrator
 
Join Date: Jul 2007
Location: USA
Posts: 3,177
Thanks: 357
Thanked 931 Times in 297 Posts
Activity: 76%
Longevity: 43%
Today: 1/5
Default Re: Ebay somehow jailing Javascript?

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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-29-2008, 04:11 AM
fl*oorg0d's Avatar
Jr. VIP
 
Join Date: Apr 2008
Posts: 116
Thanks: 8
Thanked 24 Times in 9 Posts
Activity: 3%
Longevity: 20%
Today: 0/5
Default Re: Ebay somehow jailing Javascript?

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>
.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-29-2008, 04:14 AM
Essential Clix's Avatar
Administrator
 
Join Date: Jul 2007
Location: USA
Posts: 3,177
Thanks: 357
Thanked 931 Times in 297 Posts
Activity: 76%
Longevity: 43%
Today: 1/5
Default Re: Ebay somehow jailing Javascript?

I think I may have been mistaken. I think it was the "scramble text" script, not the no-right-click.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-29-2008, 05:25 AM
BANNED
 
Join Date: Jul 2008
Posts: 705
Thanks: 5
Thanked 121 Times in 88 Posts
Activity: 1%
Longevity: 11%
Today: 0/5
Default Re: Ebay somehow jailing Javascript?

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.

Code:
http://pages.ebay.com/help/policies/listing-javascript.html
Quote:
Your listing cannot contain javascript (".cookie", "cookie(", "replace(", IFRAME, META, or includes), cookies or base href.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-29-2008, 05:33 AM
tonlilah's Avatar
Jr. VIP
 
Join Date: Feb 2008
Posts: 668
Thanks: 55
Thanked 94 Times in 55 Posts
Activity: 51%
Longevity: 24%
Today: 1/5
Default Re: Ebay somehow jailing Javascript?

Quote:
Originally Posted by bhnoobz View Post
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.

Code:
http://pages.ebay.com/help/policies/listing-javascript.html
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-29-2008, 05:42 AM
BANNED
 
Join Date: Jul 2008
Posts: 705
Thanks: 5
Thanked 121 Times in 88 Posts
Activity: 1%
Longevity: 11%
Today: 0/5
Default Re: Ebay somehow jailing Javascript?

Quote:
Originally Posted by tonlilah View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-29-2008, 10:42 AM
Orebil's Avatar
Junior Member
 
Join Date: Jul 2008
Location: USA
Posts: 126
Thanks: 19
Thanked 13 Times in 11 Posts
Activity: 15%
Longevity: 12%
Today: 0/5
Send a message via AIM to Orebil
Default Re: Ebay somehow jailing Javascript?

Quote:
Originally Posted by bhnoobz View Post
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.

Code:
http://pages.ebay.com/help/policies/listing-javascript.html
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-09-2008, 09:48 PM
gragster's Avatar
Registered Member
 
Join Date: May 2008
Posts: 71
Thanks: 4
Thanked 4 Times in 4 Posts
Activity: 0%
Longevity: 16%
Today: 0/5
Default Re: Ebay somehow jailing Javascript?

Seems they are getting smarter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 08-10-2008, 07:25 AM
Jr. VIP
 
Join Date: Dec 2007
Posts: 338
Thanks: 0
Thanked 27 Times in 21 Posts
Activity: 9%
Longevity: 30%
Today: 0/5
Default Re: Ebay somehow jailing Javascript?

Orebil download and firebug and take a look at the dom window and see what is happening with the javascript
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
cookie stuffing , ebay , javascript

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Add Your Link



Site protected by Firewall Script


Sitemap: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47