Injection of "external_api.js" gives an error if current URL has hash
See original GitHub issue- Go to http://example.com/#foo
- Inject external_api.js
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://meet.jit.si/external_api.js';
document.head.appendChild(script);
->
Failed to parse URL parameter value: undefined SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at parseURLParams.js:36
at Array.forEach (<anonymous>)
at parseURLParams.js:22
at Object.<anonymous> (parseURLParams.js:49)
at n (bootstrap f6c4a3330d78cd454e30:19)
at Object.<anonymous> (index.js:3)
at Object.<anonymous> (external_api.js:693)
at n (bootstrap f6c4a3330d78cd454e30:19)
at Object.<anonymous> (index.js:3)
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
URL parameters in urls with hashtag lead to errors in helpers.js
Description: In a vue.js powered app using the vue router in hash mode ... Injection of "external_api.js" gives an error if current URL...
Read more >How can you check for a #hash in a URL using JavaScript?
I have some jQuery/JavaScript code that I want to run only when there is a hash ( # ) anchor link in a...
Read more >URL.hash - Web APIs - MDN Web Docs
The hash property of the URL interface is a string containing a '#' followed by the fragment identifier of the URL.
Read more >How to load a #hash fragment to an anchor name in react ...
A hash fragment in the URL (i.e. www.mypage.com/article#fragment) to the anchor name is the value of either the name or id attribute when...
Read more >How To Secure Node.js Applications with a Content Security ...
Attackers use this exploit to maliciously inject scripts to the page, which are then executed because the browser has no way of determining...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
See https://github.com/jitsi/jitsi-meet/issues/8532