{"id":18406380,"url":"https://github.com/doublesecretagency/craft-cpjs","last_synced_at":"2025-09-08T12:32:15.517Z","repository":{"id":17971550,"uuid":"20969822","full_name":"doublesecretagency/craft-cpjs","owner":"doublesecretagency","description":"Control Panel JS plugin for Craft CMS","archived":false,"fork":false,"pushed_at":"2024-03-12T02:31:10.000Z","size":726,"stargazers_count":43,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"v3-dev","last_synced_at":"2024-12-27T02:09:37.088Z","etag":null,"topics":["control-panel-js","craft","craftcms","javascript"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doublesecretagency.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2014-06-18T16:40:47.000Z","updated_at":"2024-06-25T18:30:23.000Z","dependencies_parsed_at":"2023-01-13T19:36:07.673Z","dependency_job_id":null,"html_url":"https://github.com/doublesecretagency/craft-cpjs","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublesecretagency%2Fcraft-cpjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doublesecretagency","download_url":"https://codeload.github.com/doublesecretagency/craft-cpjs/tar.gz/refs/heads/v3-dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232308556,"owners_count":18503119,"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":["control-panel-js","craft","craftcms","javascript"],"created_at":"2024-11-06T03:08:44.929Z","updated_at":"2025-01-03T08:13:29.558Z","avatar_url":"https://github.com/doublesecretagency.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"left\" src=\"https://raw.githubusercontent.com/doublesecretagency/craft-cpjs/v2/src/icon.svg\" alt=\"Plugin icon\"\u003e\n\n# Control Panel JS plugin for Craft CMS\n\n**Add custom JS to your Control Panel.**\n\n---\n\nEasily insert additional JavaScript into the Craft Control Panel.\n\nAfter installing the plugin, go to:\n\n- **Settings \u003e Control Panel JS**\n\nYour custom JavaScript can be saved in either (or both) of two places:\n\n**1) An external file in your public directory...**\n![](src/resources/img/example-jsFile.png)\n\n**2) The \"Additional JavaScript\" field on the settings page...**\n![](src/resources/img/example-additionalJs.png)\n\nYou can customize your JavaScript in any way you see fit!\n\n---\n\n## File Hashing\n\nTo ensure you get the freshest version of your JS, a cache-busting hash is appended to the end of each file reference.\n\nThis can be disabled by setting `cacheBusting` to **false** in the [PHP config file](https://github.com/doublesecretagency/craft-cpjs/blob/v2/src/config.php)...\n\n```php\n// Disable hash-based cache busting\n'cacheBusting' =\u003e false\n```\n\nSee config file for usage instructions.\n\n---\n\n## Anything else?\n\nWe've got other plugins too!\n\nCheck out the full catalog at [plugins.doublesecretagency.com](https://plugins.doublesecretagency.com)\n\n**On behalf of Double Secret Agency, thanks for checking out our plugin!** 🍺\n\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"130\" src=\"https://www.doublesecretagency.com/resources/images/dsa-transparent.png\" alt=\"Logo for Double Secret Agency\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoublesecretagency%2Fcraft-cpjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoublesecretagency%2Fcraft-cpjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoublesecretagency%2Fcraft-cpjs/lists"}