{"id":15596268,"url":"https://github.com/v-checha/openiframe","last_synced_at":"2025-10-13T08:35:57.779Z","repository":{"id":41771775,"uuid":"206324873","full_name":"v-checha/openiframe","owner":"v-checha","description":"Build Iframe. Ignore X-Frame-Options, Content-Security-Policy, X-Content-Type-Options, X-Xss-Protection etc.","archived":false,"fork":false,"pushed_at":"2022-12-04T10:11:50.000Z","size":69,"stargazers_count":4,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T06:37:25.773Z","etag":null,"topics":["content-security-policy","iframe","iframe-api","protection","security","security-policy","x-content-security-policy","x-content-type-options","x-frame-options"],"latest_commit_sha":null,"homepage":null,"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/v-checha.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":"2019-09-04T13:23:43.000Z","updated_at":"2020-10-13T07:07:17.000Z","dependencies_parsed_at":"2023-01-22T23:16:37.439Z","dependency_job_id":null,"html_url":"https://github.com/v-checha/openiframe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/v-checha/openiframe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-checha%2Fopeniframe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-checha%2Fopeniframe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-checha%2Fopeniframe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-checha%2Fopeniframe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v-checha","download_url":"https://codeload.github.com/v-checha/openiframe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-checha%2Fopeniframe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014316,"owners_count":26085492,"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-13T02:00:06.723Z","response_time":61,"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":["content-security-policy","iframe","iframe-api","protection","security","security-policy","x-content-security-policy","x-content-type-options","x-frame-options"],"created_at":"2024-10-03T01:03:20.378Z","updated_at":"2025-10-13T08:35:57.758Z","avatar_url":"https://github.com/v-checha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [OpenIframe](https://github.com/ChechaValerii/openiframe#readme) 1.0.0 \nBuild ```\u003ciframe\u003e``` and ignore X-Frame-Options, Content-Security-Policy, X-Content-Type-Options, X-Xss-Protection etc. Normally such headers prevent embedding a web page in an ```\u003ciframe\u003e```\n\n* [Documentation](https://doxdox.org/ChechaValerii/openiframe#openiframe.es6.js)\n\n\n### openiframe.es6.js\n\n### Install\n```\n \u003cscript src=\"https://cdn.jsdelivr.net/gh/ChechaValerii/openiframe/openiframe.es6.js\"\u003e\u003c/script\u003e\n```\n#### OpenIframe(options) \n\nCreates an instance of OpenIframe.\n\n\n\n\n##### Parameters\n\n| Name | Type | Description |  |\n| ---- | ---- | ----------- | -------- |\n| options | `Object`  |  | \u0026nbsp; |\n| options.container | `DOM` `string`  | - css selector or DOM element | \u0026nbsp; |\n| options.width | `Number`  | - iframe width | \u0026nbsp; |\n| options.height | `Number`  | - iframe height | \u0026nbsp; |\n| options.append | `Boolean`  | - append iframe to container, prepend by default | \u0026nbsp; |\n| options.src | `String`  | - iframe src | \u0026nbsp; |\n\n\n\n\n##### Examples\n\n```javascript\nnew OpenIframe({\n   container: '#header',\n   height: 600,\n   width: 800\n   src: 'https://example.com',\n   append: true\n});\n```\n\n\n##### Returns\n\n\n-  iframe Element\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-checha%2Fopeniframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv-checha%2Fopeniframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-checha%2Fopeniframe/lists"}