{"id":27628518,"url":"https://github.com/fballiano/openmage-load-javascripts-on-intent","last_synced_at":"2025-07-13T09:34:24.707Z","repository":{"id":242428067,"uuid":"809491164","full_name":"fballiano/openmage-load-javascripts-on-intent","owner":"fballiano","description":"Load javascripts only when the user interacts with your OpenMage website","archived":false,"fork":false,"pushed_at":"2024-06-07T09:25:03.000Z","size":8,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T05:09:06.850Z","etag":null,"topics":["javascript","magento","magento-extension","magento-module","magento-module-free","openmage","openmage-extension","openmage-module","pagespeed","performance"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/fballiano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"fballiano","buy_me_a_coffee":"fballiano","custom":["https://paypal.me/fabrizioballiano"]}},"created_at":"2024-06-02T20:46:38.000Z","updated_at":"2025-04-24T16:26:10.000Z","dependencies_parsed_at":"2024-06-07T10:47:53.157Z","dependency_job_id":"fd602b10-896f-4cea-98bb-fd4c8fd94e19","html_url":"https://github.com/fballiano/openmage-load-javascripts-on-intent","commit_stats":null,"previous_names":["fballiano/openmage-load-javascripts-on-intent"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/fballiano/openmage-load-javascripts-on-intent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-load-javascripts-on-intent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-load-javascripts-on-intent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-load-javascripts-on-intent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-load-javascripts-on-intent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fballiano","download_url":"https://codeload.github.com/fballiano/openmage-load-javascripts-on-intent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-load-javascripts-on-intent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265120620,"owners_count":23714493,"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":["javascript","magento","magento-extension","magento-module","magento-module-free","openmage","openmage-extension","openmage-module","pagespeed","performance"],"created_at":"2025-04-23T14:17:57.692Z","updated_at":"2025-07-13T09:34:24.623Z","avatar_url":"https://github.com/fballiano.png","language":"PHP","funding_links":["https://github.com/sponsors/fballiano","https://buymeacoffee.com/fballiano","https://paypal.me/fabrizioballiano","https://www.buymeacoffee.com/fballiano","https://www.paypal.com/paypalme/fabrizioballiano"],"categories":[],"sub_categories":[],"readme":"OpenMage Load Javascripts On Intent\n=================================\n\n**THIS MODULE IS IN ALPHA STAGE AND IT'S NOT WORKING YET**\n\nWhat to obtain 100% PageSpeed score? Install this module then ;-)\n\nWhat does it do? it proceses the HTML of every page, converting all javascript to `text/plain`,\nactually avoiding them from being loaded by the browsers on page load. Then injects a small\njavascript that will load all the other scripts only when the user starts interacting with\nthe page (with a mouse movement, a click, a scroll or a few other events).\n\n\u003ctable\u003e\u003ctr\u003e\u003ctd align=center\u003e\n\u003cstrong\u003eIf you find my work valuable, please consider sponsoring\u003c/strong\u003e\u003cbr /\u003e\n\u003ca href=\"https://github.com/sponsors/fballiano\" target=_blank title=\"Sponsor me on GitHub\"\u003e\u003cimg src=\"https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#white\" alt=\"Sponsor me on GitHub\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.buymeacoffee.com/fballiano\" target=_blank title=\"Buy me a coffee\"\u003e\u003cimg src=\"https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black\" alt=\"Buy me a coffee\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.paypal.com/paypalme/fabrizioballiano\" target=_blank title=\"Donate via PayPal\"\u003e\u003cimg src=\"https://img.shields.io/badge/PayPal-00457C?style=for-the-badge\u0026logo=paypal\u0026logoColor=white\" alt=\"Donate via PayPal\" /\u003e\u003c/a\u003e\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\nNotes\n---------\n\nThis module should work with cookie management solutions (eg: CookieBot) that modify the `script` tags\nsetting them as `text/plain` and adding a `data-cookiesomething` attribute. In fact all `script` tags\nwith `text/plain` type and any `data-` will not be processed by the module, they will be skipped entirely.\n\nThis module also works with inline scripts.\n\nBackup!!!\n---------\nBackup everything while using this module!!!\nThis module is provided \"as is\" and I'll not be responsible for any data damage.\n\nInstallation\n------------\n\nWith composer:\n```shell\ncomposer require fballiano/openmage-load-javascripts-on-intent\n```\n\nWith modman:\n```shell\nmodman clone https://github.com/fballiano/openmage-load-javascripts-on-intent\n```\n\nCompatibility\n-------------\nOpenMage v19, OpenMage v20, Magento 1.9+\n\nSupport\n-------\nIf you have any issues with this extension, open an issue on GitHub.\n\nContribution\n------------\nAny contributions are highly appreciated. The best way to contribute code is to open a\n[pull request on GitHub](https://help.github.com/articles/using-pull-requests).\n\nDeveloper\n---------\nFabrizio Balliano  \n[http://fabrizioballiano.com](http://fabrizioballiano.com)  \n[@fballiano](https://twitter.com/fballiano)\n\nLicence\n-------\n[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)\n\nCopyright\n---------\n(c) Fabrizio Balliano\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffballiano%2Fopenmage-load-javascripts-on-intent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffballiano%2Fopenmage-load-javascripts-on-intent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffballiano%2Fopenmage-load-javascripts-on-intent/lists"}