Show current user agent string in troubleshooting guide (#1049)

This commit is contained in:
arkon 2023-09-22 01:45:33 -04:00 committed by GitHub
parent a71c53f1a0
commit c43aec93a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,10 @@ titleTemplate: Guides
description: Facing source or app issues? Here's how to troubleshoot. description: Facing source or app issues? Here's how to troubleshoot.
--- ---
<script setup>
const userAgent = navigator.userAgent;
</script>
# Troubleshooting # Troubleshooting
Facing source or app issues? Here's how to troubleshoot. Facing source or app issues? Here's how to troubleshoot.
@ -80,10 +84,15 @@ While some sources have specific user agent strings, most rely on the app's defa
::: info Changing your user agent ::: info Changing your user agent
1. Navigate to <nav to="advanced">. 1. Navigate to <nav to="advanced">.
1. Modify **Default user agent string** to another value. You may need to experiment to find one that works. 1. Modify **Default user agent string** to another value. You may need to experiment to find one that works.
> [Here's a reference](https://www.whatismybrowser.com/guides/the-latest-user-agent/).
1. Restart the app and retry source access. 1. Restart the app and retry source access.
::: :::
::: tip User agent strings
Your current user agent: `{{userAgent}}`
You can also refer to [this website](https://www.whatismybrowser.com/guides/the-latest-user-agent/) for more references.
:::
::: tip Did these methods not work? ::: tip Did these methods not work?
Wait for the source to lower its protection or switch to different sources. Wait for the source to lower its protection or switch to different sources.
::: :::