{"id":16209162,"url":"https://github.com/gilzoide/webgljsinjector","last_synced_at":"2025-10-28T23:31:50.674Z","repository":{"id":70590897,"uuid":"502714018","full_name":"gilzoide/WebGlJsInjector","owner":"gilzoide","description":"Import JavaScript code as \u003cscript\u003e tags in Unity WebGL builds' index.html file","archived":false,"fork":false,"pushed_at":"2022-06-12T19:58:57.000Z","size":4,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-21T11:09:34.063Z","etag":null,"topics":["postbuild","script","unity","web","webgl"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gilzoide.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-12T19:53:51.000Z","updated_at":"2024-11-28T06:57:36.000Z","dependencies_parsed_at":"2023-06-09T22:00:37.961Z","dependency_job_id":null,"html_url":"https://github.com/gilzoide/WebGlJsInjector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2FWebGlJsInjector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2FWebGlJsInjector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2FWebGlJsInjector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2FWebGlJsInjector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilzoide","download_url":"https://codeload.github.com/gilzoide/WebGlJsInjector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238741408,"owners_count":19522776,"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","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":["postbuild","script","unity","web","webgl"],"created_at":"2024-10-10T10:28:16.199Z","updated_at":"2025-10-28T23:31:50.372Z","avatar_url":"https://github.com/gilzoide.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebGL JS injector\nImport JavaScript code as `\u003cscript\u003e` tags in Unity WebGL builds' `index.html`\nfile.\n\nThis is a simpler alternative for HTML templates when you only need custom\n`\u003cscript\u003e` tags.\n\nThe new tags will be placed right before the last `\u003cscript\u003e` tag found in the\nHTML file, in the same order that they are found by `AssetDatabase`.\n\n\n## Installing\nInstall via [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui-giturl.html)\nusing this repository URL:\n```\nhttps://github.com/gilzoide/WebGlJsInjector.git\n```\n\n\n## Usage\n1. Create a file with the `.jstag` extension inside your `Assets` folder or UPM\n   packages\n2. (Optional) Add JavaScript code to this file, which will go inside the tag:\n```html\n\u003cscript\u003e\nCode will go here\n\u003c/script\u003e\n```\n3. (Optional) Add attributes in the import settings, which will go in the tag.\n   Example of attributes are `type=\"module\"` and `src=\"URL of some js lib in a CDN\"`\n```html\n\u003cscript Attributes will go here\u003e...\u003c/script\u003e\n```\n4. Build for WebGL 🛠\n5. (Optional) Open your `index.html` file in your code editor of choice to\n   check that the expected `\u003cscript\u003e` tags are there\n6. Enjoy 🎉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Fwebgljsinjector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilzoide%2Fwebgljsinjector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Fwebgljsinjector/lists"}