halo-sigs / halo-sigs/plugin-umami
umami.js被广告拦截插件屏蔽的问题
- Dominant language
- Java
- Stars
- 11
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
最近才注意到浏览器装了广告拦截插件,控制台出现报错,
经查询了解屏蔽插件是通过检测脚本文件名来拦截插件的,因此需要修改脚本名称。
后来修改脚本名称,**https://umami.域名.com/修改的名称.js**
发现不起作用,看了插件代码这一段,原来自动把后缀加上
就成了**https://umami.域名.com/修改的名称.js/umami.js**

建议:插件代码去掉umami.js,umami后台后src那边本来就是全的吗,直接复制就行

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the plugin code that constructs the Umami script URL and compare it with the Umami admin `src` value described in the issue. Reproduce the ad-blocking failure with a renamed script, then verify that the generated URL no longer appends `umami.js` and that the integration still loads correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100