Browse Source

Add incomplete mozbuild

master
Dorian 7 years ago
parent
commit
8d4e707137
  1. BIN
      k-meleon/KMeleon10.opensdf
  2. BIN
      k-meleon/KMeleon10.suo
  3. 19
      k-meleon/Makefile.in
  4. 4
      k-meleon/app-rules.mk
  5. 19
      k-meleon/app.mozbuild
  6. 185
      k-meleon/app/Makefile.in
  7. 3169
      k-meleon/app/blocklist.xml
  8. 9
      k-meleon/app/module.ver
  9. 112
      k-meleon/app/moz.build
  10. 254
      k-meleon/app/prefs/kmeleon.js
  11. 108
      k-meleon/app/prefs/kmprefs.js
  12. 64
      k-meleon/app/prefs/skin.js
  13. 20
      k-meleon/app/profile/accel.cfg
  14. 43
      k-meleon/app/profile/bookmarks.html
  15. 6
      k-meleon/app/profile/channel-prefs.js
  16. 263
      k-meleon/app/profile/chrome/adblock.css
  17. 46
      k-meleon/app/profile/chrome/userContent.css
  18. 19
      k-meleon/app/profile/menus.cfg
  19. 103
      k-meleon/app/profile/mimeTypes.rdf
  20. 7
      k-meleon/app/profile/pagethemes.rdf
  21. 13
      k-meleon/app/profile/prefs.js
  22. 1
      k-meleon/app/profile/user.js
  23. 159
      k-meleon/app/settings/accel.cfg
  24. 2862
      k-meleon/app/settings/commands.html
  25. 605
      k-meleon/app/settings/menus.cfg
  26. 175
      k-meleon/app/settings/search.xml
  27. 379
      k-meleon/app/settings/toolbars.cfg
  28. BIN
      k-meleon/base/branding/about.png
  29. BIN
      k-meleon/base/branding/icon16.png
  30. BIN
      k-meleon/base/branding/icon32.png
  31. BIN
      k-meleon/base/branding/icon48.png
  32. BIN
      k-meleon/base/branding/icon64.png
  33. BIN
      k-meleon/base/branding/logo.png
  34. 181
      k-meleon/base/content/about.css
  35. 174
      k-meleon/base/content/about.xhtml
  36. 148
      k-meleon/base/content/aboutHome/aboutHome.css
  37. 86
      k-meleon/base/content/aboutHome/aboutHome.js
  38. 45
      k-meleon/base/content/aboutHome/aboutHome.xhtml
  39. 49
      k-meleon/base/content/commands.xhtml
  40. BIN
      k-meleon/base/content/logo.gif
  41. 385
      k-meleon/base/content/netError.xhtml
  42. 380
      k-meleon/base/content/netError.xul
  43. 47
      k-meleon/base/content/privilege.xhtml
  44. 719
      k-meleon/base/content/viewSource.js
  45. 203
      k-meleon/base/content/viewSource.xul
  46. 28
      k-meleon/base/jar.mn
  47. 20
      k-meleon/base/moz.build
  48. 60
      k-meleon/build.mk
  49. 180
      k-meleon/components/about/AboutRedirector.cpp
  50. 32
      k-meleon/components/about/AboutRedirector.h
  51. 19
      k-meleon/components/about/moz.build
  52. 29
      k-meleon/components/build/Makefile.in
  53. 27
      k-meleon/components/build/moz.build
  54. 43
      k-meleon/components/build/nsBrowserCompsCID.h
  55. 139
      k-meleon/components/build/nsModule.cpp
  56. 1
      k-meleon/components/console2/blank.html
  57. 212
      k-meleon/components/console2/blocklist.js
  58. 53
      k-meleon/components/console2/blocklist.xul
  59. 119
      k-meleon/components/console2/console2.css
  60. 155
      k-meleon/components/console2/console2.dtd
  61. 1005
      k-meleon/components/console2/console2.js
  62. 857
      k-meleon/components/console2/console2.xml
  63. 245
      k-meleon/components/console2/console2.xul
  64. 323
      k-meleon/components/console2/consolefilter.js
  65. 33
      k-meleon/components/console2/contents.rdf
  66. 272
      k-meleon/components/console2/domainlist.js
  67. 43
      k-meleon/components/console2/domainlist.xul
  68. 5
      k-meleon/components/console2/global/blank.xul
  69. 1402
      k-meleon/components/console2/global/listbox.xml
  70. 660
      k-meleon/components/console2/global/richlistbox.xml
  71. 24
      k-meleon/components/console2/jar.mn
  72. 7
      k-meleon/components/console2/moz.build
  73. 68
      k-meleon/components/console2/overlay.xul
  74. 57
      k-meleon/components/console2/overlay0.xul
  75. 126
      k-meleon/components/console2/seamonkey-hack.xul
  76. 51
      k-meleon/components/console2/seamonkey-overlay.xul
  77. 8
      k-meleon/components/console2/seamonkey.css
  78. 7
      k-meleon/components/console2/textbox191.css
  79. 319
      k-meleon/components/dirprovider/DirectoryProvider.cpp
  80. 47
      k-meleon/components/dirprovider/DirectoryProvider.h
  81. 23
      k-meleon/components/dirprovider/moz.build
  82. 20
      k-meleon/components/dirprovider/tests/unit/head_dirprovider.js
  83. 14
      k-meleon/components/dirprovider/tests/unit/test_bookmark_pref.js
  84. 21
      k-meleon/components/dirprovider/tests/unit/test_keys.js
  85. 7
      k-meleon/components/dirprovider/tests/unit/xpcshell.ini
  86. 47
      k-meleon/components/downloads/content/allDownloadsViewOverlay.css
  87. 1594
      k-meleon/components/downloads/content/allDownloadsViewOverlay.js
  88. 119
      k-meleon/components/downloads/content/allDownloadsViewOverlay.xul
  89. 11
      k-meleon/components/downloads/content/contentAreaDownloadsView.css
  90. 15
      k-meleon/components/downloads/content/contentAreaDownloadsView.js
  91. 46
      k-meleon/components/downloads/content/contentAreaDownloadsView.xul
  92. 45
      k-meleon/components/downloads/content/download.css
  93. 121
      k-meleon/components/downloads/content/download.xml
  94. 96
      k-meleon/components/downloads/content/downloads.css
  95. 1775
      k-meleon/components/downloads/content/downloads.js
  96. 141
      k-meleon/components/downloads/content/downloadsOverlay.xul
  97. 615
      k-meleon/components/downloads/content/indicator.js
  98. 35
      k-meleon/components/downloads/content/indicatorOverlay.xul
  99. 18
      k-meleon/components/downloads/jar.mn
  100. 17
      k-meleon/components/downloads/moz.build
  101. Some files were not shown because too many files have changed in this diff Show More

BIN
k-meleon/KMeleon10.opensdf

Binary file not shown.

BIN
k-meleon/KMeleon10.suo

Binary file not shown.

19
k-meleon/Makefile.in

@ -0,0 +1,19 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include $(topsrcdir)/config/rules.mk
ifdef MAKENSISU
# For Windows build the uninstaller during the application build since the
# uninstaller is included with the application for mar file generation.
libs::
$(MAKE) -C installer/windows uninstaller
ifdef MOZ_MAINTENANCE_SERVICE
$(MAKE) -C installer/windows maintenanceservice_installer
endif
endif
check::
$(PYTHON) $(topsrcdir)/build/compare-mozconfig/compare-mozconfigs-wrapper.py

4
k-meleon/app-rules.mk

@ -0,0 +1,4 @@
PURGECACHES_DIRS = $(DIST)/bin/browser
ifdef MOZ_METRO
PURGECACHES_DIRS += $(DIST)/bin/metro
endif

19
k-meleon/app.mozbuild

@ -0,0 +1,19 @@
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
if not CONFIG['LIBXUL_SDK']:
app_libxul_dirs = []
app_libxul_static_dirs = []
include('/toolkit/toolkit.mozbuild')
add_tier_dir('app', [CONFIG['MOZ_BRANDING_DIRECTORY']])
if CONFIG['MOZ_WEBAPP_RUNTIME']:
add_tier_dir('app', 'webapprt')
# Never add tier dirs after browser because they apparently won't get
# packaged properly on Mac.
add_tier_dir('app', 'kmeleon')

185
k-meleon/app/Makefile.in

@ -0,0 +1,185 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
dist_dest = $(DIST)/$(MOZ_MACBUNDLE_NAME)
PREF_JS_EXPORTS = $(srcdir)/prefs/kmeleon.js \
$(srcdir)/prefs/kmprefs.js \
$(srcdir)/prefs/skin.js \
$(NULL)
# hardcode en-US for the moment
AB_CD = en-US
DEFINES += \
-DAB_CD=$(AB_CD) \
-DFIREFOX_ICO='"$(DIST)/branding/firefox.ico"' \
-DDOCUMENT_ICO='"$(DIST)/branding/document.ico"' \
-DNEWWINDOW_ICO='"$(DIST)/branding/newwindow.ico"' \
-DNEWTAB_ICO='"$(DIST)/branding/newtab.ico"' \
-DPBMODE_ICO='"$(DIST)/branding/pbmode.ico"' \
$(NULL)
#ifdef LIBXUL_SDK #{
#PREF_JS_EXPORTS += $(srcdir)/profile/channel-prefs.js
#endif #} LIBXUL_SDK
# Build a binary bootstrapping with XRE_main
LIBS += \
$(XPCOM_STANDALONE_GLUE_LDOPTS) \
$(MOZ_JS_LIBS) \
$(NULL)
#OS_LIBS += $(call EXPAND_LIBNAME,ole32 comdlg32 shell32 version)
ifdef MOZ_LINKER
LIBS += $(MOZ_ZLIB_LIBS)
endif
ifdef HAVE_CLOCK_MONOTONIC
LIBS += $(REALTIME_LIBS)
endif
ifndef MOZ_WINCONSOLE
ifdef MOZ_DEBUG
MOZ_WINCONSOLE = 1
else
MOZ_WINCONSOLE = 0
endif
endif
# This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
NSDISTMODE = copy
include $(topsrcdir)/config/config.mk
#ifeq ($(OS_ARCH),WINNT)
# Rebuild firefox.exe if the manifest changes - it's included by splash.rc.
# (this dependency should really be just for firefox.exe, not other targets)
# Note the manifest file exists in the tree, so we use the explicit filename
# here.
#EXTRA_DEPS += kmeleon.exe.manifest
#endif
PROGRAMS_DEST = $(DIST)/bin
include $(topsrcdir)/config/rules.mk
ifneq (,$(filter-out WINNT,$(OS_ARCH)))
ifdef COMPILE_ENVIRONMENT
libs::
cp -p $(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/bin/$(MOZ_APP_NAME)-bin$(BIN_SUFFIX)
endif
GARBAGE += $(addprefix $(FINAL_TARGET)/defaults/pref/, kmeleon.js)
GARBAGE += $(addprefix $(FINAL_TARGET)/defaults/pref/, kmprefs.js)
GARBAGE += $(addprefix $(FINAL_TARGET)/defaults/pref/, skin.js)
endif
ifdef MOZ_WIDGET_GTK
libs::
$(INSTALL) $(IFLAGS1) $(DIST)/branding/mozicon128.png $(FINAL_TARGET)/icons
$(INSTALL) $(IFLAGS1) $(DIST)/branding/default16.png $(FINAL_TARGET)/chrome/icons/default
$(INSTALL) $(IFLAGS1) $(DIST)/branding/default32.png $(FINAL_TARGET)/chrome/icons/default
$(INSTALL) $(IFLAGS1) $(DIST)/branding/default48.png $(FINAL_TARGET)/chrome/icons/default
endif
PROFILE_FILES = \
prefs.js \
menus.cfg \
accel.cfg \
macros \
$(NULL)
libs:: $(addprefix $(srcdir)/profile/,$(PROFILE_FILES))
$(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/defaults/profile
#libs:: $(srcdir)/profile/chrome/adblock.css
# $(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/defaults/profile/chrome
#libs:: $(srcdir)/profile/prefs.js
# $(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/defaults/profile
SETTINGS_FILES = \
accel.cfg \
menus.cfg \
toolbars.cfg \
$(NULL)
libs:: $(addprefix $(srcdir)/settings/,$(SETTINGS_FILES))
$(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/defaults/settings
libs:: $(srcdir)/settings/search.xml
$(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/defaults
libs:: $(srcdir)/settings/commands.html
$(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/defaults
#ifndef LIBXUL_SDK
# channel-prefs.js is handled separate from other prefs due to bug 756325
#libs:: $(srcdir)/profile/channel-prefs.js
# $(NSINSTALL) -D $(DIST)/bin/defaults/pref
# $(call py_action,preprocessor,$(PREF_PPFLAGS) $(ACDEFINES) $^ -o $(DIST)/bin/defaults/pref/channel-prefs.js)
#endif
libs:: $(srcdir)/blocklist.xml
$(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
libs:: $(srcdir)/readme.html
$(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
MAC_APP_NAME = $(MOZ_APP_DISPLAYNAME)
ifdef MOZ_DEBUG
MAC_APP_NAME := $(MAC_APP_NAME)Debug
endif
AB_CD = $(MOZ_UI_LOCALE)
AB := $(firstword $(subst -, ,$(AB_CD)))
clean clobber repackage::
$(RM) -r $(dist_dest)
ifdef LIBXUL_SDK
APPFILES = Resources
else
APPFILES = MacOS
endif
MAC_BUNDLE_VERSION = $(shell $(PYTHON) $(srcdir)/macversion.py --version=$(MOZ_APP_VERSION) --buildid=$(DEPTH)/config/buildid)
.PHONY: repackage
tools repackage:: $(PROGRAM)
$(MKDIR) -p $(dist_dest)/Contents/MacOS
$(MKDIR) -p $(dist_dest)/Contents/Resources/$(AB).lproj
rsync -a --exclude '*.in' $(srcdir)/macbuild/Contents $(dist_dest) --exclude English.lproj
rsync -a --exclude '*.in' $(srcdir)/macbuild/Contents/Resources/English.lproj/ $(dist_dest)/Contents/Resources/$(AB).lproj
sed -e 's/%APP_VERSION%/$(MOZ_APP_VERSION)/' -e 's/%MAC_APP_NAME%/$(MAC_APP_NAME)/' -e 's/%MOZ_MACBUNDLE_ID%/$(MOZ_MACBUNDLE_ID)/' -e 's/%MAC_BUNDLE_VERSION%/$(MAC_BUNDLE_VERSION)/' $(srcdir)/macbuild/Contents/Info.plist.in > $(dist_dest)/Contents/Info.plist
sed -e 's/%MAC_APP_NAME%/$(MAC_APP_NAME)/' $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | iconv -f UTF-8 -t UTF-16 > $(dist_dest)/Contents/Resources/$(AB).lproj/InfoPlist.strings
rsync -a $(DIST)/bin/ $(dist_dest)/Contents/$(APPFILES)
$(RM) $(dist_dest)/Contents/MacOS/$(PROGRAM)
rsync -aL $(PROGRAM) $(dist_dest)/Contents/MacOS
cp -RL $(DIST)/branding/firefox.icns $(dist_dest)/Contents/Resources/firefox.icns
cp -RL $(DIST)/branding/document.icns $(dist_dest)/Contents/Resources/document.icns
printf APPLMOZB > $(dist_dest)/Contents/PkgInfo
endif
ifdef LIBXUL_SDK #{
ifndef SKIP_COPY_XULRUNNER #{
libs::
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) #{
rsync -a --copy-unsafe-links $(LIBXUL_DIST)/XUL.framework $(dist_dest)/Contents/Frameworks
else
$(NSINSTALL) -D $(DIST)/bin/xulrunner
(cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/xulrunner && tar -xf -)
endif #} cocoa
endif #} SKIP_COPY_XULRUNNER
endif #} LIBXUL_SDK

3169
k-meleon/app/blocklist.xml

File diff suppressed because it is too large Load Diff

9
k-meleon/app/module.ver

@ -0,0 +1,9 @@
WIN32_MODULE_COMPANYNAME=http://kmeleonbrowser.org/
WIN32_MODULE_COPYRIGHT=Copyright (C) 2001-2015
WIN32_MODULE_PRODUCTVERSION=@MOZ_APP_WINVERSION@
WIN32_MODULE_PRODUCTVERSION_STRING=@MOZ_APP_VERSION@
WIN32_MODULE_FILEVERSION=@MOZ_APP_WINVERSION@
WIN32_MODULE_TRADEMARKS=
WIN32_MODULE_DESCRIPTION=K-Meleon Web Browser
WIN32_MODULE_PRODUCTNAME=@MOZ_APP_DISPLAYNAME@
WIN32_MODULE_NAME=@MOZ_APP_DISPLAYNAME@

112
k-meleon/app/moz.build

@ -0,0 +1,112 @@
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIRS += ['profile/extensions']
PROGRAM = CONFIG['MOZ_APP_NAME']
PCHHDR = 'stdafx.h'
PCHSRC = 'stdafx.cpp'
SOURCES += [
'AccelParser.cpp',
'BrowserFrm.cpp',
'BrowserFrmTab.cpp',
'BrowserGlue.cpp',
'BrowserImpl.cpp',
'BrowserImplWebPrgrsLstnr.cpp',
'BrowserView.cpp',
'BrowserViewPanning.cpp',
'BrowserViewUtils.cpp',
'BrowserWindow.cpp',
'CmdLine.cpp',
'Components.cpp',
'CookiePromptService.cpp',
'CookiesViewerDlg.cpp',
'Dialogs.cpp',
'FavIconList.cpp',
'GenericDlg.cpp',
'GenKeyPairDialogs.cpp',
'HiddenWnd.cpp',
'KmAbout.cpp',
'KmAppInfo.cpp',
'KmCommand.cpp',
'KmFileLocProvider.cpp',
'KmImage.cpp',
'KmMenu.cpp',
'KmSkin.cpp',
'KmToolbar.cpp',
'LangParser.cpp',
'MenuParser.cpp',
'MfcEmbed.cpp',
'MostRecentUrls.cpp',
'MozUtils.cpp',
'NSSDialogs.cpp',
'Parser.cpp',
'PasswordViewerDlg.cpp',
'Permissions.cpp',
'Plugins.cpp',
'Preferences.cpp',
'PrintProgressDialog.cpp',
'PrintSetupDialog.cpp',
'ProfileMgr.cpp',
'ProfilesDlg.cpp',
'PromptService.cpp',
'ReBarEx.cpp',
'SaveAsHandler.cpp',
'SideBar.cpp',
'TabReBar.cpp',
'ToolBarEx.cpp',
'Tooltips.cpp',
'TooltipsProvider.cpp',
'UnknownContentTypeHandler.cpp',
'urlbar.cpp',
'../shared/Utils.cpp',
'VisualStylesXP.cpp',
]
SOURCES_NOPCH = ['Utils.cpp']
DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
for var in ('MOZILLA_OFFICIAL', 'LIBXUL_SDK'):
if CONFIG[var]:
DEFINES[var] = True
DEFINES['XPCOM_GLUE'] = True
GENERATED_INCLUDES += [
'/build',
]
LOCAL_INCLUDES += [
'/toolkit/xre',
'/xpcom/base',
'/xpcom/build',
]
if CONFIG['_MSC_VER']:
# Always enter a Windows program through wmain, whether or not we're
# a console application.
WIN32_EXE_LDFLAGS += ['-ENTRY:wWinMainCRTStartup']
CXXFLAGS += ['/EHsc']
if CONFIG['OS_ARCH'] == 'WINNT':
RCINCLUDE = 'mfcembed.rc'
DEFINES['MOZ_PHOENIX'] = True
DEFINES['UNICODE'] = True
DEFINES['_UNICODE'] = True
# Control the default heap size.
# This is the heap returned by GetProcessHeap().
# As we use the CRT heap, the default size is too large and wastes VM.
#
# The default heap size is 1MB on Win32.
# The heap will grow if need be.
#
# Set it to 256k. See bug 127069.
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
LDFLAGS += ['/HEAP:0x40000']
DISABLE_STL_WRAPPING = True

254
k-meleon/app/prefs/kmeleon.js

@ -0,0 +1,254 @@
/********************************************************************************************************/
// Default pref for k-meleon
/********************************************************************************************************/
/********************************************************************************************************/
// General
pref("kmeleon.MRU.maxURLs", 16);
pref("kmeleon.MRU.behavior", 2);
pref("kmeleon.general.guest_account", false);
pref("kmeleon.general.offline", false);
pref("kmeleon.general.opengroup", "ID_OPEN_LINK_IN_NEW_TAB|ID_OPEN_LINK_IN_BACKGROUNDTAB"); // Tabs ON
pref("kmeleon.general.openurl", "ID_OPEN_LINK");
//pref("kmeleon.general.searchEngine", "http://www.google.com/search?q="); // I10n.js
//pref("kmeleon.general.searchEngineName", "Google"); // I10n.js
pref("kmeleon.general.skinsCurrent", "Default");
pref("kmeleon.display.newWindowOpenAs", 0);
pref("kmeleon.display.newWindowURL", "");
pref("kmeleon.general.sourceCommand", "");
pref("kmeleon.general.sourceEnabled", false);
pref("kmeleon.flashblock", false);
pref("kmeleon.adblocking", false);
//pref("browser.startup.autoload_homepage", true);
pref("browser.startup.homepage", "about:home");
pref("browser.sessionstore.restore_on_demand", true);
/********************************************************************************************************/
// Plugins
pref("kmeleon.plugins.bmpmenu.load", true);
pref("kmeleon.plugins.fullscreen.load", true);
pref("kmeleon.plugins.history.load", false);
pref("kmeleon.plugins.jsbridge.load", true);
pref("kmeleon.plugins.rebarmenu.load", true);
pref("kmeleon.plugins.sessions.load", true);
pref("kmeleon.plugins.toolbars.load", true);
pref("kmeleon.plugins.update.load", true);
pref("kmeleon.plugins.crashrpt.load", true);
pref("kmeleon.plugins.login.load", true);
pref("kmeleon.plugins.spellcheck.load", true);
pref("kmeleon.plugins.bookmarks.load", true);
pref("kmeleon.plugins.bookmarks.chevron", true);
pref("kmeleon.plugins.bookmarks.menuAutoDetect", true);
pref("kmeleon.plugins.bookmarks.openurl", "ID_OPEN_LINK");
pref("kmeleon.plugins.bookmarks.openurlm", "ID_OPEN_LINK_IN_NEW_TAB");
pref("kmeleon.plugins.bookmarks.openurlr", "ID_OPEN_LINK_IN_BACKGROUNDTAB");
pref("kmeleon.plugins.favorites.load", false);
pref("kmeleon.plugins.favorites.menuAutoDetect", true);
pref("kmeleon.plugins.favorites.openurl", "ID_OPEN_LINK");
pref("kmeleon.plugins.hotlist.load", false);
pref("kmeleon.plugins.hotlist.menuAutoDetect", true);
pref("kmeleon.plugins.hotlist.openurl", "ID_OPEN_LINK");
pref("kmeleon.plugins.gestures.load", false);
pref("kmeleon.plugins.gestures.down", "ID_OPEN_LINK_IN_BACKGROUNDTAB");
pref("kmeleon.plugins.gestures.downleft", "ID_TAB_LAST");
pref("kmeleon.plugins.gestures.downright", "ID_CLOSE_TAB");
pref("kmeleon.plugins.gestures.left", "ID_NAV_BACK");
pref("kmeleon.plugins.gestures.right", "ID_NAV_FORWARD");
pref("kmeleon.plugins.gestures.up", "ID_OPEN_LINK_IN_NEW_TAB");
pref("kmeleon.plugins.gestures.upleft", "ID_TAB_PREV");
pref("kmeleon.plugins.gestures.upright", "ID_TAB_NEXT");
pref("kmeleon.plugins.layers.load", false);
pref("kmeleon.plugins.macros.load", true);
pref("kmeleon.plugins.macros.search.locked", true);
pref("kmeleon.plugins.macros.selected.openurl", "ID_OPEN_LINK");
pref("kmeleon.plugins.privacy.load", true);
pref("kmeleon.plugins.privacy.clearCache", 0);
pref("kmeleon.plugins.privacy.clearCookies", 0);
pref("kmeleon.plugins.privacy.clearHistory", 0);
pref("kmeleon.plugins.privacy.clearMRU", 0);
pref("kmeleon.plugins.privacy.clearSignOn", 0);
/********************************************************************************************************/
// Appearance
pref("kmeleon.display.title", "K-Meleon");
pref("kmeleon.display.NewWindowHasUrlFocus", false);
pref("kmeleon.display.backgroundImage", "");
pref("kmeleon.display.backgroundImageEnabled", false);
pref("kmeleon.display.maximized", false);
pref("kmeleon.display.disableResize", false);
pref("kmeleon.display.accelInMenus", true);
pref("kmeleon.display.hideTitleBar", false);
pref("kmeleon.favicons.show", true);
pref("browser.chrome.site_icons", true);
pref("browser.chrome.favicons", false);
//pref("kmeleon.urlbar.dropdown_lines", 10); // To not set by default
/********************************************************************************************************/
// Print
pref("print.show_print_progress", false);
pref("print.use_native_print_dialog", true);
/********************************************************************************************************/
// Privacy
pref("signon.rememberSignons", true);
pref("capability.policy.restrictedpopups.Window.open", "allAccess");
pref("capability.policy.restrictedpopups.sites", "");
pref("dom.disable_open_during_load", true);
pref("kmeleon.favicons.cached", true);
//Determines how the browser should handle cookies.
//0: Enable all cookies 1: Allow cookies from originating server only 2: Disable all cookies 3: Use P3P policy to decide
pref("network.cookie.cookieBehavior", 1);
/********************************************************************************************************/
// Download
pref("kmeleon.download.saveType", 0);
pref("kmeleon.download.saveDir", "");
pref("kmeleon.download.saveUseTitle", true);
pref("browser.download.useDownloadDir", false);
pref("kmeleon.download.useSaveDir", false);
pref("kmeleon.download.askOpenSave", true);
pref("kmeleon.download.SaveUnkownContent", true);
pref("kmeleon.download.showMinimizedDialog", false);
pref("kmeleon.download.closeDownloadDialog", false);
pref("browser.download.dir", "");
pref("browser.download.lastDir", "");
pref("kmeleon.download.flashWhenCompleted", false);
/********************************************************************************************************/
// For the tab version only
pref("browser.tabs.autoHide", false); // classic behavior
pref("browser.tabs.warnOnClose", true);
pref("kmeleon.tabs.OnDoubleClick", 3); // classic behavior
pref("kmeleon.tabs.OnMiddleClick", 3); // classic behavior
pref("kmeleon.tabs.OnRightClick", 2);
pref("kmeleon.tabs.onCloseLast", 1);
pref("kmeleon.tabs.onCloseOption", 1);
pref("kmeleon.tabs.onOpenOption", 0);
pref("kmeleon.tabs.useLoadingTitle", false);
pref("kmeleon.notab", false);
pref("kmeleon.tabs.title", "");
pref("kmeleon.tabs.minWidth", 6);
pref("kmeleon.tabs.maxWidth", 60);
pref("kmeleon.tabs.style", 2);
pref("kmeleon.tabs.fixedBar", false);
pref("kmeleon.tabs.position", "band");
/********************************************************************************************************/
pref("browser.cache.memory.capacity", -1);
pref("browser.cache.disk.capacity", 131072);
pref("browser.cache.disk.max_entry_size", 4096);
pref("browser.cache.disk.smart_size.enabled", false);
pref("browser.cache.disk.smart_size.first_run", false);
pref("browser.urlbar.autoFill", false);
pref("browser.urlbar.autocomplete.enabled", true);
pref("keyword.enabled", true);
pref("kmeleon.find.matchCase", false);
pref("kmeleon.find.searchBackwards", false);
pref("kmeleon.find.wrapAround", true);
pref("general.smoothScroll", false);
pref("general.autoScroll", true);
//pref("browser.chrome.image_icons.max_size", 1024);
// external link handling in tabbed browsers. values from nsIBrowserDOMWindow.
// 0=default window, 1=current window/tab, 2=new window, 3=new tab in most recent window
pref("browser.link.open_external", 2); // open externally-launched links in a new window
// handle links targeting new windows
//2 (default): In a new window 3: In a new tab 1 (or anything else): In the current window
pref("browser.link.open_newwindow", 2);
// 0: no restrictions - divert everything
// 1: don't divert window.open at all
// 2: don't divert window.open with features
pref("browser.link.open_newwindow.restriction", 2);
// Show XUL error pages instead of alerts for errors
pref("browser.xul.error_pages.enabled", true);
// Flashblock
pref("flashblock.html5video.blocked", false);
pref("flashblock.silverlight.blocked", false);
pref("flashblock.whitelist.includeTarget", false);
pref("flashblock.blockLocal", false);
pref("services.sync.prefs.sync.flashblock.whitelist", false);
// History
pref("browser.tabs.loadBookmarksInBackground", false);
pref("browser.tabs.warnOnOpen", true);
pref("browser.tabs.maxOpenBeforeWarn", 15);
pref('places.history.enabled', true);
// Others
pref('app.update.enabled', false);
pref('extensions.console2.max-errors', 1000);
pref("browser.zoom.full", true);
pref("full-screen-api.enabled", true);
// Prevent window to steal the focus when loading
pref("dom.disable_window_flip", true);
pref("dom.ipc.plugins.enabled", false);
pref("dom.ipc.plugins.enabled.npswf32.dll", true);
pref("plugins.load_appdir_plugins", true);
pref("accessibility.typeaheadfind.flashBar", 1);
pref("general.useragent.compatMode.firefox", true);
pref("layout.spellcheckDefault", 0);
// for performance !
pref("consoleservice.enabled", false);
// extensions
pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
pref("extensions.getAddons.cache.enabled", true);
pref("xpinstall.enabled", true);
pref("xpinstall.whitelist.add", "addons.mozilla.org");
pref("extensions.blocklist.enabled", false);
pref("extensions.logging.enabled", false);
pref("extensions.strictCompatibility", false);
//pref("plugins.click_to_play", true);
// preferences
pref("browser.preferences.instantApply", false);
pref("security.csp.speccompliant", true);
pref("places.favicons.optimizeToDimension", 32);

108
k-meleon/app/prefs/kmprefs.js

@ -0,0 +1,108 @@
/********************************************************************************************************/
// Default pref for k-meleon - only necessary for kmPrefs (Preferences)
/********************************************************************************************************/
//pref("kmeleon.display.title", "K-Meleon"); // kmeleon.js
//pref("kmeleon.display.URLbarTitle", "URL:"); // I10n.js
pref("kmeleon.favicons.titleBar", false);
pref("kmeleon.general.startHome", true);
pref("kmeleon.urlbar.dropdown_lines", 10);
pref("browser.tabs.closeButtons", 2);
pref("zoom.defaultPercent", 100);
pref("kmeleon.tabs.loadDivertedInBackground", false);
pref("network.proxy.type", 0);
// Firefox MIME Type Editor
pref("browser.download.show_plugins_in_list", true);
pref("browser.download.hide_plugins_without_extensions", true);
/********************************************************************************************************/
// Plugins
//pref("kmeleon.plugins.bookmarks.load", false); // kmeleon.js
pref("kmeleon.plugins.bookmarks.askforFolder", true);
//pref("kmeleon.plugins.bookmarks.chevron", true); // kmeleon.js
pref("kmeleon.plugins.bookmarks.editdialog.width", 500);
pref("kmeleon.plugins.bookmarks.editdialog.height", 500);
pref("kmeleon.plugins.bookmarks.editdialog.left", 50);
pref("kmeleon.plugins.bookmarks.editdialog.top", 50);
pref("kmeleon.plugins.bookmarks.editdialog.maximized", false);
pref("kmeleon.plugins.bookmarks.editdialog.zoom", false);
pref("kmeleon.plugins.bookmarks.maxMenuLength", 20); // plugin default: 20
// variable button width (according to the length of the name),
// button names with more than 99 characters are shortened...
pref("kmeleon.plugins.bookmarks.maxToolbarSize", 100); // plugin default: 20
pref("kmeleon.plugins.bookmarks.menuAddBookmark", true);
//pref("kmeleon.plugins.bookmarks.menuAutoDetect", true); // kmeleon.js
//pref("kmeleon.plugins.bookmarks.openurl", "ID_OPEN_LINK"); // kmeleon.js
//pref("kmeleon.plugins.bookmarks.openurlm", "ID_OPEN_LINK_IN_NEW_TAB"); // kmeleon.js
//pref("kmeleon.plugins.bookmarks.openurlr", "ID_OPEN_LINK_IN_BACKGROUNDTAB"); // kmeleon.js
pref("kmeleon.plugins.bookmarks.toolbarEnabled", true);
//pref("kmeleon.plugins.favorites.load", false); // kmeleon.js
// variable button width (according to the length of the name),
// button names with more than 99 characters are shortened...
pref("kmeleon.plugins.favorites.buttonMaxWidth", -100);
pref("kmeleon.plugins.favorites.buttonIcons", true);
pref("kmeleon.plugins.favorites.chevron", false);
pref("kmeleon.plugins.favorites.maxMenuLength", 20); // plugin default: 9999
//pref("kmeleon.plugins.favorites.menuAutoDetect", true); // kmeleon.js
//pref("kmeleon.plugins.favorites.openurl", "ID_OPEN_LINK"); // kmeleon.js
pref("kmeleon.plugins.favorites.rebar", false);
pref("kmeleon.plugins.favorites.sortOrder", 17);
//pref("kmeleon.plugins.favorites.title", "Links:"); // I10n.js
//pref("kmeleon.plugins.favorites.toolbarFolder", "Links"); // I10n.js
//pref("kmeleon.plugins.fullscreen.load", true); // kmeleon.js
pref("kmeleon.plugins.fullscreen.auto", false);
pref("kmeleon.plugins.fullscreen.hide_rebar", true);
pref("kmeleon.plugins.fullscreen.hide_tabsbar", true);
pref("kmeleon.plugins.fullscreen.hide_statusbar", true);
pref("kmeleon.plugins.fullscreen.hide_taskbar", true);
//pref("kmeleon.plugins.hotlist.load", false); // kmeleon.js
pref("kmeleon.plugins.hotlist.buttonIcons", true);
pref("kmeleon.plugins.hotlist.buttonMaxWidth", 35);
pref("kmeleon.plugins.hotlist.buttonMinWidth", 10);
pref("kmeleon.plugins.hotlist.chevron", false);
pref("kmeleon.plugins.hotlist.editdialog.width", 500);
pref("kmeleon.plugins.hotlist.editdialog.height", 500);
pref("kmeleon.plugins.hotlist.editdialog.left", 50);
pref("kmeleon.plugins.hotlist.editdialog.top", 50);
pref("kmeleon.plugins.hotlist.editdialog.maximized", false);
pref("kmeleon.plugins.hotlist.editdialog.zoom", false);
pref("kmeleon.plugins.hotlist.maxMenuLength", 20); // plugin default: 20
//pref("kmeleon.plugins.hotlist.menuAutoDetect", true); // kmeleon.js
//pref("kmeleon.plugins.hotlist.openurl", "ID_OPEN_LINK"); // kmeleon.js
pref("kmeleon.plugins.hotlist.rebar", false);
pref("kmeleon.plugins.hotlist.sortOrder", 209);
/********************************************************************************************************/
// For the tab version only
pref("kmeleon.tabs.useLoadingIcon", true);
//pref("kmeleon.tabs.useLoadingTitle", false); // kmeleon.js
/********************************************************************************************************/
// Macros
pref("kmeleon.plugins.macros.helpmenu.openintab", false);
// How open searched typed option
pref("kmeleon.plugins.macros.searchtyped.openurl", "opentab");
// Hotlinks
pref("kmeleon.plugins.macros.hotlink0.new", false);
pref("kmeleon.plugins.macros.hotlink1.new", false);
pref("kmeleon.plugins.macros.hotlink2.new", false);
pref("kmeleon.plugins.macros.hotlink3.new", false);
pref("kmeleon.plugins.macros.hotlink4.new", false);
pref("kmeleon.plugins.macros.hotlink5.new", false);
pref("kmeleon.plugins.macros.hotlink6.new", false);
pref("kmeleon.plugins.macros.hotlink7.new", false);
pref("kmeleon.plugins.macros.hotlink8.new", false);
pref("kmeleon.plugins.macros.hotlink9.new", false);
pref("kmeleon.plugins.macros.proxy0.http.proxy.pipelining", false);

64
k-meleon/app/prefs/skin.js

@ -0,0 +1,64 @@
pref("kmeleon.toolband.&Go Buttons.break", 0);
pref("kmeleon.toolband.&Go Buttons.index", 5);
pref("kmeleon.toolband.&Go Buttons.size", 67);
pref("kmeleon.toolband.&Go Buttons.visibility", true);
pref("kmeleon.toolband.&Main Bar.break", 1);
pref("kmeleon.toolband.&Main Bar.index", 2);
pref("kmeleon.toolband.&Main Bar.size", 175);
pref("kmeleon.toolband.&Main Bar.visibility", true);
pref("kmeleon.toolband.&Privacy Bar.break", 1);
pref("kmeleon.toolband.&Privacy Bar.index", 10);
pref("kmeleon.toolband.&Privacy Bar.size", 2000);
pref("kmeleon.toolband.&Privacy Bar.visibility", true);
pref("kmeleon.toolband.&Save Page As....break", 0);
pref("kmeleon.toolband.&Save Page As....index", 6);
pref("kmeleon.toolband.&Save Page As....size", 40);
pref("kmeleon.toolband.&Save Page As....visibility", false);
pref("kmeleon.toolband.&Zoom Buttons.break", 0);
pref("kmeleon.toolband.&Zoom Buttons.index", 4);
pref("kmeleon.toolband.&Zoom Buttons.size", 67);
pref("kmeleon.toolband.&Zoom Buttons.visibility", false);
pref("kmeleon.toolband.Bookmarks.break", 1);
pref("kmeleon.toolband.Bookmarks.index", 11);
pref("kmeleon.toolband.Bookmarks.size", 2000);
pref("kmeleon.toolband.Bookmarks.visibility", false);
pref("kmeleon.toolband.Browser Con&figuration.break", 0);
pref("kmeleon.toolband.Browser Con&figuration.index", 7);
pref("kmeleon.toolband.Browser Con&figuration.size", 94);
pref("kmeleon.toolband.Browser Con&figuration.visibility", true);
pref("kmeleon.toolband.Favorites.break", 1);
pref("kmeleon.toolband.Favorites.index", 12);
pref("kmeleon.toolband.Favorites.size", 2000);
pref("kmeleon.toolband.Favorites.visibility", false);
pref("kmeleon.toolband.Hotlist.break", 1);
pref("kmeleon.toolband.Hotlist.index", 13);
pref("kmeleon.toolband.Hotlist.size", 2000);
pref("kmeleon.toolband.Hotlist.visibility", false);
pref("kmeleon.toolband.JavaScript &Console.break", 0);
pref("kmeleon.toolband.JavaScript &Console.index", 8);
pref("kmeleon.toolband.JavaScript &Console.size", 67);
pref("kmeleon.toolband.JavaScript &Console.visibility", false);
pref("kmeleon.toolband.Mail/&News Buttons.break", 0);
pref("kmeleon.toolband.Mail/&News Buttons.index", 9);
pref("kmeleon.toolband.Mail/&News Buttons.size", 94);
pref("kmeleon.toolband.Mail/&News Buttons.visibility", false);
pref("kmeleon.toolband.Menu.break", 0);
pref("kmeleon.toolband.Menu.index", 0);
pref("kmeleon.toolband.Menu.size", 885);
pref("kmeleon.toolband.Menu.visibility", false);
pref("kmeleon.toolband.Tab/&Window Buttons.break", 0);
pref("kmeleon.toolband.Tab/&Window Buttons.index", 13);
pref("kmeleon.toolband.Tab/&Window Buttons.size", 129);
pref("kmeleon.toolband.Tab/&Window Buttons.visibility", true);
pref("kmeleon.toolband.Tabs.break", 1);
pref("kmeleon.toolband.Tabs.index", 12);
pref("kmeleon.toolband.Tabs.size", 150);
pref("kmeleon.toolband.Tabs.visibility", true);
pref("kmeleon.toolband.Throbber.break", 0);
pref("kmeleon.toolband.Throbber.index", 1);
pref("kmeleon.toolband.Throbber.size", 23);
pref("kmeleon.toolband.Throbber.visibility", false);
pref("kmeleon.toolband.URL Bar.break", 0);
pref("kmeleon.toolband.URL Bar.index", 3);
pref("kmeleon.toolband.URL Bar.size", 2000);
pref("kmeleon.toolband.URL Bar.visibility", true);

20
k-meleon/app/profile/accel.cfg

@ -0,0 +1,20 @@
# K-Meleon Accelerators (http://kmeleon.sourceforge.net/wiki/index.php?id=ConfigFiles#accel)
# Syntax:
# <key1> [<key2> [<key3>]] = <command>
#
# - Lines beginning with '#' are ignored (comments)
# Note: The purpose of this file is to host your personal accel definitions.
# Here you can add accelerators that you are missing in the default
# configuration and you can override default settings by redefining
# them here. The default accelerators are defined in
# defaults\settings\accel.cfg in your K-Meleon installation directory.
# Middle-click links to the background:
#%ifplugin tabs
#MButton = ID_OPEN_LINK_IN_BACKGROUNDTAB
#%else
#MButton = ID_OPEN_LINK_IN_BACKGROUND
#%endif

43
k-meleon/app/profile/bookmarks.html

@ -0,0 +1,43 @@
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- Generated By KMeleon -->
<!-- This is an automatically generated file.
It will be read and overwritten.
Do Not Edit! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 PERSONAL_TOOLBAR_FOLDER="true" ID="NC:PersonalToolbarFolder" ADD_DATE="0">Personal Toolbar Folder</H3>
<DL><p>
<DT><A HREF="http://kmeleon.sourceforge.net/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">K-Meleon Home</A>
<DT><A HREF="http://kmeleon.sourceforge.net/forum/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">K-Meleon Forums</A>
</DL><p>
<DT><H3 ADD_DATE="1145093326">K-Meleon Project</H3>
<DL><p>
<DT><A HREF="http://kmeleon.sourceforge.net/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">K-Meleon Home</A>
<DT><A HREF="http://kmeleon.sourceforge.net/forum/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">K-Meleon Forums</A>
<DT><A HREF="http://kmeleon.sourceforge.net/wiki/index.php?id=Welcome" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">K-Meleon Wiki</A>
<DT><A HREF="http://kmeleon.sourceforge.net/wiki/index.php?id=Documentation" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Documentation</A>
<DT><A HREF="http://kmeleon.sourceforge.net/wiki/index.php?id=Tutorials" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Tutorials</A>
<DT><A HREF="http://kmeleon.sourceforge.net/wiki/index.php?id=KPlugins" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Plugins</A>
<DT><A HREF="http://kmeleon.sourceforge.net/wiki/index.php?id=KMeleonThemesWiki" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Themes</A>
<DT><A HREF="http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLibrary" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Macros</A>
<DT><A HREF="http://kmeleon.sourceforge.net/wiki/index.php?id=ResourceLinks" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Resources</A>
<DT><H3 ADD_DATE="0">Mozilla Project</H3>
<DL><p>
<DT><A HREF="http://www.mozilla.org/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">The Mozilla Organization</A>
<DT><A HREF="http://www.mozilla.org/feedback.html" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Feedback</A>
<DT><A HREF="http://www.mozillazine.org/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">mozillaZine</A>
<DT><A HREF="http://www.mozdev.org/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">mozdev.org</A>
<DT><A HREF="http://plugindoc.mozdev.org/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Mozilla Plug-in Information (mozdev)</A>
</DL><p>
</DL><p>
<DT><H3 ADD_DATE="0">Search the Web</H3>
<DL><p>
<DT><A HREF="http://www.google.com/search?q=%s" NICK="g" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Google</A>
<DT><A HREF="http://groups.google.com/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Google Groups</A>
<DT><A HREF="http://news.google.com/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Google News</A>
</DL><p>
<HR>
</DL><p>

6
k-meleon/app/profile/channel-prefs.js

@ -0,0 +1,6 @@
#filter substitution
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
pref("app.update.channel", "@MOZ_UPDATE_CHANNEL@");

263
k-meleon/app/profile/chrome/adblock.css

@ -0,0 +1,263 @@
/* ----BLOCK ADS---- */
/*
*
* Filter Rules collected by Fred (taken from K-Meleon 0.9.12)
*
*/
iframe[width="120"][height="600"], a img[width="120"][height="600"],
iframe[width="125"][height="600"], a img[width="125"][height="600"],
iframe[width="150"][height="100"], a img[width="150"][height="100"],
iframe[width="150"][height="600"], a img[width="150"][height="600"],
iframe[width="160"][height="600"], a img[width="160"][height="600"],
iframe[width="300"][height="250"], a img[width="300"][height="250"],
iframe[width="336"][height="280"], a img[width="336"][height="280"],
iframe[width="468"][height="60"], a img[width="468"][height="60"],
iframe[width="470"][height="62"], a img[width="470"][height="62"],
iframe[width="728"][height="90"], a img[width="728"][height="90"],
iframe[width="730"][height="92"], a img[width="730"][height="92"],
iframe[width="600"][height="120"], object[width="125"][height="300"],
iframe[width="180"][height="150"],
iframe[src*="/ad-"],
iframe[src*="/ad."],
iframe[src*="/ad/"],
iframe[src*="/ad_"],
iframe[src*="/adframe"],
iframe[src*="/ads"],
iframe[src*="/adv"],
iframe[src*="/adx"],
iframe[src*=".ad"],
iframe[src*="_Banner"],
iframe[src*="BET365"],
iframe[src*="/click"],
iframe[src*="?click"],
iframe[src*="googlesyndication"],
iframe[src*="promos"],
iframe[name="bsadframe"],
iframe[id="adFrame"],
iframe[id="splashFrame"],
img[src*="/ad-"],
img[src*="http://www.pcpchina.com/news/pics/lm/"],
img[src*="/ad4."],
img[src*="/ad."],
img[src*="/ad/"],
img[src*="/ad_"],
img[src*="/ads"],
img[src*="/adv"],
img[src*="/adx"],
img[src*=".ad"],
img[src*="_ad_"],
img[src*="/click"],
img[src*="?click"],
img[src*="Editorial_Promos"],
img[src*="/toms_skyscraper_"],
img[src$="images/logos/amazon_international.gif"],
img[src*="freshmeat.net/button.gif"],
img[src*="pic.geocities.com/images/"],
img[src*="i.imdb.com/Vpics/"],
img[src*="i.imdb.com/Photos/CMSIcons"],
img[src*="i.imdb.com/Icons/apix/"],
img[src*="i.imdb.com/Icons/kpix/"],
img[src*="i.imdb.com/apix/"],
img[src*="sportsbybrooks.com/farkbutton.gif"],
img[alt*="advert"],
img[alt*="Click Here To Visit Our Sponsor"],
img[alt*="Sponsored Links"],
img[name="fixedSpImg"],
img[src*="www.tompda.com/bbs/img/"],
a:link[href*="/ad-"] img,
a:link[href*="/ad."] img,
a:link[href*="/ad/"] img,
a:link[href*="/ad_"] img,
a:link[href*="/ads"] img,
a:link[href*="/adv"] img,
a:link[href*="/adx"] img,
a:link[href*=".ad"] img,
a:link[href*="/banner"] img,
a:link[href*="/click.cgi"] img,
a:link[href*="/clickcgi?"] img,
a:link[href*="/clickover"] img,
a:link[href*="/clickthr"] img,
a:link[href*="/click-"] img,
a:link[href*="=click"] img,
a:link[href*="?click"] img,
a:link[href*="/A="] img,
a:link[href*="www.tompda.com/bbs/img/"] img,
table table table[width="346"][height="280"],
table[class="metatable"],
table[id="RefAd"],
table[cellspacing="0"][width="160"][height="329"][bgcolor="#000000"],
table[cellpadding="5"][width="150"][style="border: 1px dashed rgb(221, 170, 170); background-color: rgb(236, 248, 255);"],
table[border="0"][height="600"][width="120"],
table[height="90"][cellspacing="0"][cellpadding="0"][width="728"][border="0"],
table[border="0"][cellpadding="3"][cellspacing="0"][height="40"][width="100%"],
table[border="0"][cellpadding="0"][cellspacing="4"][align="right"][width="20%"],
table[border="2"] td[valign="top"][bgcolor="#ffffff"] table[width="138"],
table[border="0"][cellpadding="1"][cellspacing="0"][width="626"][bgcolor="#6699cc"],
table[bordercolor="red"][height="225"][cellspacing="0"][cellpadding="0"][width="190"][bgcolor="white"][border="0"],
table[width="336"][border="0"][cellspacing="0"][cellpadding="0"][align="right"][style="margin-left: 10px; margin-bottom: 10px;"],
table[width="770"][border="0"] tr[valign="top"]
td[width="160"],
td[class="cnnNavAd"],
td[class="RHBarBody"],
td[class="sl-table"],
td[style="border-bottom: 1px solid rgb(204, 204, 204); padding: 7px 3px; background-color: rgb(255, 254, 249);"],
td span[class="aoltextad"],
form[name="frmLargeForm"],
form[action*="click_lx.cgi"],
form[action^="http://rd.yahoo.com/"],
form[action=""][name$="SoapCity"],
form[action=""][name^="728x90"],
form[action=""][name^="300x250"],
form[method="get"][action*="martindale"][name="MDH"],
embed[type="application/x-shockwave-flash"][src*="_Banner"],
embed[type="application/x-shockwave-flash"][src*="/ad"],
embed[type="application/x-shockwave-flash"][href*="/ad"],
embed[type="application/x-shockwave-flash"][src*=".ad"],
embed[type="application/x-shockwave-flash"][href*=".ad"],
embed[type="application/x-shockwave-flash"][src*="?click"],
embed[type="application/x-shockwave-flash"][href*="?click"],
embed[type="application/x-shockwave-flash"][src*="/click"],
embed[type="application/x-shockwave-flash"][href*="/click"],
embed[type="application/x-shockwave-flash"][href*="promos"],
embed[type="application/x-shockwave-flash"][href*="=click"],
embed[type="application/x-shockwave-flash"][href*="redirect"],
embed[type="application/x-shockwave-flash"][href*="/A="],
embed[type="application/x-shockwave-flash"][name*="advert"],
embed[type="application/x-shockwave-flash"][name*="banner"],
embed[type="application/x-shockwave-flash"][width="728"][height="90"],
embed[type="application/x-shockwave-flash"][width="468"][height="60"],
embed[type="application/x-shockwave-flash"][width="467"][height="63"],
div[id="adstrip"],
div[id*="advert"],
div[id="dropin"],
div[id="dwindow"],
div[id="dcv_EchangeLay"],
div[id="mntl"],
div[id="quack"],
div[id="splashLayer"],
div[id="mouselayer"],
div[id="Mouselayer"],
div[id*="sponsor"],
div[id="yschsec"],
div[class="ovt"],
div#contextualLinks,
div[style="border: 1px solid rgb(221, 221, 221); padding: 5px; background-color: rgb(255, 255, 255);"],
object[id="widgeth"],
*[class="ad"],
*[class*="eSext"],
*[name*="klipad"],
*[style*="/ads/"],
*[id*="popover_"],
*[src*="120x80"],
*[src*="140x"],
*[src*="-ad-"],
*[src*="/adimage"],
*[src*="/adimg"],
*[src*="advert"],
*[src*="=click"],
*[src*="banners."],
*[src*="banner_ads"],
*[src*="/images/dinkus/more-arrow-lo.gif"],
*[src*="/javaImages/ec/"],
*[src*="/offer"],
*[src*="/puffboxes/"],
*[src*="/sponsors/"],
*[src*="_sponsor_"],
*[src*="/us.yimg.com/a/ya"],
*[src*=".adbutler.de"],
*[src*=".nedstatbasic.net"],
*[src*=".tradedoubler.com"],
*[src*=".travelocity./Sponsor_gifs/"],
*[src*="a.consumer.net"],
*[src*="bannermania.nom.pl"],
*[src*="cash4banner.com"],
*[src*="crazypopups.com"],
*[src*="hit-now.com"],
*[src*="hitbox.com"],
*[src*="img.thebugs.ws"],
*[src*="kinghost.com/ban/"],
*[src*="klipmart"],
*[src*="popupad.net/ats/"],
*[src*="public"][src*="ad"],
*[src*="/publicidad/"],
*[src*="qkimg.net"],
*[src*="qksrv.net"],
*[src*="rcm-images.amazon.com"],
*[src*="rcm.amazon.com"],
*[src*="salon.com/Creatives"],
*[src*="sexcounter."],
*[src*="sideads/"],
*[src*="statse.webtrendslive.com"],
*[href*="logging.to"],
*[href*="/referral/"],
*[href*="tryaol"],
*[href*="websponsors"],
*[src*="banman.asp"],
*[href*="banman.asp"],
*[src*="bannerman"],
*[href*="bannerman"],
*[src*="?banner"],
*[href*="?banner"],
*[src*="/banner/"],
*[href*="/banner/"],
*[src*="/jump/"],
*[href*="/jump/"],
*[src*="adfarm"],
*[href*="adfarm"],
*[src*="advertising.com"],
*[href*="advertising.com"],
*[src*="ar.atwola.com"],
*[href*="ar.atwola.com"],
*[src*="atdmt.com"],
*[href*="atdmt.com"],
*[src*="bluestreak.com"],
*[href*="bluestreak.com"],
*[src*="clickxchange.com"],
*[href*="clickxchange.com"],
*[src*="doubleclick"],
*[href*="doubleclick"],
*[src*="falkag.net"],
*[href*="falkag.net"],
*[src*="fastclick.com"],
*[href*="fastclick.com"],
*[src*="mediaplex"],
*[href*="mediaplex"],
*[src*="netdirect.nl"],
*[href*="netdirect.nl"],
*[src*="spinbox."],
*[href*="spinbox."],
*[src*="tradedoubler.com"],
*[href*="tradedoubler.com"],
*[src*="transfer.go"],
*[href*="transfer.go"],
*[src*=".tribalfusion"],
*[href*=".tribalfusion"],
*[src*="valueclick"],
*[href*="valueclick"],
*[src*="http://216.92.211.171/"],
*[href*="http://216.92.211.171/"],
*[src*="http://216.92.21.16/"],
*[src*="www.tompda.com/bbs/img/"],
*[href*="http://216.92.21.16/"] {
display: none !important;
}
img[src*=".advance"],
img[src*="/click_"],
img[src*="/cnn/images/clickability/"],
img[src*="/logo2.m"],
img[src$="/banners/com000.jpg"],
a:link[href*=".add"] img,
a:link[href*="admin"] img,
a:link[href*="adobe"] img,
a:link[href*=".adp"] img,
a:link[href*="/advance"] img,
a:link[href*="click.mp3"] img,
a:link[href*="/imgres?imgurl="] img,
a:link[href*=":head"] img,
a:link[href*="http://nettracker."] img,
embed[type="application/x-shockwave-flash"][src*="gallery"] {
display: inline !important;
}

46
k-meleon/app/profile/chrome/userContent.css

@ -0,0 +1,46 @@
/* ----- DO NOT EDIT ANYTHING ABOVE THIS LINE -------------------------------------------- */
/*
* This file can be used to apply a style to all web pages you view
* Rules without !important are overruled by author rules if the
* author sets any. Rules with !important overrule author rules.
*/
/*
* example: use OS colors if none are specified (like IE)
*
* body * { color: inherit; background-color: transparent; }
* html > *, input, textarea { color: WindowText; background-color: Window; }
*/
/*
* example: make K-Meleon center pages' images and linked images
*
* body.km_DocInfo_lstLinkedImages li, body.km_DocInfo_lstImages li { text-align: center; }
*/
/*
* example: make K-Meleon not enumerate pages' images and linked images
*
* body.km_DocInfo_lstLinkedImages ol, body.km_DocInfo_lstImages ol { list-style-type: none; }
*/
/*
* example: give all tables a 2px border
*
* table { border: 2px solid; }
*/
/*
* example: make search fields on www.mozilla.org black-on-white
*
* @-moz-document url-prefix(http://www.mozilla.org/) {
* #q { background: white ! important; color: black ! important; }
* }
*/
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
/* ----- DO NOT EDIT ANYTHING BELOW THIS LINE -------------------------------------------- */

19
k-meleon/app/profile/menus.cfg

@ -0,0 +1,19 @@
# K-Meleon Menus (http://kmeleon.sourceforge.net/wiki/index.php?id=ConfigFiles#menus)
# Syntax:
# <menuname>{
# <label>=<command>
# !<submenunameINLINE>
# :<submenunamePOPUP>
# }
#
# - Lines beginning with '#' are ignored (comments)
# - Menus must be defined BEFORE being used as submenus
# Note: The purpose of this file is to host your personal menu definitions.
# Using the syntax described above, you can completely redefine the
# default menus which are defined in defaults\settings\menus.cfg in
# your K-Meleon installation directory. Using an extended syntax, you
# can even add menus and commands to the default menus and remove
# items from them whithout to miss future updates of the defaults.
# For this extended syntax, please refer to our wiki.

103
k-meleon/app/profile/mimeTypes.rdf

@ -0,0 +1,103 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description RDF:about="urn:schemes">
<NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetype:handler:application/x-iso9660-image"
NC:saveToDisk="true"
NC:alwaysAsk="false" />
<RDF:Description RDF:about="urn:scheme:irc"
NC:value="irc">
<NC:handlerProp RDF:resource="urn:scheme:handler:irc"/>
</RDF:Description>
<RDF:Seq RDF:about="urn:schemes:root">
<RDF:li RDF:resource="urn:scheme:webcal"/>
<RDF:li RDF:resource="urn:scheme:ircs"/>
<RDF:li RDF:resource="urn:scheme:mailto"/>
<RDF:li RDF:resource="urn:scheme:irc"/>
<RDF:li RDF:resource="urn:scheme:magnet"/>
</RDF:Seq>
<RDF:Description RDF:about="urn:handler:web:http://30boxes.com/external/widget?refer=ff&amp;url=%s"
NC:prettyName="30 Boxes"
NC:uriTemplate="http://30boxes.com/external/widget?refer=ff&amp;url=%s" />
<RDF:Description RDF:about="urn:scheme:handler:mailto"
NC:useSystemDefault="true"
NC:alwaysAsk="false">
<NC:possibleApplication RDF:resource="urn:handler:web:https://compose.mail.yahoo.com/?To=%s"/>
<NC:possibleApplication RDF:resource="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&amp;url=%s"/>
</RDF:Description>
<RDF:Description RDF:about="urn:handler:web:https://compose.mail.yahoo.com/?To=%s"
NC:prettyName="Yahoo! Mail"
NC:uriTemplate="https://compose.mail.yahoo.com/?To=%s" />
<RDF:Description RDF:about="urn:mimetype:application/k-skin"
NC:value="application/k-skin"
NC:fileExtensions="kms"
NC:description="K-Meleon Skin" />
<RDF:Description RDF:about="urn:scheme:handler:ircs"
NC:alwaysAsk="true">
<NC:possibleApplication RDF:resource="urn:handler:web:https://www.mibbit.com/?url=%s"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetype:application/pdf"
NC:value="application/pdf">
<NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
</RDF:Description>
<RDF:Description RDF:about="urn:root"
NC:fr_defaultHandlersVersion="3"
NC:en-US_defaultHandlersVersion="3" />
<RDF:Description RDF:about="urn:handler:web:https://30boxes.com/external/widget?refer=ff&amp;url=%s"
NC:prettyName="30 Boxes"
NC:uriTemplate="https://30boxes.com/external/widget?refer=ff&amp;url=%s" />
<RDF:Description RDF:about="urn:mimetype:application/x-iso9660-image"
NC:value="application/x-iso9660-image"
NC:editable="true"
NC:fileExtensions="iso"
NC:description="">
<NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-iso9660-image"/>
</RDF:Description>
<RDF:Description RDF:about="urn:scheme:handler:magnet"
NC:useSystemDefault="true"
NC:alwaysAsk="true" />
<RDF:Description RDF:about="urn:handler:web:https://www.mibbit.com/?url=%s"
NC:prettyName="Mibbit"
NC:uriTemplate="https://www.mibbit.com/?url=%s" />
<RDF:Description RDF:about="urn:scheme:magnet"
NC:value="magnet">
<NC:handlerProp RDF:resource="urn:scheme:handler:magnet"/>
</RDF:Description>
<RDF:Description RDF:about="urn:scheme:handler:webcal"
NC:alwaysAsk="true">
<NC:possibleApplication RDF:resource="urn:handler:web:https://30boxes.com/external/widget?refer=ff&amp;url=%s"/>
<NC:possibleApplication RDF:resource="urn:handler:web:http://30boxes.com/external/widget?refer=ff&amp;url=%s"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
NC:handleInternal="true"
NC:alwaysAsk="false" />
<RDF:Description RDF:about="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&amp;url=%s"
NC:prettyName="Gmail"
NC:uriTemplate="https://mail.google.com/mail/?extsrc=mailto&amp;url=%s" />
<RDF:Seq RDF:about="urn:mimetypes:root">
<RDF:li RDF:resource="urn:mimetype:application/pdf"/>
<RDF:li RDF:resource="urn:mimetype:application/x-iso9660-image"/>
<RDF:li RDF:resource="urn:mimetype:application/k-skin"/>
</RDF:Seq>
<RDF:Description RDF:about="urn:scheme:ircs"
NC:value="ircs">
<NC:handlerProp RDF:resource="urn:scheme:handler:ircs"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetypes">
<NC:MIME-types RDF:resource="urn:mimetypes:root"/>
</RDF:Description>
<RDF:Description RDF:about="urn:scheme:webcal"
NC:value="webcal">
<NC:handlerProp RDF:resource="urn:scheme:handler:webcal"/>
</RDF:Description>
<RDF:Description RDF:about="urn:scheme:mailto"
NC:value="mailto">
<NC:handlerProp RDF:resource="urn:scheme:handler:mailto"/>
</RDF:Description>
<RDF:Description RDF:about="urn:scheme:handler:irc"
NC:alwaysAsk="true">
<NC:possibleApplication RDF:resource="urn:handler:web:https://www.mibbit.com/?url=%s"/>
</RDF:Description>
</RDF:RDF>

7
k-meleon/app/profile/pagethemes.rdf

@ -0,0 +1,7 @@
<?xml version="1.0"?> <!-- -*- Mode: SGML -*- -->
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>

13
k-meleon/app/profile/prefs.js

@ -0,0 +1,13 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */