Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码第922行存在逻辑错误,导致兼容Tampermonkey的其它脚本管理器无法获取Tokey #413

Open
examplecode opened this issue Sep 8, 2024 · 0 comments

Comments

@examplecode
Copy link

代码第922行存在逻辑错误,导致兼容Tampermonkey的其它脚本管理器无法获取Tokey, 其中922行 “if (!res.includes('authorize')“ 应该改为 " if (res.includes('authorize')“

            if (manageHandler === 'Tampermonkey' && base.getMajorVersion(manageVersion) >= 5) {
                openTab();
                return waitForToken();
            }
            let res = await base.getFinalUrl(pan.pcs[3]);
 
            if (!res.includes('authorize') && !res.includes('access_token=')) {
                openTab();
                return waitForToken();
            }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant