Please note that the 'More games' button implementation is not needed anymore. We prefer games without this button, so please remove it from your game(s). At this moment the only type of branding that should be included is a Splash Screen.
You can use our API to get an object with information for your 'More games' or 'Back to website' buttons!
getMoreButton function will return an object containing the needed data for the branding button. The table below explains what data will be returned and the conditions per item. We prefer using a method where the callback
action is used.
var brandingButton = admeen("getMoreButton");
The following data will be returned by this function:
||When enabled is returning
false the buttons should not be shown, so you must remove it from the game. We use this option to hide the button on our whitelisted domains.
||The url for the button (will be # if
||Callback which can be used as button event listener. Assuming that you store the object data in a variable named
brandingButton you can use the following example (don't worry about double event firing, we took care of that):