Knowledge Base

Talk about stuff specific to the site -- bugs, suggestions, and of course praise welcome.
User avatar
LoudNoise
New Member
Posts: 39900
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Re: Knowledge Base

Post by LoudNoise »

Merged to the KB thread.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
TheVisitor
Posts: 5469
Joined: May 13th, 2012, 10:43 am

Re: Knowledge Base

Post by TheVisitor »

Can this be moved to Tech or somewhere - the comments are tl;dr and who around here that knows what's what has already removed java....

viewtopic.php?f=38&t=2877359
rsx11m
Moderator
Posts: 14404
Joined: May 3rd, 2007, 7:40 am
Location: US

Re: Knowledge Base

Post by rsx11m »

^ guess you meant to post this in the moderation thread. Always watch which sticky is on top before posting. ;-)
TheVisitor
Posts: 5469
Joined: May 13th, 2012, 10:43 am

Re: Knowledge Base

Post by TheVisitor »

rsx11m wrote:^ guess you meant to post this in the moderation thread. Always watch which sticky is on top before posting. ;-)


*sigh* yes... sorry
rjl
Posts: 0
Joined: October 20th, 2014, 7:28 pm

Knowledge Base Access

Post by rjl »

Would like to edit - http://kb.mozillazine.org/Junk_Mail_Controls to include background / overview level info on DNS BLs, note that they are typically added ahead of Thunderbird (not included), how they can modify email subject lines, how Thunderbird filters can take it from there, etc.
User avatar
LoudNoise
New Member
Posts: 39900
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Re: Knowledge Base

Post by LoudNoise »

cellist.moz-

Your post is now here: viewtopic.php?f=11&t=2883689
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
User avatar
fswl1234
Posts: 245
Joined: October 15th, 2003, 4:32 pm

Re: Knowledge Base

Post by fswl1234 »

http://kb.mozillazine.org/Security_Policies

this doesn't work any more, since 31?
also, regarding the /New CSP (Content Security Policy) backend/, any docs?

for example, i used to suppress print dialog with
user_pref("capability.policy.default.Window.print", "noAccess");
how do i get it done now?

thanks
barbaz
Posts: 1504
Joined: October 1st, 2014, 3:25 pm

Re: Knowledge Base

Post by barbaz »

fswl1234 wrote:http://kb.mozillazine.org/Security_Policies

this doesn't work any more, since 31?
also, regarding the /New CSP (Content Security Policy) backend/, any docs?

for example, i used to suppress print dialog with
user_pref("capability.policy.default.Window.print", "noAccess");
how do i get it done now?

thanks

it's not working since v 29

"new" method would be to apply some script like the following to the page(s) you want to restrict, from a "content-document-global-created" observer

Code: Select all

Object.defineProperty(window, "print", {set:function(){}});

you can string multiple of those together for blocking multiple properties, e.g.:

Code: Select all

Object.defineProperty(window, "print", {set:function(){}});Object.defineProperty(window, "screen", {set:function(){}});

etc.

restrict only on certain domains:

Code: Select all

let domains={"thedom.ain":true, "otherdom.ain":true};if (domains[window.location.hostname]){Object.defineProperty(window, "print", {set:function(){}});}

(if "thedom.ain" and "otherdom.ain" are the sites you want to restrict; note that that code only takes domain literals but it's possible to re-work it to take suffixes too)

if you don't want to get into making an add-on, NoScript surrogates can do this:
install NoScript
go to about:config
create new string, name e.g. "noscript.surrogate.capshax.replacement", value is the code like above
create another new string, "noscript.surrogate.capshax.sources", value should be "@" followed by a pattern matching all the pages you want to restrict, say

Code: Select all

@^https?://

(matches all http(s) pages)

(you can replace "capshax" with another name if you like, as long as it's the same in replacement and sources)

hope that helps
User avatar
fswl1234
Posts: 245
Joined: October 15th, 2003, 4:32 pm

Re: Knowledge Base

Post by fswl1234 »

wow... they should've made it this complicated in the 1st place, then i wouldn't have bothered to try at all, lol
i'm an average user, dealing with one line in a text file is fine, this is way above me

many thanks for the detailed reply though! i hope someone else benefits from it
User avatar
mightyglydd
Posts: 9813
Joined: November 4th, 2006, 7:07 pm
Location: Hollywood Ca.

Re: Knowledge Base

Post by mightyglydd »

The KB is currently down here...ERROR: The Requested URL could not be retrieved..
#KeepFightingMichael and Alex.
User avatar
LIMPET235
Moderator
Posts: 39932
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Knowledge Base

Post by LIMPET235 »

She'sa alla finea nowsa. ;)
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
User avatar
mightyglydd
Posts: 9813
Joined: November 4th, 2006, 7:07 pm
Location: Hollywood Ca.

Re: Knowledge Base

Post by mightyglydd »

Yes :)
#KeepFightingMichael and Alex.
codefisher
Guest

Error on About protocol links

Post by codefisher »

I hope this is the right place to post this:

http://kb.mozillazine.org/About_protocol_links

about:cache?device=memory — Lists memory cache entries.
about:cache?device=disk — Lists disk cache entries.

Should read

about:cache?storage=memory — Lists memory cache entries.
about:cache?storage=disk — Lists disk cache entries.

It seems they changed this in some time, becuase I know what is there used to work, but obviously now does not.
naxa
Posts: 0
Joined: November 22nd, 2014, 1:40 pm

Re: Knowledge Base

Post by naxa »

(Not sure my previous post got through.)

I'd like to request access to the wiki in order to add [[Quote bars]] link to near the bottom of this section http://kb.mozillazine.org/Thunderbird_:_Tips_:_Disable_HTML_in_Incoming_Mail#Displaying_messages

I gather the purpose of the wiki is to share information. I have no history yet so I was hoping for an exception to let me do fixes like this as I go.
ckujau
Posts: 0
Joined: December 2nd, 2014, 7:17 pm

Installation directory MacOS X

Post by ckujau »

http://kb.mozillazine.org/Installation_ ... y#Mac_OS_X says:

> Examples of default installation directories (folders):
> Firefox /Applications/Firefox.app

...yet the real executable is stored underneath Contents/MacOS/ in that directory. This is different from other platforms, e.g. for Linux it's /usr/lib64/firefox and the firefox binary is located in that exact directory. Last I looked firefox.exe was stored in C:\Program Files\Mozilla Firefox.

So maybe the "Installation_directory" site should be corrected to state the installation directory for MacOSX to "/Applications/Firefox.app/Contents/MacOS"

This matters for things like http://kb.mozillazine.org/Locking_preferences - here one is advised to store a configuration file to the "installation directory" - but this won't work as the documented directory of "/Applications/Firefox.app" will not be correct.

Thanks,
Christian.
Locked