No description
  • PHP 64.4%
  • JavaScript 30.8%
  • CSS 4.8%
Find a file
John Molakvoæ 25e1f023fd
Merge pull request #50 from nextcloud/automated/noid/master-update-workflows
[master] ci(actions): Update workflow templates from organization template repository
2026-05-21 14:30:10 +02:00
.github ci(actions): Update workflow templates from organization template repository 2026-05-21 12:26:42 +00:00
appinfo chore: make everything ready for a new release 2026-05-21 13:17:43 +02:00
css feat: migrate scripts to navite JS modules (jQuery was dropped by Nextcloud) 2026-05-20 21:50:40 +02:00
js feat: migrate scripts to navite JS modules (jQuery was dropped by Nextcloud) 2026-05-20 21:50:40 +02:00
lib refactor: migrate to event listeners to resolve deprecations 2026-05-20 22:26:01 +02:00
LICENSES chore: make everything ready for a new release 2026-05-21 13:17:43 +02:00
screenshots chore: make everything ready for a new release 2026-05-21 13:17:43 +02:00
templates feat: migrate scripts to navite JS modules (jQuery was dropped by Nextcloud) 2026-05-20 21:50:40 +02:00
tests refactor: migrate to event listeners to resolve deprecations 2026-05-20 22:26:01 +02:00
.gitignore chore: php-cs 2025-04-08 15:42:46 +02:00
.nextcloudignore chore: add krankerl config 2025-04-09 14:15:22 +02:00
.php-cs-fixer.dist.php fix: missing license 2025-04-08 21:42:20 +02:00
CHANGELOG.md chore: make everything ready for a new release 2026-05-21 13:17:43 +02:00
composer.json chore: bump PHP to v8.1 and add support for up to Nextcloud 34 2026-05-20 22:00:58 +02:00
composer.lock chore: bump PHP to v8.1 and add support for up to Nextcloud 34 2026-05-20 22:00:58 +02:00
krankerl.toml chore: add krankerl config 2025-04-09 14:15:22 +02:00
LICENSE Implement basic JSLoader 2017-02-23 01:08:30 -06:00
psalm.xml refactor: migrate to event listeners to resolve deprecations 2026-05-20 22:26:01 +02:00
README.md chore: make everything ready for a new release 2026-05-21 13:17:43 +02:00
REUSE.toml chore: make everything ready for a new release 2026-05-21 13:17:43 +02:00

JavaScript loader app for Nextcloud

JSLoader gives administrators a simple way to inject custom JavaScript into every Nextcloud page from one central place. It is useful for site-wide analytics, lightweight integrations, custom tracking snippets, or small UI enhancements that should apply across the whole instance.

Instead of modifying core files or managing separate app-specific scripts, you can maintain your JavaScript through the admin settings and keep the setup easy to review and update. The script is loaded automatically on page startup, so your code can hook into the browser after the page is ready.

How it works

Your custom JS code will be loaded as:

window.addEventListener('DOMContentLoaded', () => { /* YOUR_JS_CODE_HERE */ });

Make sure the code you enter is valid JavaScript and behaves well on all pages where it will run.

Contribute

All contributions are considered to be licensed under the "AGPLv3 or any later version".