{"id":15050441,"url":"https://github.com/mozilla/inneractive","last_synced_at":"2025-10-04T13:31:05.942Z","repository":{"id":8362956,"uuid":"9928423","full_name":"mozilla/inneractive","owner":"mozilla","description":"INACTIVE - http://mzl.la/ghe-archive - Simple to use implementation of Inneractive API for Firefox OS","archived":true,"fork":false,"pushed_at":"2019-03-28T04:15:15.000Z","size":273,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-22T06:39:59.260Z","etag":null,"topics":["inactive","unmaintained"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mozilla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-08T04:33:34.000Z","updated_at":"2024-10-11T12:16:20.000Z","dependencies_parsed_at":"2022-08-07T04:00:59.622Z","dependency_job_id":null,"html_url":"https://github.com/mozilla/inneractive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mozilla/inneractive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Finneractive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Finneractive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Finneractive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Finneractive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozilla","download_url":"https://codeload.github.com/mozilla/inneractive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Finneractive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278321379,"owners_count":25967866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["inactive","unmaintained"],"created_at":"2024-09-24T21:26:31.233Z","updated_at":"2025-10-04T13:31:05.663Z","avatar_url":"https://github.com/mozilla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Inneractive Library\n\nThis library used the Inneractive platform to create an ad and place it in a webpage.\n\n### Usage\n\n#### Inneractive.createAd(options)\n\nThis method will create a new Ad instance based on the provided options. \n\n~~~javascript\nvar ad = Inneractive.createAd({\n\tAPP_ID: \"myAppId\",\n\tTYPE: \"Banner\" | \"Rectangle\" | \"Interstitial\",\n\tREFRESH_RATE: 30\n});\n~~~\n\n#### Options\n\n- `APP_ID`: Application ID generated through the inneractive console.\n- `REFRESH_RATE`: Time in seconds between rotating the ads. Should not be smaller than 15.\n- `TYPE`: The type of the ad. Can be Banner, Rectangle, or Interstitial. \n\n#### .placement(vertical, horizontal)\nPlace the ad at a fixed position on the webpage. Possible options for vertical are: `top`, `bottom` and `center`. Possible options for horizontal are `left`, `right` and `center`.\n\nYou may mix these two options or set one to `null` to leave as default.\n\n~~~javascript\nad.placement(\"bottom\", \"center\");\n~~~\n\n#### .addTo(node)\nAppend the ad to a DOM node in the tree. This is required for your ad to be visible. A simple use is to set the body of the webpage as the parent.\n\n~~~javascript\nad.addTo(document.body);\n~~~\n\n#### .remove()\nRemoves the ad container from the parent.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla%2Finneractive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmozilla%2Finneractive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla%2Finneractive/lists"}