13 | # endif
14 |
15 | # if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && !defined(JSON_IN_CPPTL)
16 | # define CPPTL_AUTOLINK_NAME "json"
17 | # undef CPPTL_AUTOLINK_DLL
18 | # ifdef JSON_DLL
19 | # define CPPTL_AUTOLINK_DLL
20 | # endif
21 | # include "autolink.h"
22 | # endif
23 |
24 | #endif // JSON_AUTOLINK_H_INCLUDED
25 |
--------------------------------------------------------------------------------
/plugin/jsoncpp/include/json/forwards.h:
--------------------------------------------------------------------------------
1 | // Copyright 2007-2010 Baptiste Lepilleur
2 | // Distributed under MIT license, or public domain if desired and
3 | // recognized in your jurisdiction.
4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5 |
6 | #ifndef JSON_FORWARDS_H_INCLUDED
7 | # define JSON_FORWARDS_H_INCLUDED
8 |
9 | #if !defined(JSON_IS_AMALGAMATION)
10 | # include "config.h"
11 | #endif // if !defined(JSON_IS_AMALGAMATION)
12 |
13 | namespace Json {
14 |
15 | // writer.h
16 | class FastWriter;
17 | class StyledWriter;
18 |
19 | // reader.h
20 | class Reader;
21 |
22 | // features.h
23 | class Features;
24 |
25 | // value.h
26 | typedef unsigned int ArrayIndex;
27 | class StaticString;
28 | class Path;
29 | class PathArgument;
30 | class Value;
31 | class ValueIteratorBase;
32 | class ValueIterator;
33 | class ValueConstIterator;
34 | #ifdef JSON_VALUE_USE_INTERNAL_MAP
35 | class ValueMapAllocator;
36 | class ValueInternalLink;
37 | class ValueInternalArray;
38 | class ValueInternalMap;
39 | #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP
40 |
41 | } // namespace Json
42 |
43 |
44 | #endif // JSON_FORWARDS_H_INCLUDED
45 |
--------------------------------------------------------------------------------
/plugin/jsoncpp/include/json/json.h:
--------------------------------------------------------------------------------
1 | // Copyright 2007-2010 Baptiste Lepilleur
2 | // Distributed under MIT license, or public domain if desired and
3 | // recognized in your jurisdiction.
4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5 |
6 | #ifndef JSON_JSON_H_INCLUDED
7 | # define JSON_JSON_H_INCLUDED
8 |
9 | # include "autolink.h"
10 | # include "value.h"
11 | # include "reader.h"
12 | # include "writer.h"
13 | # include "features.h"
14 |
15 | //
16 | // Automatically link JSON library.
17 | // Added by Yuan Xulei, 2012/3/21
18 | //
19 | #if defined(_DEBUG)
20 | #define JSON_LIB_SUFFIX "d.lib"
21 | #else
22 | #define JSON_LIB_SUFFIX ".lib"
23 | #endif
24 | #pragma comment(lib, "lib_json" JSON_LIB_SUFFIX)
25 |
26 | #endif // JSON_JSON_H_INCLUDED
27 |
--------------------------------------------------------------------------------
/plugin/jsoncpp/jsoncpp.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 12.00
2 | # Visual Studio 14
3 | VisualStudioVersion = 14.0.24720.0
4 | MinimumVisualStudioVersion = 10.0.40219.1
5 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib_json", "lib_json.vcxproj", "{B84F7231-16CE-41D8-8C08-7B523FF4225B}"
6 | EndProject
7 | Global
8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
9 | Debug|Win32 = Debug|Win32
10 | Debug|x64 = Debug|x64
11 | Release|Win32 = Release|Win32
12 | Release|x64 = Release|x64
13 | EndGlobalSection
14 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
15 | {B84F7231-16CE-41D8-8C08-7B523FF4225B}.Debug|Win32.ActiveCfg = Debug|Win32
16 | {B84F7231-16CE-41D8-8C08-7B523FF4225B}.Debug|Win32.Build.0 = Debug|Win32
17 | {B84F7231-16CE-41D8-8C08-7B523FF4225B}.Debug|x64.ActiveCfg = Debug|x64
18 | {B84F7231-16CE-41D8-8C08-7B523FF4225B}.Debug|x64.Build.0 = Debug|x64
19 | {B84F7231-16CE-41D8-8C08-7B523FF4225B}.Release|Win32.ActiveCfg = Release|Win32
20 | {B84F7231-16CE-41D8-8C08-7B523FF4225B}.Release|Win32.Build.0 = Release|Win32
21 | {B84F7231-16CE-41D8-8C08-7B523FF4225B}.Release|x64.ActiveCfg = Release|x64
22 | {B84F7231-16CE-41D8-8C08-7B523FF4225B}.Release|x64.Build.0 = Release|x64
23 | EndGlobalSection
24 | GlobalSection(SolutionProperties) = preSolution
25 | HideSolutionNode = FALSE
26 | EndGlobalSection
27 | EndGlobal
28 |
--------------------------------------------------------------------------------
/plugin/jsoncpp/lib/lib_json.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yxl/Fire-IE/ceb3ef2a70b479695330633697e703c1dbafa0e4/plugin/jsoncpp/lib/lib_json.lib
--------------------------------------------------------------------------------
/plugin/jsoncpp/lib/lib_jsond.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yxl/Fire-IE/ceb3ef2a70b479695330633697e703c1dbafa0e4/plugin/jsoncpp/lib/lib_jsond.lib
--------------------------------------------------------------------------------
/plugin/jsoncpp/lib64/lib_json.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yxl/Fire-IE/ceb3ef2a70b479695330633697e703c1dbafa0e4/plugin/jsoncpp/lib64/lib_json.lib
--------------------------------------------------------------------------------
/plugin/jsoncpp/lib64/lib_jsond.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yxl/Fire-IE/ceb3ef2a70b479695330633697e703c1dbafa0e4/plugin/jsoncpp/lib64/lib_jsond.lib
--------------------------------------------------------------------------------
/plugin/jsoncpp/src/lib_json/sconscript:
--------------------------------------------------------------------------------
1 | Import( 'env buildLibrary' )
2 |
3 | buildLibrary( env, Split( """
4 | json_reader.cpp
5 | json_value.cpp
6 | json_writer.cpp
7 | """ ),
8 | 'json' )
9 |
--------------------------------------------------------------------------------
/plugin/jsoncpp/version:
--------------------------------------------------------------------------------
1 | 0.6.0-rc2
--------------------------------------------------------------------------------
/plugin/np/npapi.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yxl/Fire-IE/ceb3ef2a70b479695330633697e703c1dbafa0e4/plugin/np/npapi.h
--------------------------------------------------------------------------------
/plugin/plugin.def:
--------------------------------------------------------------------------------
1 | ; plugin.def : Declares the module parameters for the DLL.
2 | EXPORTS
3 | ; Explicit exports can go here
4 | NP_GetEntryPoints @1
5 | NP_Initialize @2
6 | NP_Shutdown @3
7 |
--------------------------------------------------------------------------------
/plugin/res/plugin.rc2:
--------------------------------------------------------------------------------
1 | //
2 | // plusin.RC2 - resources Microsoft Visual C++ does not edit directly
3 | //
4 |
5 | #ifdef APSTUDIO_INVOKED
6 | #error this file is not editable by Microsoft Visual C++
7 | #endif //APSTUDIO_INVOKED
8 |
9 |
10 | /////////////////////////////////////////////////////////////////////////////
11 | // Add manually edited resources here...
12 |
13 | /////////////////////////////////////////////////////////////////////////////
14 |
--------------------------------------------------------------------------------
/plugin/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by plugin.rc
4 | //
5 | #define RES_NPMIMEDESCRIPTION "application/fireie"
6 | #define RES_NPPVPLUGINNAMESTRING "npfireie"
7 | #define RES_NPPVPLUGINDESCRIPTIONSTRING "Fire IE Plugin"
8 |
9 | #define RES_PROJNAME "FireIE"
10 | #define RES_PROJNAME_T _T("FireIE")
11 | #define RES_WELCOME_T _T("Welcome to use the FireIE Plugin for firefox!")
12 | #define RES_OBJECTNAME_T _T("fireie-object")
13 | #define RES_CHROME_PREFIX_T _T("chrome://fireie/content/container.xhtml?url=")
14 | #define RES_UTILS_OBJECT_T _T("fireie-utils-object")
15 | #define RES_UTILS_URL_T _T("resource://gre-resources/hiddenWindow.html")
16 | #define RES_CONTAINER "FireIEContainer"
17 |
18 | #if defined _M_X64
19 | // Should be capitilized!
20 | #define DLL_NAME "NPFIREIE64.DLL"
21 | #define DLL_NAME_WIDE L"NPFIREIE64.DLL"
22 | #elif defined _M_IX86
23 | // Should be capitilized!
24 | #define DLL_NAME "NPFIREIE32.DLL"
25 | #define DLL_NAME_WIDE L"NPFIREIE32.DLL"
26 | #endif
27 |
28 | #define IDD_IE_HOST_WINDOW 1005
29 | #define IDC_IE_CONTROL 1009
30 |
31 | // Next default values for new objects
32 | //
33 | #ifdef APSTUDIO_INVOKED
34 | #ifndef APSTUDIO_READONLY_SYMBOLS
35 | #define _APS_NEXT_RESOURCE_VALUE 1007
36 | #define _APS_NEXT_COMMAND_VALUE 32771
37 | #define _APS_NEXT_CONTROL_VALUE 1011
38 | #define _APS_NEXT_SYMED_VALUE 1000
39 | #endif
40 | #endif
41 |
--------------------------------------------------------------------------------
/plugin/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // stdafx.obj will contain the pre-compiled type information
3 |
4 | #include "stdafx.h"
--------------------------------------------------------------------------------
/plugin/targetver.h:
--------------------------------------------------------------------------------
1 |
2 | #pragma once
3 |
4 | // The following macros define the minimum required platform. The minimum required platform
5 | // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
6 | // your application. The macros work by enabling all features available on platform versions up to and
7 | // including the version specified.
8 |
9 | // Modify the following defines if you have to target a platform prior to the ones specified below.
10 | // Refer to MSDN for the latest info on corresponding values for different platforms.
11 | #ifndef WINVER // Specifies that the minimum required platform is Windows Vista.
12 | #define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows.
13 | #endif
14 |
15 | #ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
16 | #define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
17 | #endif
18 |
19 | #ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98.
20 | #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
21 | #endif
22 |
23 | #ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0.
24 | #define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE.
25 | #endif
26 |
27 |
--------------------------------------------------------------------------------
/plugin/test/test.h:
--------------------------------------------------------------------------------
1 | /*
2 | This file is part of Fire-IE.
3 |
4 | Fire-IE is free software: you can redistribute it and/or modify
5 | it under the terms of the GNU General Public License as published by
6 | the Free Software Foundation, either version 3 of the License, or
7 | (at your option) any later version.
8 |
9 | Fire-IE is distributed in the hope that it will be useful,
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | GNU General Public License for more details.
13 |
14 | You should have received a copy of the GNU General Public License
15 | along with Fire-IE. If not, see .
16 | */
17 |
18 | #pragma once
19 |
20 | #ifdef DEBUG
21 |
22 | namespace test {
23 | void doTest();
24 | }
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/test/PHP/posttest.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Post
6 |
7 |
8 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/test/PHP/posttest.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Result
6 |
7 |
8 | $value) {
10 | echo "$name: $value\n";
11 | }
12 | ?>
13 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/test/ThemeOnline/images/1/fx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yxl/Fire-IE/ceb3ef2a70b479695330633697e703c1dbafa0e4/test/ThemeOnline/images/1/fx.png
--------------------------------------------------------------------------------
/test/ThemeOnline/images/1/ie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yxl/Fire-IE/ceb3ef2a70b479695330633697e703c1dbafa0e4/test/ThemeOnline/images/1/ie.png
--------------------------------------------------------------------------------
/test/about-blank-switch-back-test/test.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | about:blank switch back test
5 |
6 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/tools/7za.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yxl/Fire-IE/ceb3ef2a70b479695330633697e703c1dbafa0e4/tools/7za.exe
--------------------------------------------------------------------------------
/tools/buildxpi-unified.bat:
--------------------------------------------------------------------------------
1 | set XPI_NAME=fireie-unified.xpi
2 | cd ..
3 | del /f/q %XPI_NAME%
4 | cd extension
5 | ..\tools\7za a ..\%XPI_NAME% chrome\
6 | ..\tools\7za a ..\%XPI_NAME% defaults\
7 | ..\tools\7za a ..\%XPI_NAME% components\
8 | ..\tools\7za a ..\%XPI_NAME% modules\
9 | ..\tools\7za a ..\%XPI_NAME% plugins\*.dll
10 | ..\tools\7za a ..\%XPI_NAME% plugins\tldstring.txt
11 | ..\tools\7za a ..\%XPI_NAME% chrome.manifest
12 | ..\tools\7za a ..\%XPI_NAME% install.rdf
--------------------------------------------------------------------------------
/tools/buildxpi.bat:
--------------------------------------------------------------------------------
1 | set XPI_NAME=fireie32.xpi
2 | cd ..
3 | del /f/q %XPI_NAME%
4 | cd extension
5 | ..\tools\7za a ..\%XPI_NAME% chrome\
6 | ..\tools\7za a ..\%XPI_NAME% defaults\
7 | ..\tools\7za a ..\%XPI_NAME% components\
8 | ..\tools\7za a ..\%XPI_NAME% modules\
9 | ..\tools\7za a ..\%XPI_NAME% plugins\*32.dll
10 | ..\tools\7za a ..\%XPI_NAME% plugins\tldstring.txt
11 | ..\tools\7za a ..\%XPI_NAME% chrome.manifest
12 | ..\tools\7za a ..\%XPI_NAME% install.rdf
--------------------------------------------------------------------------------
/tools/buildxpi64.bat:
--------------------------------------------------------------------------------
1 | set XPI_NAME=fireie64.xpi
2 | cd ..
3 | del /f/q %XPI_NAME%
4 | cd extension
5 | ..\tools\7za a ..\%XPI_NAME% chrome\
6 | ..\tools\7za a ..\%XPI_NAME% defaults\
7 | ..\tools\7za a ..\%XPI_NAME% components\
8 | ..\tools\7za a ..\%XPI_NAME% modules\
9 | ..\tools\7za a ..\%XPI_NAME% plugins\*64.dll
10 | ..\tools\7za a ..\%XPI_NAME% plugins\tldstring.txt
11 | ..\tools\7za a ..\%XPI_NAME% chrome.manifest
12 | ..\tools\7za a ..\%XPI_NAME% install.rdf
--------------------------------------------------------------------------------
/tools/compile-and-build-unified.bat:
--------------------------------------------------------------------------------
1 | @rem Add path to MSBuild Binaries
2 | @if exist "%ProgramFiles%\MSBuild\14.0\bin" set PATH=%ProgramFiles%\MSBuild\14.0\bin;%PATH%
3 | @if exist "%ProgramFiles(x86)%\MSBuild\14.0\bin" set PATH=%ProgramFiles(x86)%\MSBuild\14.0\bin;%PATH%
4 |
5 | @rem Call msbuild
6 | @cd ..
7 | @MSBuild fireie.msbuild /t:unified
8 | @if errorlevel 1 (
9 | @echo Build failed. See the above output for details.
10 | @pause
11 | )
12 |
--------------------------------------------------------------------------------