尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Provide a code area where you can inject CSS and JS to Matomo
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Inject your own HTML, CSS and JavaScript into every page of the Matomo interface, from a code editor that checks your syntax as you type.查看完整 README ↗Inject your own HTML, CSS and JavaScript into every page of the Matomo interface, from a code editor that checks your syntax as you type.
<body> tag and right before the closing </body> tag, through the native Template.bodyTop and Template.bodyBottom hooks<script type="application/ld+json">) errors, unclosed <script> and <style> tags, and code pasted without any tag. Problems are listed next to the field and never block savingCodeInjector.getCode returns the code and CodeInjector.setCode saves it (super user only, password confirmation required)<style> tag and JavaScript in a <script> tag.Only super users can see the page and edit the code. Once saved, the code runs in every page of the Matomo interface, for every user, including the login page. It is not added to the JavaScript tracker or to Tag Manager containers.
The code is stored in the Matomo database as a plugin system setting. The plugin itself sends nothing outside your Matomo instance, but the code you inject runs in the browser of every Matomo user: only paste code you understand and trust.
Openmost is an official Matomo Implementation Partner. When injected code grows beyond a few tweaks, we turn it into a custom Matomo plugin, built from a written spec, tested on the Matomo versions you run and maintained over time.
See the screenshots/ folder for the Code Injector page and its code editor.