Closed
Description
Describe the bug
angular-recorder throws an error when browser plugin is used.
To Reproduce
Steps to reproduce the behavior:
- Use Firefox with Change Geolocation add-on
- Open oppia.org
- The page won't load and there is an error in the console.
Desktop (please complete the following information; delete this section if the issue does not arise on desktop):
- OS: Ubuntu
- Browser: Firefox with Change Geolocation add-on
Additional context
This is caused by this part of angular-recorder code. It tries to retrieve the src attribute of the last script-import and since the plugin inserts <script>…</script>
without the src attribute it throws an error.