Closed bropines closed 2 weeks ago
I guess either you're looking for a mistake by the sweat of your brow, or you just forgot)
@bropines thank you for the long wait!
Could you please share the link you are trying to add the script from?
I tried adding the script using the link and also using the file - the import works correctly
I used to test this script, you can try adding it for comparison
But I don’t want anything @maxikuzmin . For some reason your script is added, but mine doesn’t even want to be added from the file.
@bropines there must be something wrong with your file. Check the file format (it should be .js) Maybe the file path or link path has changed, check that too.
Anyway, the problem is not in the application but in the file/link, otherwise other scripts would not be added as well
So, no, it wasn't fixed. It’s not even imported from a file, but for the developer (whom I mentioned here) everything magically works. And the question is, either I’m schizoid, or something is broken.
It should be related to @resource
.
After switching to jsdelivr, scripts can be imported through local files. Is this caused by network issues? However, if I use a URL to import, it can be successfully imported without switching to jsdelivr.
@maxikuzmin you can add logging (or tell me how to debug) that the import does not work because of the script itself, or the Internet. Now if I write complete nonsense in the script it will just write that the path to the file is not correct, which is quite confusing.
Please answer the following questions for yourself before submitting an issue
AdGuard version
4.5.16
Environment
HTTPS filtering
Root access
Integration with AdGuard VPN
Routing mode
Local VPN
Ad Blocking
No response
Privacy
No response
Social
No response
Annoyances
No response
Security
No response
Language-specific
No response
Other
No response
Which DNS server do you use?
AdGuard DNS
DNS protocol
None
Custom DNS
No response
What Stealth Mode options do you have enabled?
No response
Issue Details
Steps to reproduce:
Expected Behavior
No response
Actual Behavior
It doesn't work)
Screenshots
Screenshot 1
![Screenshot_2024-06-08-09-17-08-749_com adguard android](https://github.com/AdguardTeam/AdguardForAndroid/assets/57861007/d9a5c14b-274d-4749-a8a1-8e1f92ccc3b2)Screenshot 2
![Screenshot_2024-06-08-09-23-06-989_com adguard android](https://github.com/AdguardTeam/AdguardForAndroid/assets/57861007/20d86a87-61fe-499a-b0a9-ad93f84af7cd)Additional Information
No response