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

Add checksumming for external resources so that script works with security setting "Subresource Integrity" set to "Enforce". #45

Closed
dreirund opened this issue Feb 16, 2024 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dreirund
Copy link

You download external resources:

// @require             https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.4/dist/chatgpt-2.6.4.min.js
// @require             https://cdn.jsdelivr.net/npm/katex@0.16.7/dist/katex.min.js
// @require             https://cdn.jsdelivr.net/npm/katex@0.16.7/dist/contrib/auto-render.min.js
// @require             https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js

Can you please add security checksumming, so that this script still works with Tampermonkey's security setting "Subresource Integrity" set to "Enforce"?

Regards!

adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 17, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 17, 2024
@adamlui
Copy link
Member

adamlui commented Feb 17, 2024

Hey @dreirund I added it but a separate issue, as of few days ago, the answers are only returning on mobile for me, can you confirm it is the same for you?

@adamlui
Copy link
Member

adamlui commented Feb 18, 2024

Never mind I replaced the API endpoint and response parsing logic so it works on desktop too again

adamlui added a commit to KudoAI/googlegpt that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 18, 2024
adamlui added a commit that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 18, 2024
adamlui added a commit to KudoAI/bravegpt that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/chatgpt-auto-continue that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/chatgpt-auto-refresh that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/chatgpt-infinity that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/chatgpt-widescreen that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/autoclear-chatgpt-history that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/autoclear-chatgpt-history that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 18, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 18, 2024
@dreirund
Copy link
Author

dreirund commented Feb 18, 2024 via email

@dreirund
Copy link
Author

dreirund commented Feb 18, 2024 via email

adamlui added a commit to adamlui/ai-web-extensions that referenced this issue Feb 19, 2024
adamlui added a commit to KudoAI/bravegpt that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/chatgpt-widescreen that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/autoclear-chatgpt-history that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/chatgpt-infinity that referenced this issue Feb 19, 2024
@adamlui
Copy link
Member

adamlui commented Feb 19, 2024

I removed you @dreirund

adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/chatgpt-widescreen that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/chatgpt-auto-continue that referenced this issue Feb 19, 2024
adamlui added a commit to KudoAI/googlegpt that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/chatgpt-auto-refresh that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
adamlui added a commit to adamlui/userscripts that referenced this issue Feb 19, 2024
@adamlui adamlui closed this as completed Feb 19, 2024
adamlui added a commit to adamlui/autoclear-chatgpt-history that referenced this issue Feb 26, 2024
adamlui added a commit that referenced this issue May 5, 2024
[ImgBot] Optimize images ↞ [auto-sync from `adamlui/chatgpt-apps`]
@adamlui adamlui added enhancement New feature or request good first issue Good for newcomers labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants