ray-lothian / UserAgent-Switcher

A User-Agent spoofer browser extension that is highly configurable
https://webextension.org/listing/useragent-switcher.html
Mozilla Public License 2.0
970 stars 148 forks source link

bug: update from remote server not work #227

Closed whymesay closed 1 month ago

whymesay commented 1 month ago

It only takes effect for the first time and cannot be updated after saving

ray-lothian commented 1 month ago

It only checks for updates after browser start or after the remote address is being updated.

https://github.com/ray-lothian/UserAgent-Switcher/blob/master/v3/managed.js#L49

whymesay commented 1 month ago

It only checks for updates after browser start or after the remote address is being updated.-----------谷歌翻译-----------它仅在浏览器启动后或更新远程地址后检查更新。

https://github.com/ray-lothian/UserAgent-Switcher/blob/master/v3/managed.js#L49

remote address update? Even if there are changes in remote content transmission, it will not be updated?

whymesay commented 1 month ago

I have changed the remote content, but the address has not changed. However, whether I restart or manually click update from remote server, it will not change. Only click reset to save again

ray-lothian commented 1 month ago

Did you change json-guid? https://github.com/ray-lothian/UserAgent-Switcher/blob/master/v3/managed.js#L6

whymesay commented 1 month ago

Did you change json-guid? https://github.com/ray-lothian/UserAgent-Switcher/blob/master/v3/managed.js#L6-----------谷歌翻译-----------您更改了 json-guid 吗?

no,I changed guid, it's working now