Page 1 of 1
Is there a "Blacklist" I can add to?
Posted: Fri Mar 27, 2009 5:18 am
by Username
I noticed there is a "Whitelist" tab that allows you to add sites that you trust but there is no "Blacklist" that I know of. Is there a way to block untrusted sites without going to the sites themselves?
Any help is appreciated thank you!
Re: Is there a "Blacklist" I can add to?
Posted: Fri Mar 27, 2009 5:36 am
by GµårÐïåñ
Username wrote:I noticed there is a "Whitelist" tab that allows you to add sites that you trust but there is no "Blacklist" that I know of. Is there a way to block untrusted sites without going to the sites themselves?
Any help is appreciated thank you!
No blacklist ability without visiting but I believe Giorgio said he would expose that backend through the GUI in future releases, or he is considering it.
Re: Is there a "Blacklist" I can add to?
Posted: Fri Mar 27, 2009 5:58 am
by Nan M
Until there is a GUI
http://noscript.net/features#blacklist
Advanced users: even though the untrusted sites blacklist has no listing UI of its own, you can mass-edit it either modifying the noscript.untrusted about:config preference or using the Import/Export functionality of the NoScript Options|Whitelist panel, knowing that the untrusted entries are exported under an [UNTRUSTED] header.
Re: Is there a "Blacklist" I can add to?
Posted: Fri Mar 27, 2009 6:27 am
by GµårÐïåñ
I thought about recommending that but was not sure of the OP's level of experience and I didn't want to create a mess. So OP, please be careful and make sure you understand what it involves before modifying anything under about:config, there is no offense intended, just a warning in case you are not an advanced user. Good luck.
Re: Is there a "Blacklist" I can add to?
Posted: Fri Mar 27, 2009 6:32 am
by Username
Alrighty! Thanks for the help hopefully the GUI will be coming out soon it'd sure be helpful.
@GµårÐïåñ: I understand how to use about:config a tad bit. Thanks for your concern. C:
@Nan M: So you just list websites and separate them with a space?
Re: Is there a "Blacklist" I can add to?
Posted: Fri Mar 27, 2009 6:45 am
by Nan M
Username wrote:
@Nan M: So you just list websites and separate them with a space?
Your needs will govern what kind of protocols you want to list, but yes, essentially your list is that kind of string.
Rather than my typing all the protocols out, you could export your list and edit the [Untrusted] list which is at the bottom of the trusted list. That way, if you have already got some domains in the untrusted list, you can see the examples of the protocols you should add - and certainly a parrot copy can't hurt you until you come to grips with it.
At worst, something might break and all you have to do is edit the list better
Good luck.
Re: Is there a "Blacklist" I can add to?
Posted: Fri Mar 27, 2009 6:52 am
by Username
Oh I see I never knew what the "Export" and "Import" buttons were about. Thank you so much!
Re: Is there a "Blacklist" I can add to?
Posted: Fri Mar 27, 2009 7:02 am
by GµårÐïåñ
Username wrote:@GµårÐïåñ: I understand how to use about:config a tad bit. Thanks for your concern. C:
I meant no harm, I didn't know and that's why I apologized in advance. Good luck and yes the items are separated by a space in simple terms but you might have to tweak for various protocols as NanM suggested and if it breaks, you just have to try again. No biggie. Have fun.
Super-newbie method!
Posted: Fri Mar 27, 2009 7:57 am
by Tom T.
Just discovered this. (Gawd, how I love experimenting!) Export the whitelist as Nan said, to a text document on your desktop. (and maybe make a backup copy.) But instead of double-clicking to open in Notepad, which creates a messy blob, right-click the text file and "Open with... Wordpad". It will now open as a beautifully-formatted series of lines, one address to a line, left-aligned.
Scroll down past "Untrusted" and just type your site addresses in, one to a line, same as the others. Save > Import back in.
Mine looks like (in part)
[UNTRUSTED]
68.142.200.12
adrevolver.com
adshuffle.com
advertising.com
assoc-amazon.com
atdmt.com
badsite.com
youaddyourshere.com
andanotherhere.com
andsoonandsoforth.com
etc.com
Re: Super-newbie method!
Posted: Fri Mar 27, 2009 8:27 am
by Nan M
Tom T. wrote: "Open with... Wordpad". It will now open as a beautifully-formatted series of lines, one address to a line, left-aligned.

Every forum should have this thread
http://forums.informaction.com/viewtopic.php?f=18&t=168
Re: Super-newbie method!
Posted: Sat Mar 28, 2009 10:09 am
by Tom T.
Nan M, nice thread indeed. However, some people have different ideas about what is a "text editor". For example, go to your Fx Profile > NS extensions folder > components and observe noscriptService.js. Right-click and click "Edit". I get a messy blob (again), with many unrecognized characters. But if I right-click > Open with.. Wordpad, once again it is nicely formatted and aligned. (Now, if only I knew how to read or edit JavaScript, this would be useful.) My point is that XP seems to think Notepad is a .js editor; I find Wordpad better, but in either case, is a .js editor a "text" editor? I (d'uh) think of "text" as documents (.txt, .rtf, .doc, .odt). If I am incorrect, then your enlightenment would be appreciated as always, and also please clue the clueless on what type of tool a programmer uses to *compose* the .js (or XUL, XML, XYZ, Perl, Python, C, etc.) in the first place? Is it one of these simple tools, or some more specialized tool that makes programming, editing, debugging, etc. easier? Thanks!
Re: Is there a "Blacklist" I can add to?
Posted: Sat Mar 28, 2009 11:40 am
by Nan M
Hi Tom T,
The text editor thread seemed like a better place for the kinds of questions you're asking.
I'm always interested in people's text editor preferences - being a bit obsessed with text and file management efficiency - hence why I opened the thread when prompted by your singling out Wordpad, rather than taking it off topic in here.
The programmer's (linguist's) uses? Why not take it to the text editor thread and ask away? I'm not a linguist, except for knowing the usual linux and dos and applescript stuff. I use Vi because I can do everything textual very quickly within and between files. You just don't have to use the arrow keys, or for that matter clunky key combinations. It's a very beautifully built thing to use, once you get over the learning curve.
Wordpad is actually not a bad word processor.
Written on the proprietary OS X 10.3.9 TextEditor v1.3, which is a good little word processor
Re: Is there a "Blacklist" I can add to?
Posted: Sat Mar 28, 2009 2:07 pm
by therube
.txt & .js are two types of "plain text" files.
.doc is more of a "binary" type of file. It contains textual characters but also
binary formatting information. A text editor will fart when (trying to) edit a doc file because it will not understand the binary data in the file.
.rtf is somewhere in between. It is mainly a textual type file, but also includes
textual based formatting commands that are
interpreted by the editor. A "true" plain text editor generally will not understand how to parse an .rtf file correctly.
The main problem (& mainly for users of dumb MS "editors") with plain text files is that various OS's typically use different end-of-line characters. Could be CR or LF/CR or LF. Most text editors interpret the file & figure out which method is used, thereby presenting it properly to the users. Notepad does not read the EOL character properly in noscriptService.js, & so what it display is a "mess", a blob. Wordpad does parse the file correctly, so it looks "normal".
wipipedia: Newline
Programmer's editing tools
Posted: Sun Mar 29, 2009 7:16 am
by Tom T.
Awesome answer, therube, and explains why I found Wordpad so much better than Notepad for the human-readable code files. Thanks so much for your time and trouble to educate me. (Nan, I appreciate your thread and suggestion, but whereas I did indeed proselytize at your thread, I'm more asking questions here, so bear with me one more post, please. Thanks.)
therube, If I may trouble you only a little more, could you also answer: what exactly does one use to compose code in C(x), Perl, and all the other languages? Wordpad? Notepad, using its own EOL characters? Or are the more specialized tools that were mentioned (Komodo, e. g.) *required*, or merely preferred ("proselytized") by each individual programmer for its various advantages and disadvantages? I think this would complete my understanding of this issue. Thanks again in advance if you have time to answer.
p. s. I was surprised to find that the dreaded JScript script files, as well as VBS files, opened and read so easily in Wordpad. (These JScript files *are* the same as the JScript/JavaScript/ECMAscript etc. that we are here to block, correct? Or not?)
I find in the source code of this page
Code: Select all
<script type="text/javascript">
// <
Re: Is there a "Blacklist" I can add to?
Posted: Mon Mar 30, 2009 1:23 am
by GµårÐïåñ
Pure text is the best way to write any code. That's putting it simply. So if you are not using the original IDE of the application for writing the code which maintains the proper formatting, then as long as you avoid using Word or similar to write you code which adds alot of hidden/crap characters/formatting to the code and will run into issues, unless you save it in pure text format, use an editor, doesn't matter notepad, notepad++, programmer's notepad, or any of those tools. Just always be aware of editors that have rich text tendencies, as they might introduce anomalies in your code that might not be automatically filtered out.
The reason some text opened in pure text (like notepad) looks all garbled up is because when it was written, either intentionally or unintentionally by the virtue of the editor used, so the Cr/Lf was stripped or not honored. It happens. Just going between Linux and Windows text you sometimes run into that. Anyway this explanation was probably not helpful because I learned most of the nuances of this over time writing programs and never had to really think about it too much, so even though you know it, its hard to explain it sometimes.