When the "Selection Highlighter" plugin is installed, the call here fails with something similar to the following:
SyntaxError: Unexpected non-whitespace character after JSON at position 2074
at JSON.parse (<anonymous>)
at inject.js:166:21
When I went into the console to run document.body.textContent.trim(), I saw the following extra bits at the end of what should've been just the JSON content:
When the "Selection Highlighter" plugin is installed, the call here fails with something similar to the following:
When I went into the console to run
document.body.textContent.trim()
, I saw the following extra bits at the end of what should've been just the JSON content:I think this could be resolved by changing this:
to something like: