Code embed for ebay?

(kontakt) #1


I’m looking for a good javascript framework for ebay.
Unfortunately, for security reasons, it is very difficult to find a js framework, which worked by ebay.
Normally you get an error message:

JavaScript (’’.cookie’’, ‘‘cookie(’’, ‘‘replace(’’, IFRAME, META oder includes)

I am currently using jsMorph ( I’ve obfuscated it and it works very well for me.
But now I want to use as far as possible hype. Hype is beautiful and comfortable.I 've tried several
times to obfuscated and then to embed hype js-files. It didn’t work out. I always get the same error message.
Is there any possibility to embed hype code by ebay? Is there any hope?


(Andrew) #2

Are you talking about as a developer, or a user that might want to use it in a shop ?

(Andrew) #3

Scrub that, apparently it’s not possible to do this directly. Ebay will not allow any third party sites to be seen.

(kontakt) #4

Hi Andrew,

I would use hype in my next shop.
But I have not tried this yet as a developer.

Javascript code should be embeded. I have done so in jsmorph.
Javascript from outside does not work.
Although css from outside on the other hand works fine.
I do not want to hurt ebay rights. I want to create my shop quickly and with many beautiful effects.
That’s all.
That’s why I’m looking for a solution how to work around this error message.


(Michael) #5

You can, if you sign in on ebay dev portal as developer - Then you’ll be able to use their API. You’ll have to create token to access ebay live site.

(Andrew) #6

That will not allow you to embed an iframe on your shop or listing. The api function is there to help you take things out of the eBay site. By accessing their database.

Nothing will let you add an iframe on their site. If you think of the possible uses there are huge security risks, let alone commercial risks for eBay.

(kontakt) #7

I will not embed iframe.
I only will use hype’s javascript framework.
These are only 2 files that are embedded in code.
These could be theoretically embedded either from outside or add in html code.
Can I do this as a developer on ebay?


(Andrew) #8

To load Hypes frame work, you would have to upload the files to Ebay. They do not allow cross domain origins, meaning you cannot host any file from another site/domain/IP, and use it on theres, if that is loading a Div, or an iFrame.

They have a dev program that allows you to use their API framework to get information from Ebay and use on 3rd party sites. Not the other way round.

You can only use the tools provided by Ebay :smile:

closed #9

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.