Error: JSON while import text file

Ask for help about NoScript, no registration needed to post
Redback813
Posts: 7
Joined: Sun Jun 23, 2019 5:52 pm
Location: Australia

Error: JSON while import text file

Post by Redback813 »

I'm running both Firefox and Brave as browsers with noscript as add-ons and it works well in both browsers however there must have been an update but when I don't know given the browsers are set to automatically update the add-ons. This current version of noscript for both browsers is having an issue with import, import from backup works fine however import from a text file with a list of domains is the issue since I have been able to do import with a list of domains for years up until now but now a error msg below.

Firefox = 84.0.2
Brave = Version 1.19.86 Chromium: 88.0.4324.96

For both Browsers
Noscript = 11.1.9

Errors are:
Brave : Error: Unexpected token a in JSON at position 0
Firefox : Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Sample of the list of the text file.

Code: Select all

pool.bbc.52hash.com
ssc.api.bbc.co
www.bbc.co
a1.api.bbc.co.uk
boomr.iplayer.api.bbc.co.uk
fig.bbc.co.uk
sa.bbc.co.uk
stats.bbc.co.uk
visualscience.external.bbc.co.uk
sa.bbc.com
ssa.bbc.com
ssc.api.bbc.com
tps.bbc.com
stats.bbc.net.uk
bbc2proxy.blogspot.com.au
bbci.co.uk
mybbc-analytics.files.bbci.co.uk
r.bbci.co.uk
pool.bbc.cnpool.cc
pool.ukr01.bbc.cnpool.cc
www.bbc.hashhot.com
Last edited by barbaz on Thu Jan 21, 2021 3:59 pm, edited 1 time in total.
Reason: wrap text file sample in code tags
Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0