MozillaZine

Knowledge Base

Talk about stuff specific to the site -- bugs, suggestions, and of course praise welcome.
LoudNoise
Moderator

User avatar
 
Posts: 40048
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Post Posted October 15th, 2014, 12:24 pm

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: 4415
Joined: May 13th, 2012, 10:43 am

Post Posted October 15th, 2014, 5:10 pm

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: 14420
Joined: May 3rd, 2007, 7:40 am
Location: US

Post Posted October 15th, 2014, 9:46 pm

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

TheVisitor
 
Posts: 4415
Joined: May 13th, 2012, 10:43 am

Post Posted October 16th, 2014, 2:18 am

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: 1
Joined: October 20th, 2014, 7:28 pm

Post Posted October 20th, 2014, 7:46 pm

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.

LoudNoise
Moderator

User avatar
 
Posts: 40048
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Post Posted October 28th, 2014, 7:11 am

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."

fswl1234

User avatar
 
Posts: 245
Joined: October 15th, 2003, 4:32 pm

Post Posted October 28th, 2014, 8:56 am

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: 1677
Joined: October 1st, 2014, 3:25 pm

Post Posted October 28th, 2014, 10:12 am

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
*Always* check the changelogs BEFORE updating that important software!

fswl1234

User avatar
 
Posts: 245
Joined: October 15th, 2003, 4:32 pm

Post Posted October 28th, 2014, 1:08 pm

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

mightyglydd

User avatar
 
Posts: 9030
Joined: November 4th, 2006, 7:07 pm
Location: Hollywood Ca.

Post Posted November 2nd, 2014, 3:44 am

The KB is currently down here...ERROR: The Requested URL could not be retrieved..
#KeepFightingMichael

LIMPET235
Moderator

User avatar
 
Posts: 37610
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted November 2nd, 2014, 5:12 am

She'sa alla finea nowsa. ;)
Ancient Amateur Astronomer
Win-7-HP/Intel® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-56.0.1/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.11.0.
RadioYachting.
(Always choose the "Custom" Install.)

mightyglydd

User avatar
 
Posts: 9030
Joined: November 4th, 2006, 7:07 pm
Location: Hollywood Ca.

Post Posted November 2nd, 2014, 7:26 am

Yes :)
#KeepFightingMichael

codefisher
Guest
 

Post Posted November 7th, 2014, 2:03 pm

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: 1
Joined: November 22nd, 2014, 1:40 pm

Post Posted November 22nd, 2014, 1:51 pm

(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: 1
Joined: December 2nd, 2014, 7:17 pm

Post Posted December 2nd, 2014, 7:39 pm

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.

Return to MozillaZine Site Discussion


Who is online

Users browsing this forum: No registered users and 0 guests