Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
torbutton
Commits
ce346d06
Commit
ce346d06
authored
May 13, 2019
by
Alex Catarineu
Browse files
Remove ported overlays
parent
5426045e
Changes
6
Hide whitespace changes
Inline
Side-by-side
chrome/content/aboutDialog.xul
deleted
100644 → 0
View file @
5426045e
<?xml version="1.0" encoding="UTF-8"?>
<!-- -*- Mode: HTML -*- -->
<?xml-stylesheet href="chrome://torbutton/skin/aboutDialog.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
%brandDTD;
<!ENTITY % aboutDialogDTD SYSTEM "chrome://torbutton/locale/aboutDialog.dtd" >
%aboutDialogDTD;
]>
<overlay
id=
"main-overlay"
xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<vbox
id=
"rightBox"
>
<vbox
id=
"detailsBox"
>
<description
class=
"text-blurb"
id=
"projectDesc"
>
&project.start;
<label
class=
"text-link"
href=
"https://www.torproject.org/"
>
&project.tpoLink;
</label>
&project.end;
</description>
<description
class=
"text-blurb"
id=
"helpDesc"
>
&help.start;
<label
class=
"text-link"
href=
"https://www.torproject.org/donate/donate.html.en"
>
&help.donateLink;
</label>
&help.or;
<label
class=
"text-link"
href=
"https://www.torproject.org/getinvolved/volunteer.html.en"
>
&help.getInvolvedLink;
</label>
&help.end;
</description>
</vbox>
</vbox>
<vbox
id=
"bottomBox"
>
<hbox
id=
"newBottom"
pack=
"center"
position=
"1"
>
<label
class=
"text-link bottom-link"
href=
"https://www.torproject.org/docs/faq.html.en"
>
&bottomLinks.questions;
</label>
<label
class=
"text-link bottom-link"
href=
"https://www.torproject.org/getinvolved/relays"
>
&bottomLinks.grow;
</label>
<label
class=
"text-link bottom-link"
href=
"about:license"
>
&bottomLinks.license;
</label>
</hbox>
<description
id=
"trademarkTor"
insertafter=
"trademark"
>
&tor.TrademarkStatement;
</description>
</vbox>
</overlay>
chrome/content/menu-items-overlay.xul
deleted
100644 → 0
View file @
5426045e
<?xml version="1.0" encoding="UTF-8"?>
<!-- -*- Mode: HTML -*- -->
<!DOCTYPE overlay SYSTEM "chrome://torbutton/locale/torbutton.dtd">
<overlay
id=
"torbutton-menu-overlay"
xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<menuitem
id=
"menu_newIdentity"
accesskey=
"&torbutton.context_menu.new_identity_key;"
key=
"torbutton-new-identity-key"
label=
"&torbutton.context_menu.new_identity;"
oncommand=
"torbutton_new_identity();"
/>
<menuitem
id=
"menu_newCircuit"
accesskey=
"&torbutton.context_menu.new_circuit_key;"
key=
"torbutton-new-circuit-key"
label=
"&torbutton.context_menu.new_circuit;"
oncommand=
"torbutton_new_circuit();"
/>
<toolbarbutton
id=
"appMenuNewIdentity"
class=
"subviewbutton subviewbutton-iconic"
key=
"torbutton-new-identity-key"
label=
"&torbutton.context_menu.new_identity;"
oncommand=
"torbutton_new_identity();"
/>
<toolbarbutton
id=
"appMenuNewCircuit"
class=
"subviewbutton subviewbutton-iconic"
key=
"torbutton-new-circuit-key"
label=
"&torbutton.context_menu.new_circuit;"
oncommand=
"torbutton_new_circuit();"
/>
<toolbarbutton
id=
"appMenu-private-window-button"
hidden=
"true"
/>
<toolbarbutton
id=
"appMenuRestoreLastSession"
hidden=
"true"
/>
</overlay>
chrome/content/menu-overlay.xul
deleted
100644 → 0
View file @
5426045e
<?xml version="1.0" encoding="UTF-8"?>
<!-- -*- Mode: HTML -*- -->
<!DOCTYPE overlay SYSTEM "chrome://torbutton/locale/aboutTor.dtd">
<overlay
id=
"torbutton-menu-overlay"
xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<menupopup
id=
"menu_HelpPopup"
>
<!-- Bug 18905: Hide unused help menu items -->
<menuitem
id=
"menu_openHelp"
removeelement=
"true"
/>
<menuitem
id=
"menu_openTour"
removeelement=
"true"
/>
<menuitem
id=
"healthReport"
removeelement=
"true"
/>
<menuitem
id=
"feedbackPage"
removeelement=
"true"
/>
<menuitem
id=
"helpSafeMode"
removeelement=
"true"
/>
<menuitem
id=
"menu_HelpPopup_reportPhishingtoolmenu"
removeelement=
"true"
/>
<menuitem
id=
"menu_HelpPopup_reportPhishingErrortoolmenu"
removeelement=
"true"
/>
<!-- dummy elements to avoid 'getElementById' errors -->
<box
id=
"feedbackPage"
/>
<box
id=
"helpSafeMode"
/>
<box
id=
"menu_HelpPopup_reportPhishingtoolmenu"
/>
<box
id=
"menu_HelpPopup_reportPhishingErrortoolmenu"
/>
<!-- Add Tor Browser manual link -->
<menuitem
name=
"torBrowserUserManual"
id=
"torBrowserUserManual"
position=
"1"
label=
"&aboutTor.torbrowser_user_manual.label;"
accesskey=
"&aboutTor.torbrowser_user_manual.accesskey;"
oncommand=
"gBrowser.selectedTab = gBrowser.addTab('https://tb-manual.torproject.org/' + Services.locale.getRequestedLocale())"
/>
</menupopup>
</overlay>
chrome/content/tor-circuit-display.xul
deleted
100644 → 0
View file @
5426045e
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://torbutton/skin/tor-circuit-display.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://torbutton/locale/torbutton.dtd">
<overlay
id=
"circuit-display-overlay"
xmlns:xul=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html=
"http://www.w3.org/1999/xhtml"
>
<panelview
id=
"identity-popup-mainView"
>
<!-- Circuit display section -->
<xul:hbox
id=
"circuit-display-container"
class=
"identity-popup-section"
insertafter=
"identity-popup-security"
>
<xul:vbox
id=
"circuit-display-content"
flex=
"1"
>
<xul:label
id=
"circuit-display-headline"
class=
"identity-popup-headline"
value=
"&torbutton.circuit_display.title;"
/>
<html:ul
id=
"circuit-display-nodes"
dir=
"auto"
>
<li>
example A
</li>
<li>
example B
</li>
<li>
example C
</li>
</html:ul>
</xul:vbox>
<xul:vbox
id=
"circuit-reload-content"
flex=
"1"
>
<html:button
id=
"circuit-reload-button"
onclick=
"torbutton_new_circuit()"
>
&torbutton.circuit_display.new_circuit;
</html:button>
<xul:hbox
id=
"circuit-guard-note-container"
>
</xul:hbox>
</xul:vbox>
</xul:hbox>
</panelview>
</overlay>
chrome/content/torbutton-extensions.xul
deleted
100644 → 0
View file @
5426045e
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://torbutton/locale/brand.dtd">
<overlay
id=
"torbutton-extensions-overlay"
xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<vbox
id=
"plugin-enable-button"
class=
"alert-container"
flex=
"1"
hidden=
"true"
>
<spacer
class=
"alert-spacer-before"
/>
<vbox
class=
"alert"
>
<label
value=
"&plugins.installed.find;"
/>
<button
class=
"button-plugin-enable"
label=
"&plugins.installed.enable;"
command=
"cmd_pluginEnable"
/>
</vbox>
<spacer
class=
"alert-spacer-after"
/>
</vbox>
<vbox
id=
"plugin-disable-button"
class=
"global-info"
flex=
"1"
align=
"end"
>
<button
class=
"button-plugin-disable"
label=
"&plugins.installed.disable;"
tooltiptext=
"&plugins.installed.disable.tip;"
command=
"cmd_pluginDisable"
/>
<spacer
flex=
"5000"
/>
</vbox>
</overlay>
chrome/content/torbutton.xul
deleted
100644 → 0
View file @
5426045e
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://torbutton/skin/torbutton.css" type="text/css"?>
<?xul-overlay href="chrome://torbutton/content/popup.xul"?>
<!DOCTYPE overlay SYSTEM "chrome://torbutton/locale/torbutton.dtd">
<overlay
id=
"torbutton-overlay"
xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<script
type=
"application/x-javascript"
src=
"chrome://torbutton/content/torbutton_util.js"
/>
<script
type=
"application/x-javascript"
src=
"chrome://torbutton/content/tor-circuit-display.js"
/>
<script
type=
"application/x-javascript"
src=
"chrome://torbutton/content/content-sizer.js"
/>
<script
type=
"application/x-javascript"
src=
"chrome://torbutton/content/torbutton.js"
/>
<script
language=
"JavaScript"
>
//onLoad Hander
try{window.addEventListener("load", torbutton_init, false);}catch(e){}
</script>
<stringbundleset
id=
"torbutton-stringbundleset"
>
<stringbundle
id=
"torbutton-bundle"
src=
"chrome://torbutton/locale/torbutton.properties"
/>
</stringbundleset>
<!-- Place the context menu in the nav bar, so that the lack
of the status bar on FF4 doesn't make it invisible -->
<toolbar
id=
"nav-bar"
>
<menupopup
id=
"torbutton-context-menu"
/>
</toolbar>
<toolbarpalette
id=
"BrowserToolbarPalette"
>
<toolbarbutton
id=
"torbutton-button"
class=
"toolbarbutton-1 chromeclass-toolbar-additional"
type=
"menu"
orient=
"horizontal"
label=
"Torbutton"
tooltiptext=
"&torbutton.button.tooltip;"
menu=
"torbutton-context-menu"
context=
"torbutton-context-menu"
/>
</toolbarpalette>
<!-- Global keyboard shortcuts for new identity and new circuit. -->
<keyset>
<key
id=
"torbutton-new-identity-key"
modifiers=
"accel shift"
key=
"U"
oncommand=
"torbutton_new_identity()"
/>
<key
id=
"torbutton-new-circuit-key"
modifiers=
"accel shift"
key=
"L"
oncommand=
"torbutton_new_circuit()"
/>
</keyset>
</overlay>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment