mozilla

Compare Revisions

Midas editor module security preferences

Change Revisions

Revision 371773:

Revision 371773 by ethertank on

Revision 372621:

Revision 372621 by afbank on

Title:
Security preferences
Security preferences
Slug:
Midas/Security_preferences
Midas/Security_preferences
Tags:
"editor", "Midas", "Gecko", "Security"
"editor", "Security", "Gecko", "Midas"
Content:

Revision 371773
Revision 372621
n7    <p>n7    <table border="0" cellpadding="0" cellspacing="0" width="1000
 >px;">
8      To protect users' private information, unprivileged scripts8      <tbody>
> cannot invoke the Cut, Copy, and Paste commands in the Mozilla r 
>ich text editor, so the corresponding buttons on the <a href="htt 
>p://www-archive.mozilla.org/editor/midasdemo/" title="http://www- 
>archive.mozilla.org/editor/midasdemo/">Mozilla Rich Text Editing  
>demo page</a> will not work. To enable these functions for purpos 
>es of the demo, you must modify your browser preferences. 
9    </p>9        <tr>
10    <h2 id="Changing_the_preferences_in_Firefox">10          <td align="right">
11      Changing the preferences in Firefox11            <span style="background-color: rgb(51, 51, 51);"><img
 > alt="" class="rg_i" data-="" data-sz="f" height="84" name="eymfv
 >04TBPqvfM:" src="https://encrypted-tbn3.gstatic.com/images?q=tbn:
 >ANd9GcRKi7aE7h4SwfKVu8tzqeasmnXYqy-UrXQUoX8NcoaYFc6eueUT" style="
 >margin-left: 0px; margin-top: 0px;" width="91" id="eymfv04TBPqvfM
 >:"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img alt="" class=
 >"rg_i" data-sz="f" name="itWXwthq6j0uQM:" src="data:image/jpeg;ba
 >se64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBggGERUTEhQUERUWGBwYFxcY
 >FyMeHhsfHB0hHx4hHh8gJzIqIxknJSIbJDsqKic1LTYsIyE4NTAsNisrLSkBCQoKD
 >gwOGQ8PGjIlHiQqLy41KjQ1LikqMDUpLC8wMC8wLiwpLDU0LSwvLCksNS0xMCotKT
 >A1NCw1MyopLCkpLP/AABEIACgA4AMBIgACEQEDEQH/xAAbAAEAAgMBAQ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LiFJy5taU/YUVK8F
 >xrGqXMbWYvlt1WOKFphGsa4HmAIOSf/vTHr0/am5ZLC9tQhtld1a3jMobCkkvHyHZ
 >cBR29T+atesbCsNWkWYST28yqF8WJ+LMAMebocmpY9nRR27QG5u25OJDKZj4gIx2b
 >0Xp2xjvR8RGlXd27daFFe+n8+l2dw1u1n9leLEA3XIkUY6g57k4P/k1B9ToJbq/01
 >EcxMzOFcDJU8k6gHuRVq0LZtnokrTl5riZhxMszcmx7DAAA+Kx3Rsu13S8TtLNC8O
 >eDREA9ce4PXoO1ZWLBY2e+VeO34LXIp7Wl3tDVrZrmX783AMSSMMPH1A6KDjGWHxy
 >7evk1qPT9zC9ktbBJFQv4l1JLxPJVySi9c46Hvg5HTrV10j6f6dpkwuHee6mX+l55
 >ORX9DoKgP0y0rnKVkuEjlJZ4FkxGSfwBn4zj4rax4Xd80tdFr2JkplE1q7uL/SdLZ
 >nbn4/EPnzDHIKc/wDMOnX8VttwaBY7N1HTWtAYjLIUk8xPIZQdc+p5nPxVpk+nemS
 >20FsXl4W7+IhyMk5J69O3X2rY63taz16W3lkZw1uxdApGCSVPmyO3lH+af6I3S0+b
 >10GU5XuXUtS0vUtSa2VixiAZ17xp/p8m/fp+M59K6bsWy0izso/tPNGw5Fj/AFM3q
 >W/3Dtj0xipLbaNjbXc13l2edODq2CmPL6Y/2jufevu2tp2m1RIsLyFHbl4bEFVP+3
 >pntgd/QVzxcaM4KK2rry9ipUzd0pSvjNClKUApSlAKUpQClKUApSlAKUpQClKUApS
 >lAKUpQClKUApSlAKUpQClKUB//9k=" style="width:224px;height:40px;mar
 >gin-left:0px;margin-top:0px" id="itWXwthq6j0uQM:"><font color="#3
 >33399" style=""><span style="font-size: smaller;"><font face="Luc
 >ida Sans Unicode" style=""><big><b>Hpage</b></big></font></span><
 >/font>
12    </h2>12          </td>
13    <ol>13        </tr>
14      <li>Quit Firefox. If you have Quick Launch running (on Wind14      </tbody>
>ows, this is an icon in the toolbar), quit that too. 
15    </table>
16    <div class="clearfix" id="wrapper" style="margin-top: 23px;">
17      <div id="maincol">
18        <div id="maincolcontent-hp" style="padding-bottom: 10px;"
 >>
19          <table border="0" cellpadding="0" cellspacing="0" width
 >="100%">
20            <tbody>
21              <tr>
22                <td class="tdoblogin_left">
23                  <div class="logincontent">
24                    <div class="logintitle">
25                      <strong><span class="bold">Log In</span> To
 > Your Account</strong>
26                    </div>
27                    <div class="logincontent">
28                      <table cellpadding="0" cellspacing="0" heig
 >ht="152" width="217">
29                        <tbody>
30                          <tr>
31                            <td style="padding-top: 5px;">
32                              <input checked="checked" id="loginC
 >om" name="loginTo" type="radio" value="ecom">
33                            </td>
34                            <td class="MainSideNavText" style="pa
 >dding-top: 5px;">
35                              Personal
36                            </td>
37                            <td style="padding-top: 5px; padding-
 >left: 10px;">
38                              <input id="loginCorp" name="loginTo
 >" type="radio" value="ecorp">
39                            </td>
40                            <td class="MainSideNavText" style="pa
 >dding-top: 5px;">
41                              Business
42                            </td>
43                          </tr>
44                          <tr>
45                            <td colspan="4" style="padding-top: 1
 >8px; padding-bottom: 5px;">
46                              <div class="tdBotSpace5">
47                                <span id="spanUserCode">Access ID
 >:</span>
48                              </div><input class="obfields" id="t
 >xtAccessID" maxlength="19" name="AccessID" size="21" type="text">
49                            </td>
50                          </tr>
51                          <tr id="trTakeMeTo">
52                            <td colspan="4" style="padding-top: 1
 >5px;">
53                              <kbd><b><img alt="" class="rg_i" da
 >ta-sz="f" height="16" name="Wa9GSX0VdlQVpM:" src="data:image/jpeg
 >;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhQSERMUEBQQFBQUERAYE
 >xUXEg8cGRkUFxwWFRYVHhkaHSYjGhwjGR4VJi8gLzMpMi0yFR4xNzIqNSYrLCwBCQ
 >oKDgwOGg8PGjUkHSQ1NSk1KzA1NSwpNTUsNSwtLCkpLC4rKS0tLTQ1MSkpKSkpKik
 >pKSw1LCkpKSksLCkpLP/AABEIAGYAZgMBIgACEQEDEQH/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YntfyxNLWS9x1+iHmM1vuW/qU1kis5sJLEYeUINa
 >V4yim+Vx5r81z3WSOzhyy6GHqTV3LRtCyv8AOlsXs5e4zescs8fDGK088cvlSsDha
 >lar8jC2ld3u1ZJbJPu6jq9CpoxjG99GMVf7Elc4bknKs6NenVUZ/Nkm9ktsXsku9X
 >OwRxaaTT2NJr7HtRD0dYmJ3T/iNrca7JXWRrJF6yNZJ3KrOZccxql69bs4eaRdCg8
 >HVS9ev2VPzSL8U+pjhkl6DRfpgABHTAAAcXzpr2x+KX1v5YkdrB0bL3BpTxFedaNa
 >pTc7OUVGMlpWSurtW2JbDQ4o49JqeFD1Fzj1WKKREyoMuizWvMxCkawerEl24o49J
 >qeFD1Dijj0mp4UPUdO8w7uXYZ9vcKVrb3v2s+dZLvxRx6TU8KHqHFHHpNTwoeod5h
 >3Owz7e4UjWBrJd+KOPSanhQ9Q4o49JqeFD1Du8O52Gfb3DBwW1b4jEdlT80jpJXM0
 >8y4YH5SSnOpOpopyaStFXaSS629pYyp1F4vkm1fC70uO2PFFbeQAHBJAAAAAAAAAA
 >AAAAAAAAB//Z" style="margin-left: 0px; margin-top: 0px;" width="3
 >3" id="Wa9GSX0VdlQVpM:"></b><font color="#808080" style=""><b>LOG
 > IN</b></font></kbd>
54                            </td>
55                          </tr>
56                        </tbody>
57                      </table>
58                    </div>
59                  </div>
60                </td>
61                <td style="padding-left: 0px; width: 745px; heigh
 >t: 300px; vertical-align: top;">
62                  <ul>
63                    <li style="float:left;list-style:none outside
 > none">
64                      <div style="margin-top:0px;width:745px;min-
 >height:300px">
65                        <img alt="Take Control of Your Credit Wit
 >h a Secured Credit Card" height="300" src="https://www.afbank.com
 >/shared/promos/homepage/CreditBuilder/2012-02-28_AFB.jpg" width="
 >745">
66                      </div>
67                    </li>
68                  </ul>
69                </td>
70              </tr>
71            </tbody>
72          </table>
73          <div id="productrow-index">
74            <div class="productrow-index-column" style="margin-ri
 >ght: 13px;">
75              <div class="productrow-index-column-inner">
76                <div class="productrow-index-column-header" style
 >="text-align: center;">
77                  <span style="color:#b22222;"><strong>Sign. Clic
 >k. Deposit.</strong></span>
78                </div>
79                <div class="productrow-index-column-subheader" st
 >yle="text-align: center;">
80                  Deposit Checks by Phone - Anytime, Anywhere
81                </div>
82                <div class="productrow-index-column-illustr" styl
 >e="text-align: center;">
83                  <img alt="" height="63" src="https://www.afbank
 >.com/secure/img/index/illustr_mobiledeposit.jpg" width="321">
84                </div>
85                <div class="productrow-index-column-content" styl
 >e="text-align: center;">
86                  Save time by easily - and securely - depositing
 > checks from your smartphone. Simply take a picture of the front 
 >and back of your endorsed check and submit (iPhone and Android on
 >ly).
87                </div>
88                <div class="productrow-index-column-button" style
 >="text-align: center;">
89                  <a class="btn_arrow" href="https://www.afbank.c
 >om/trackingevent.cfm?trackingeventtargeturl=https://www.afbank.co
 >m/personal/mobilebanking/mobilecheckdeposit.cfm" style="width: 11
 >0px;">Go Mobile Today</a>
90                </div>
91                <div class="productrow-index-column-button" style
 >="text-align: center;">
92                  &nbsp;
93                </div>
94              </div>
95            </div>
96            <div class="productrow-index-column" style="margin-ri
 >ght: 13px;">
97              <div class="productrow-index-column-inner">
98                <div class="productrow-index-column-header">
99                  <div class="productrow-index-column-header" sty
 >le="text-align: center;">
100                    <b><font color="#800000" size="2" style=""><f
 >ont style="">Want to Join the Military today?</font></font> <a hr
 >ef="https://secure.military.com/Recruiting/page1.do"><font color=
 >"#0000FF" size="2"><font style=""><font style="">Click here</font
 >></font></font></a></b>
101                  </div>
102                </div>
103                <div class="productrow-index-column-subheader" st
 >yle="text-align: center;">
104                  We specialize in military banking.
105                </div>
106                <div class="productrow-index-column-illustr" styl
 >e="text-align: center;">
107                  <img alt="" height="63" src="https://www.afbank
 >.com/secure/img/index/illustr_recruits1.jpg" width="321">
108                </div>
109                <div class="productrow-index-column-content" styl
 >e="text-align: center;">
110                  If you are a new recruit and need to open an ac
 >count to receive your military pay, you have come to the right pl
 >ace.
111                </div>
112              </div>
113            </div>
114            <div class="productrow-index-column">
115              <div class="productrow-index-column-inner">
116                <div class="productrow-index-column-header" style
 >="text-align: center;">
117                  &nbsp;
118                </div>
119                <div class="productrow-index-column-subheader" st
 >yle="text-align: center;">
120                  Take advantage of historically low rates.
121                </div>
122                <div class="productrow-index-column-illustr" styl
 >e="text-align: center;">
123                  <img alt="" height="63" src="https://www.afbank
 >.com/secure/img/index/illustr_mortgagerates2.jpg" width="321">
124                </div>
125                <div class="productrow-index-column-content" styl
 >e="text-align: center;">
126                  We offer a full line of mortgage products to me
 >et your individual financing needs: Conventional, VA, and FHA.
127                </div>
128                <div class="productrow-index-column-button" style
 >="text-align: center;">
129                  &nbsp;
130                </div>
131              </div>
132            </div>
133          </div>
134        </div>
15      </li>135      </div>
16      <li>136    </div>
17        <a class="external" href="http://support.mozilla.com/en-U137    <div id="footer">
>S/kb/Profiles">Find your Firefox profile directory</a>. 
138      <div id="footer2" style="text-align: center;">
139        Equal Opportunity Lender &nbsp;&nbsp;&nbsp; Equal Housing
 > Lender <img alt="Equal Housing Lender" height="14" src="https://
 >www.afbank.com/secure/img/footer/ehl.gif" style="border: 0px; ver
 >tical-align: text-bottom;" width="19"> &nbsp;&nbsp;&nbsp; <a href
 >="https://www.afbank.com/trackingevent.cfm?trackingeventtargeturl
 >=http://fdic.gov/consumers/" target="_blank" title="FDIC Insuranc
 >e"><img alt="Member FDIC" height="20" src="https://www.afbank.com
 >/secure/img/footer/memberFDIC.gif" style="border: 0px; vertical-a
 >lign: middle;" width="32"></a> &nbsp;&nbsp;&nbsp; <a href="https:
 >//www.afbank.com/trackingevent.cfm?trackingeventtargeturl=http://
 >www.militarysaves.org/" target="_blank" title="Military America S
 >aves"><img alt="Military America Saves" height="34" src="https://
 >www.afbank.com/shared/img/global/logo_americasaves.gif" style="bo
 >rder: 0px; vertical-align: middle;" width="74"></a>
18      </li>140      </div>
19      <li>Open the <code class="filename">user.js</code> file fro141      <div id="footer3" style="text-align: center;">
>m that directory in a text editor. If there's no <code>user.js</c 
>ode> file, create one. 
142        © 1996-2013 Armed Forces Bank, N.A. All rights reserved.<
 >br>
143        The persons pictured on this website are not actual custo
 >mers of the bank.<br>
144        &nbsp;
20      </li>145      </div>
21      <li>Add these lines to <code class="filename">user.js</code
>>: 
22        <pre class="code">
23user_pref("capability.policy.policynames", "allowclipboard");
24user_pref("capability.policy.allowclipboard.sites", "https://www.
>mozilla.org"); 
25user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "
>allAccess"); 
26user_pref("capability.policy.allowclipboard.Clipboard.paste", "al
>lAccess"); 
27</pre>
28      </li>
29      <li>Change the url <span class="external"><code class="url"
>>https://www.mozilla.org</code></span> to the site for which you  
>want to enable this function. 
30      </li>
31      <li>Save the file and restart Firefox. The Clipboard button
>s should now function. 
32      </li>
33    </ol>
34    <div class="note">
35      <strong>Note:</strong> The preference is site as well as pr
>otocol specific. For example:<br> 
36      <pre>
37user_pref("capability.policy.allowclipboard.sites", "http://www.m
>ozilla.org") 
38</pre>
39      <p>
40        is not the same as:
41      </p>
42      <pre>
43user_pref("capability.policy.allowclipboard.sites", "https://www.
>mozilla.org") 
44</pre>
45      <p>
46        This is because the first uses <a href="/en-US/docs/HTTP"
> title="/en-US/docs/HTTP">HTTP</a> while the second uses HTTPS. 
47      </p>
t50      If you want to allow multiple URLs to access the Paste opert148      &nbsp;
>ation, separate the URLs with a space. For example: 
51    </p>
52    <pre>
53user_pref("capability.policy.allowclipboard.sites",
54 "https://www.mozilla.org https://developer.mozilla.org")
55</pre>
56    <h2 id="See_also">
57      See also
58    </h2>
59    <p>
60      For more information about security policies, see this arti
>cle about <a href="http://www.mozilla.org/projects/security/compo 
>nents/ConfigPolicy.html" title="http://www.mozilla.org/projects/s 
>ecurity/components/ConfigPolicy.html">Configurable Security Polic 
>ies</a>. 

Back to History