ABE ruleset editor?

Ask for help about NoScript, no registration needed to post
Guest

ABE ruleset editor?

Post by Guest »

NoScript CHANGELOG
[...]
v 1.10
==========================================================================
+ ABE built-in ruleset editor
How would I access this built-in editor? When I edit my ABE rules, NS still launches Notepad.
Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: ABE ruleset editor?

Post by Giorgio Maone »

It just means you can edit the rules in places now (without hitting the "Edit" button), rather than launching an external editor which still remains an option.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
User avatar
piker
Posts: 7
Joined: Sat Mar 21, 2009 7:14 am
Location: Cyberspace
Contact:

Re: ABE ruleset editor?

Post by piker »

Not sure as of when, but (even latest NoScript version) at some point the Edit button on the ABE options menu stopped launching the given SYSTEM or USER rules in the editor previously configured with the noscript.abe.editor preference. Instead of pulling up (on Linux) /usr/bin/gvim (or even just gvim) like it used to, it seems to completely ignore noscript and want to launch C:\windows\system32\notepad.exe from within Wine.

Did the abe editor pointer get removed or lose priority in deciding to open one of the rule files? kind of at a loss here, I'd prefer the noscript.abe.editor choice to be priority when hitting the Edit button on the ABE options menu rather then having to rely on just the built-in ABE editor (which btw, thanks for implementing that too, its great for quick edits without having to launch an
editor even though it lacks some depth, keeping it simple is best though)...

thanks in advance...
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.14) Gecko/20101006
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: ABE ruleset editor?

Post by Giorgio Maone »

piker wrote:Not sure as of when, but (even latest NoScript version) at some point the Edit button on the ABE options menu stopped launching the given SYSTEM or USER rules in the editor previously configured with the noscript.abe.editor preference. Instead of pulling up (on Linux) /usr/bin/gvim (or even just gvim) like it used to, it seems to completely ignore noscript and want to launch C:\windows\system32\notepad.exe from within Wine.
Please check whether Notepad is currently configured as the handler for the "application/x-abe-rules" mime type or the ".abe" file extension either at the OS level (does Wine maintain is own Windows-like file associations registry?) or in Firefox's File|Preferences|Applications.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
User avatar
piker
Posts: 7
Joined: Sat Mar 21, 2009 7:14 am
Location: Cyberspace
Contact:

Re: ABE ruleset editor?

Post by piker »

I don't know where or how the mime-type application/x-abe-rules would have been introduced into any of the Linux or GNOME mime types (yet) .. but yeah, I thought of looking under the helper applications too (I'm running Seamonkey btw, 2.0.9 now) ...
I suppose its possible that a Wine install somehow took priority over unknown mime-types, except I haven't seen anything similar happen with other unknown types...

Ultimately, if I need to, I can add the mime type and association at system level and/or under helper apps in the browser.. Does this mean that the configurable ABE external editor preference was actually dropped though or what?

Thanks for the quick response as usual btw!
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.14) Gecko/20101006
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: ABE ruleset editor?

Post by therube »

In Windows, if you click on an unknown file type (which an .abe is initially), you are prompted for the application to use to open it with. (Win32pad in my case.) You can then save that as the default handler. (There are no settings within SeaMonkey Preferences pertaining to "abe".)

Linux have similar?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20101008 Firefox/4.0b7pre SeaMonkey/2.1b1
User avatar
piker
Posts: 7
Joined: Sat Mar 21, 2009 7:14 am
Location: Cyberspace
Contact:

Re: ABE ruleset editor?

Post by piker »

[quote="therube"]In Windows, if you click on an unknown file type (which an [i].abe[/i] is initially), you are prompted for the application to use to open it with. (Win32pad in my case.) You can then save that as the default handler. (There are no settings within SeaMonkey Preferences pertaining to "abe".)

Linux have similar?[/quote]

Unfortunately nope, neither. I apparently have to edit /etc/mime.types and/or /etc/mailcap or add the mime type manually to Seamonkey's mimeTypes.rdf
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.14) Gecko/20101006
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: ABE ruleset editor?

Post by dhouwn »

therube wrote:In Windows, if you click on an unknown file type (which an .abe is initially),
File endings play much less of a role in most unixoid OS.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10
Post Reply