-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open external links in firefox without the custom profile
Extend firefox-theme with extlink profile
- Loading branch information
Showing
11 changed files
with
154 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Name=Firefox External | ||
GenericName=Web Browser | ||
GenericName[ca]=Navegador web | ||
GenericName[cs]=Webový prohlížeč | ||
GenericName[es]=Navegador web | ||
GenericName[fa]=مرورگر اینترنتی | ||
GenericName[fi]=WWW-selain | ||
GenericName[fr]=Navigateur Web | ||
GenericName[hu]=Webböngésző | ||
GenericName[it]=Browser Web | ||
GenericName[ja]=ウェブ・ブラウザ | ||
GenericName[ko]=웹 브라우저 | ||
GenericName[nb]=Nettleser | ||
GenericName[nl]=Webbrowser | ||
GenericName[nn]=Nettlesar | ||
GenericName[no]=Nettleser | ||
GenericName[pl]=Przeglądarka WWW | ||
GenericName[pt]=Navegador Web | ||
GenericName[pt_BR]=Navegador Web | ||
GenericName[sk]=Internetový prehliadač | ||
GenericName[sv]=Webbläsare | ||
Comment=Browse the Web | ||
Comment[ca]=Navegueu per el web | ||
Comment[cs]=Prohlížení stránek World Wide Webu | ||
Comment[de]=Im Internet surfen | ||
Comment[es]=Navegue por la web | ||
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید | ||
Comment[fi]=Selaa Internetin WWW-sivuja | ||
Comment[fr]=Navigue sur Internet | ||
Comment[hu]=A világháló böngészése | ||
Comment[it]=Esplora il web | ||
Comment[ja]=ウェブを閲覧します | ||
Comment[ko]=웹을 돌아 다닙니다 | ||
Comment[nb]=Surf på nettet | ||
Comment[nl]=Verken het internet | ||
Comment[nn]=Surf på nettet | ||
Comment[no]=Surf på nettet | ||
Comment[pl]=Przeglądanie stron WWW | ||
Comment[pt]=Navegue na Internet | ||
Comment[pt_BR]=Navegue na Internet | ||
Comment[sk]=Prehliadanie internetu | ||
Comment[sv]=Surfa på webben | ||
Exec=/usr/libexec/anaconda/firefox-ext %u | ||
Icon=firefox | ||
Terminal=false | ||
Type=Application | ||
MimeType=x-scheme-handler/extlink; | ||
StartupNotify=true | ||
Categories=Network;WebBrowser; | ||
Actions=new-window;new-private-window;profile-manager-window; | ||
X-Desktop-File-Install-Version=0.26 | ||
|
||
|
||
[Desktop Action new-window] | ||
Name=Open a New Window | ||
Exec=firefox -new-window | ||
|
||
[Desktop Action new-private-window] | ||
Name=Open a New Private Window | ||
Exec=firefox -private-window | ||
|
||
[Desktop Action profile-manager-window] | ||
Name=Open Profile Manager | ||
Exec=firefox -ProfileManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/bash | ||
# | ||
# The contents of this file are subject to the Netscape Public | ||
# License Version 1.1 (the "License"); you may not use this file | ||
# except in compliance with the License. You may obtain a copy of | ||
# the License at http://www.mozilla.org/NPL/ | ||
# | ||
# Software distributed under the License is distributed on an "AS | ||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | ||
# implied. See the License for the specific language governing | ||
# rights and limitations under the License. | ||
# | ||
# The Original Code is mozilla.org code. | ||
# | ||
# The Initial Developer of the Original Code is Netscape | ||
# Communications Corporation. Portions created by Netscape are | ||
# Copyright (C) 1998 Netscape Communications Corporation. All | ||
# Rights Reserved. | ||
# | ||
# Contributor(s): | ||
# | ||
|
||
## | ||
## Usage: | ||
## | ||
## $ firefox-ext | ||
## | ||
## This script is meant to run a mozilla program from the mozilla | ||
## rpm installation. | ||
## | ||
## The script will setup all the environment voodoo needed to make | ||
## mozilla work. | ||
|
||
mkdir -p /tmp/anaconda-extlink-firefox-profile | ||
cp /usr/share/anaconda/firefox-theme/extlink/user.js /tmp/anaconda-extlink-firefox-profile/ | ||
|
||
/usr/bin/firefox --profile /tmp/anaconda-extlink-firefox-profile -no-remote "${1/extlink/"https"}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* global user_pref */ | ||
// Don't have any startup page | ||
user_pref("browser.startup.page", 0); | ||
user_pref("browser.startup.homepage", "about:blank"); | ||
user_pref("browser.startup.homepage_override.once", {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters