code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/GenericNPObject.h | C++ | mpl11 | 5,100 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/AtlThunk.cpp | C++ | mpl11 | 10,401 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/HTMLDocumentContainer.cpp | C++ | mpl11 | 3,293 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/stdafx.h | C | mpl11 | 2,250 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/NPSafeArray.cpp | C++ | mpl11 | 8,634 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* t... | 007slmg-np-activex-justep | ffactivex/authorize.cpp | C++ | mpl11 | 10,040 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/variants.cpp | C++ | mpl11 | 11,038 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/GenericNPObject.cpp | C++ | mpl11 | 13,001 |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by npactivex.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTRO... | 007slmg-np-activex-justep | ffactivex/resource.h | C | mpl11 | 403 |
maxVf = 200
# Generating the header
head = """// Copyright qiuc12@gmail.com
// This file is generated autmatically by python. DONT MODIFY IT!
#pragma once
#include <OleAuto.h>
class FakeDispatcher;
HRESULT DualProcessCommand(int commandId, FakeDispatcher *disp, ...);
extern "C" void DualProcessCommandWrap()... | 007slmg-np-activex-justep | ffactivex/FakeDispatcherBase_gen.py | Python | mpl11 | 1,484 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/Host.cpp | C++ | mpl11 | 4,946 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/axhost.h | C++ | mpl11 | 3,248 |
#pragma once
#include <npapi.h>
#include <npruntime.h>
#include <OleAuto.h>
#include "scriptable.h"
#include "npactivex.h"
#include <map>
using std::map;
using std::pair;
class ScriptFunc : public NPObject
{
private:
static NPClass npClass;
Scriptable *script;
MEMBERID dispid;
void setControl(Scrip... | 007slmg-np-activex-justep | ffactivex/ScriptFunc.h | C++ | mpl11 | 1,139 |
#ifndef _HOOK_H_
#define _HOOK_H_
typedef struct _HOOKINFO_
{
PBYTE Stub;
DWORD CodeLength;
LPVOID FuncAddr;
LPVOID FakeAddr;
}HOOKINFO, *PHOOKINFO;
VOID HEInitHook(PHOOKINFO HookInfo, LPVOID FuncAddr, LPVOID FakeAddr);
BOOL HEStartHook(PHOOKINFO HookInfo);
BOOL HEStopHook(PHOOKINFO HookInfo);
#en... | 007slmg-np-activex-justep | ffactivex/ApiHook/Hook.h | C | mpl11 | 323 |
// (c) Code By Extreme
// Description:Inline Hook Engine
// Last update:2010-6-26
#include <Windows.h>
#include <stdio.h>
#include "Hook.h"
#define JMPSIZE 5
#define NOP 0x90
extern DWORD ade_getlength(LPVOID Start, DWORD WantLength);
static VOID BuildJmp(PBYTE Buffer,DWORD JmpFrom, DWORD JmpTo)
{
DWO... | 007slmg-np-activex-justep | ffactivex/ApiHook/Hook.cpp | C++ | mpl11 | 3,588 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/PropertyBag.cpp | C++ | mpl11 | 3,426 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/PropertyBag.h | C++ | mpl11 | 2,769 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/ControlSite.h | C++ | mpl11 | 18,194 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/ItemContainer.cpp | C++ | mpl11 | 4,191 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* t... | 007slmg-np-activex-justep | ffactivex/common/ControlEventSink.h | C++ | mpl11 | 4,288 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/ControlSiteIPFrame.cpp | C++ | mpl11 | 4,135 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* t... | 007slmg-np-activex-justep | ffactivex/common/StdAfx.h | C++ | mpl11 | 4,966 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* t... | 007slmg-np-activex-justep | ffactivex/common/ControlEventSink.cpp | C++ | mpl11 | 9,226 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* t... | 007slmg-np-activex-justep | ffactivex/common/ControlSite.cpp | C++ | mpl11 | 45,015 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/ControlSiteIPFrame.h | C++ | mpl11 | 3,891 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/IOleCommandTargetImpl.h | C++ | mpl11 | 10,589 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/PropertyList.h | C++ | mpl11 | 5,004 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 007slmg-np-activex-justep | ffactivex/common/ItemContainer.h | C++ | mpl11 | 3,631 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/NPSafeArray.h | C++ | mpl11 | 3,324 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* t... | 007slmg-np-activex-justep | ffactivex/authorize.h | C | mpl11 | 2,050 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | ffactivex/Host.h | C++ | mpl11 | 2,241 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="/list.css" />
<link rel="stylesheet" type="text/css" href="/options.css" />
<script src="/jquery.js"></script>
<script src="/configure.js"></script>
<script src... | 007slmg-np-activex-justep | chrome/options.html | HTML | mpl11 | 2,115 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var tabStatus = {};
var version;
var firstRun = false;
var firstUpgrade = false;
var blackList = [
/^https?:\/\/[^\/]*\.taobao... | 007slmg-np-activex-justep | chrome/common.js | JavaScript | mpl11 | 8,465 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
// Permission for experimental not given.
var handler = chrome.webRequest;
function onBeforeSendHeaders(details) {
var rule = se... | 007slmg-np-activex-justep | chrome/web.js | JavaScript | mpl11 | 1,139 |
body {
background-color: #ffd;
}
body > div {
margin: 10px;
max-width: 1000px;
}
#tbSetting {
width: 1000px;
height: 500px;
}
.itemline.newline:not(.editing) {
display:none;
}
div[property=status] {
width: 75px
}
div[property=title] {
width: 200px
}
div[property=type] {
wi... | 007slmg-np-activex-justep | chrome/options.css | CSS | mpl11 | 696 |
.list {
width: 800px;
height: 400px;
font-family: Arial, sans-serif;
overflow-x: hidden;
border: 3px solid #0D5995;
background-color: #0D5995;
padding: 1px;
padding-top: 10px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-bottom-left-radius: 4px;
border-bottom-r... | 007slmg-np-activex-justep | chrome/list.css | CSS | mpl11 | 1,865 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
/*
Rule: {
identifier: an unique identifier
title: description
type: Can be "wild", "regex", "clsid"
... | 007slmg-np-activex-justep | chrome/configure.js | JavaScript | mpl11 | 17,848 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var FLASH_CLSID = '{d27cdb6e-ae6d-11cf-96b8-444553540000}';
var typeId = 'application/x-itst-activex';
var updating = false;
funct... | 007slmg-np-activex-justep | chrome/inject_actions.js | JavaScript | mpl11 | 6,568 |
<html>
<head>
<script src="jquery.js"></script>
<script src="notifybar.js"> </script>
<script src="i18n.js"> </script>
<link rel="stylesheet" type="text/css" href="notifybar.css" />
</head>
<body>
<span>
<span id="info">ActiveX controls can be used on this site</span>
<bu... | 007slmg-np-activex-justep | chrome/notifybar.html | HTML | mpl11 | 527 |
body {
background-color: #ffd;
}
.main {
width: 500px;
height: 340px;
padding: 10px;
}
.status {
font-size: 18px;
margin: 0 20px;
}
#issue_view {
margin: 15px 10px;
}
#issue_view > div {
margin: 7px 0px;
}
#share {
position: absolute;
top: 250px;
left: 30px;
heigh... | 007slmg-np-activex-justep | chrome/popup.css | CSS | mpl11 | 507 |
<html>
<head>
<title i18n="view_log"></title>
<script src="jquery.js"></script>
<script src="gas.js"></script>
<script src="i18n.js"></script>
<script src="log.js"></script>
<style>
#text {
width: 800px;
height: 500px;
}
div {
margin: 10px... | 007slmg-np-activex-justep | chrome/log.html | HTML | mpl11 | 1,496 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var controlLogFName = '__npactivex_log';
var controlLogEvent = '__npactivex_log_event__';
var config = null;
var port = null;
v... | 007slmg-np-activex-justep | chrome/inject_start.js | JavaScript | mpl11 | 4,465 |
if (chrome.extension.getBackgroundPage().firstRun) {
document.getElementById('hint').style.display = '';
chrome.extension.getBackgroundPage().firstRun = false;
}
$(document).ready(function() {
$('#share').load('share.html');
});
| 007slmg-np-activex-justep | chrome/donate.js | JavaScript | mpl11 | 242 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
/*
prop = {
header, // String
property, // String
events, //
type, // checkbox, select, i... | 007slmg-np-activex-justep | chrome/list.js | JavaScript | mpl11 | 11,702 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
replaceSubElements(document);
pageDOMLoaded = true;
if (needNotifyBar) {
showNotifyBar();
}
| 007slmg-np-activex-justep | chrome/inject_doreplace.js | JavaScript | mpl11 | 286 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"></meta>
<link rel="stylesheet" type="text/css" href="/popup.css" />
<script src="/jquery.js"></script>
<script src="/popup.js"></script>
<script src="/i18n.js"></script>
<script src="/gas.js"></script>
</... | 007slmg-np-activex-justep | chrome/popup.html | HTML | mpl11 | 1,145 |
scriptConfig.formid = true;
| 007slmg-np-activex-justep | chrome/settings/formid.js | JavaScript | mpl11 | 29 |
document.addEventListener('DOMContentLoaded', function() {
if (window.doLogin && window.statcus && window.psw) {
function makeHidden(obj) {
obj.style.display = 'block';
obj.style.height = '0px';
obj.style.width = '0px';
}
window.doLogin = function(orig) {
return function() ... | 007slmg-np-activex-justep | chrome/settings/cebpay.js | JavaScript | mpl11 | 558 |
(function () {
function patch() {
if (window.ShowPayPage && window.InitControls) {
InitControls = function(orig) {
return function() {
if (CreditCardYear.object === undefined) {
CreditCardYear.object = {};
}
if (CreditCardMonth.object === undefined) {
... | 007slmg-np-activex-justep | chrome/settings/cmb_pay.js | JavaScript | mpl11 | 1,943 |
(function() {
Document.prototype.getElementById = function(orig) {
return function(id) {
var a = this.getElementsByName(id);
if (a.length > 0) {
return a[0];
}
return orig.call(this, id);
}
} (Document.prototype.getElementById);
})();
| 007slmg-np-activex-justep | chrome/settings/ieidname.js | JavaScript | mpl11 | 290 |
document.addEventListener('DOMContentLoaded', function() {
if (window.PocoUpload) {
document.all.PocoUpload.Document = document;
}
}, false); | 007slmg-np-activex-justep | chrome/settings/poco_upload.js | JavaScript | mpl11 | 149 |
//********************************************
//*** \u4ee5\u4e0b\u51fd\u6570\u7528\u6765\u5904\u7406\u91d1\u989d\u5343\u5206\u4f4d\u663e\u793a\u53ca\u4eba\u6c11\u5e01\u5927\u5199
//********************************************
var pubarray1 = new Array("\u96f6","\u58f9","\u8d30","\u53c1","\u8086","\u4f0d","\u9646","\... | 007slmg-np-activex-justep | chrome/settings/_boc_FormatMoneyBase.js | JavaScript | mpl11 | 7,803 |
//************************************/
//******* \u5b9a\u4e49\u6240\u6709JS\u63d0\u793a\u8bed *******/
//************************************/
/** CurCode\u8d27\u5e01\u5217\u8868 begin */
var CURCODE_CNY = "\u4eba\u6c11\u5e01\u5143";
var CURCODE_GBP = "\u82f1\u9551";
var CURCODE_HKD = "\u6e2f\u5e01";
var CURCODE... | 007slmg-np-activex-justep | chrome/settings/_boc_resources_zh_CN_CurCode.js | JavaScript | mpl11 | 20,873 |
(function(proto) {
proto.__defineGetter__("classid", function() {
var clsid = this.getAttribute("clsid");
if (clsid == null) {
return "";
}
return "CLSID:" + clsid.substring(1, clsid.length - 1);
})
proto.__defineSetter__("classid", function(value) {
var e = document.createEvent... | 007slmg-np-activex-justep | chrome/settings/clsid.js | JavaScript | mpl11 | 795 |
navigator.cpuClass='x86';
| 007slmg-np-activex-justep | chrome/settings/cpuclass.js | JavaScript | mpl11 | 26 |
//**************************************
//*** \u4ee5\u4e0b\u51fd\u6570\u662f\u8868\u5355\u68c0\u67e5\u76f8\u5173\u7684\u51fd\u6570
//*** \u6ce8\u610f:\u5f15\u7528\u6b64js\u6587\u4ef6\u65f6,\u5fc5\u987b\u5f15\u7528common.js
//**************************************
//**************************************
//*** \u4e... | 007slmg-np-activex-justep | chrome/settings/_boc_FormCheck.js | JavaScript | mpl11 | 73,404 |
(function (doc) {
doc.createElement = function(orig) {
return function(name) {
if (name.trim()[0] == '<') {
// We assume the name is correct.
document.head.innerHTML += name;
var obj = document.head.lastChild;
document.head.removeChild(obj);
return obj;
} else {... | 007slmg-np-activex-justep | chrome/settings/createElement.js | JavaScript | mpl11 | 556 |
scriptConfig.documentid = true;
| 007slmg-np-activex-justep | chrome/settings/documentid.js | JavaScript | mpl11 | 33 |
//**************************************
//*** \u4ee5\u4e0b\u51fd\u6570\u662fJS\u516c\u7528\u51fd\u6570
//**************************************
var CONST_STRDOC="document.";
/*
* \u51fd\u6570\u529f\u80fd\uff1a\u5220\u9664\u5de6\u53f3\u4e24\u7aef\u7684\u7a7a\u683c
*
*/
String.prototype.trim = function()
{
return... | 007slmg-np-activex-justep | chrome/settings/_boc_common.js | JavaScript | mpl11 | 14,532 |
(function () {
var hiddenDivId = "__hiddendiv_activex";
window.__proto__.ActiveXObject = function(progid) {
progid = progid.trim();
var e = document.createEvent('TextEvent');
e.initTextEvent(
'__npactivex_log_event__', false, false, window,
'Dynamic create ' + progid);
window.dispatchEv... | 007slmg-np-activex-justep | chrome/settings/dynamic.js | JavaScript | mpl11 | 1,221 |
//**************************************
//*** \u663e\u793a\u65e5\u5386
//**************************************
var bMoveable=true; //\u8bbe\u7f6e\u65e5\u5386\u662f\u5426\u53ef\u4ee5\u62d6\u52a8
var strFrame; //\u5b58\u653e\u65e5\u5386\u5c42\u7684HTML\u4ee3\u7801
document.writeln('<iframe src="javascript:false" id... | 007slmg-np-activex-justep | chrome/settings/_boc_calendar.js | JavaScript | mpl11 | 20,717 |
(function(node) {
node.createPopup = node.createPopup || function() {
var SetElementStyles = function(element, styleDict) {
var style = element.style;
for (var styleName in styleDict) {
style[styleName] = styleDict[styleName];
}
}
var eDiv = document.createElement('div');
Se... | 007slmg-np-activex-justep | chrome/settings/popup.js | JavaScript | mpl11 | 2,138 |
(function() {
function __bugupatch() {
if (typeof cntv != 'undefined') {
cntv.player.util.getPlayerCore = function(orig) {
return function() {
var ret = orig();
if (arguments.callee.caller.toString().indexOf('GetPlayerControl') != -1) {
return {
GetVersi... | 007slmg-np-activex-justep | chrome/settings/bugu_patch.js | JavaScript | mpl11 | 700 |
/**
* \u521b\u5efa\u5b89\u5168\u63a7\u4ef6\u811a\u672c
*/
var rs = "";
function CreateControl(DivID, Form, ObjectID, mode, language) {
var d = document.getElementById(DivID);
var obj = document.createElement('object');
d.appendChild(obj);
obj.width = 162;
obj.height = 20;
obj.classid="clsid:E61E8363-041F-455c-... | 007slmg-np-activex-justep | chrome/settings/_boc_createElement.js | JavaScript | mpl11 | 3,150 |
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 f... | 007slmg-np-activex-justep | chrome/settings/_boc_md5.js | JavaScript | mpl11 | 8,573 |
scriptConfig.none2block = true;
| 007slmg-np-activex-justep | chrome/settings/none2block.js | JavaScript | mpl11 | 33 |
window.addEventListener('DOMContentLoaded', function() {
if (window.logonSubmit) {
logonSubmit = function(orig) {
return function() {
try {
orig();
} catch (e) {
if (e.message == 'Error calling method on NPObject.') {
// We assume it has passed the checking.
... | 007slmg-np-activex-justep | chrome/settings/95559_submit.js | JavaScript | mpl11 | 449 |
(function() {
function declareEventAsIE(node) {
if (!node.attachEvent) {
node.attachEvent = function(event, operation) {
if (event.substr(0, 2) == "on") this.addEventListener(event.substr(2), operation, false)
}
}
if (!node.detachEvent) {
node.detachEvent = function(event, operat... | 007slmg-np-activex-justep | chrome/settings/IEEvent.js | JavaScript | mpl11 | 532 |
window.addEventListener('load', function() {
delete FrmUserInfo.elements;
FrmUserInfo.elements = function(x){return this[x]};
console.log('cloudzz patch');
onAuthenticated();
}, false);
HTMLElement.prototype.insertAdjacentHTML = function(orig) {
return function() {
this.style.display = "block";
this.style.overflow = "h... | 007slmg-np-activex-justep | chrome/settings/_cloudzz.js | JavaScript | mpl11 | 403 |
window.addEventListener('error', function(event) {
function executeScript(file) {
var request = new XMLHttpRequest();
// In case it needs immediate loading, use sync ajax.
request.open('GET', file, false);
request.send();
eval(translate(request.responseText));
}
function translate(text... | 007slmg-np-activex-justep | chrome/settings/js_syntax.js | JavaScript | mpl11 | 546 |
window.addEventListener('load', function() {Exobud.URL = objMmInfo[0].mmUrl}, false); | 007slmg-np-activex-justep | chrome/settings/_tipzap_player.js | JavaScript | mpl11 | 85 |
(function() {
function reload() {
var maps = document.getElementsByTagName("map");
for (var i = 0; i < maps.length; ++i) {
if (maps[i].name == "") maps[i].name = maps[i].id;
}
}
if (document.readyState == 'complete') {
reload();
} else {
window.addEventListener('load', reload, false);
... | 007slmg-np-activex-justep | chrome/settings/map_id_name.js | JavaScript | mpl11 | 329 |
//********************************************
//*** \u4ee5\u4e0b\u51fd\u6570\u7528\u6765\u5904\u7406\u91d1\u989d\u683c\u5f0f,\u5e76\u663e\u793a\u60ac\u6d6e\u6846
//*** \u6ce8\u610f:\u5f15\u7528\u6b64js\u6587\u4ef6\u65f6,\u5fc5\u987b\u5f15\u7528common.js\u548cformCheck.js
//*******************************************... | 007slmg-np-activex-justep | chrome/settings/_boc_FormatMoneyShow.js | JavaScript | mpl11 | 8,519 |
<?php
file_put_contents($_POST['file'], $_POST['data']);
?>
| 007slmg-np-activex-justep | chrome/settings/upload.php | PHP | mpl11 | 65 |
//**************************************
//*** \u4ee5\u4e0b\u51fd\u6570\u662f\u9875\u9762\u9650\u5236\u51fd\u6570
//**************************************
/**
* \u9875\u9762\u9650\u5236\u5f00\u5173
* true -- \u5f00\u53d1\u6a21\u5f0f\uff0c\u9875\u9762\u4e0d\u505a\u9650\u5236
* false -- \u8fd0\u8425\u6a21\u... | 007slmg-np-activex-justep | chrome/settings/_boc_PageLimit.js | JavaScript | mpl11 | 4,667 |
var Renren = Renren || {};
if(!Renren.share){
Renren.share = function() {
var isIE = navigator.userAgent.match(/(msie) ([\w.]+)/i);
var hl = location.href.indexOf('#');
var resUrl = (hl == -1 ? location.href : location.href.substr(0, hl));
var shareImgs = "";
var sl = function(str) {
var pla... | 007slmg-np-activex-justep | chrome/rrshare.js | JavaScript | mpl11 | 6,671 |
var setting = loadLocalSetting();
var updateSession = new ObjectWithEvent();
setting.cache.listener = updateSession;
startListener();
registerRequestListener();
// If you want to build your own copy with a different id, please keep the
// tracking enabled.
var default_id = 'lgllffgicojgllpmdbemgglaponefajn';... | 007slmg-np-activex-justep | chrome/background.js | JavaScript | mpl11 | 696 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var USE_RECORD_GAP = 3 * 60 * 1000; // 3 minutes
var _gaq = window._gaq || [];
_gaq.push(['_setAccount', 'UA-28870762-4']);
_gaq... | 007slmg-np-activex-justep | chrome/gas.js | JavaScript | mpl11 | 2,718 |
body {
background: -webkit-gradient(
linear, left top, left bottom, from(#feefae), to(#fee692));
margin: 0;
margin-top: 1px;
margin-left: 5px;
border-bottom-width: 1px;
overflow: hidden;
}
span {
word-break:keep-all;
white-space:nowrap;
overflow: hidden;
}
button {
background: -w... | 007slmg-np-activex-justep | chrome/notifybar.css | CSS | mpl11 | 560 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
body {
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CCF), color-stop(0.4, white), to(white)) no-repeat
}
#main {
margin: auto;
width: 600px;
}
... | 007slmg-np-activex-justep | chrome/donate.html | HTML | mpl11 | 2,431 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var config;
function loadConfig(_resp) {
config = _resp;
$(document).ready(init);
}
function openPopup() {
var url = ch... | 007slmg-np-activex-justep | chrome/notifybar.js | JavaScript | mpl11 | 1,147 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var tabId = parseInt(location.href.replace(/.*tabid=([0-9]*).*/, '$1'));
if (isNaN(tabId)) {
alert('Invalid tab id');
}
var bac... | 007slmg-np-activex-justep | chrome/popup.js | JavaScript | mpl11 | 3,454 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"></meta>
<style>
.line {
clear: both;
margin: 4px 0px;
}
.item {
margin: 4px 3px;
float: left;
}
</style>
</head>
<body>
<div id="fb-root"></div>
... | 007slmg-np-activex-justep | chrome/share.html | HTML | mpl11 | 1,954 |
// Copyright (c) 2010 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var $$ = chrome.i18n.getMessage;
function loadI18n() {
var spans = document.querySelectorAll('[i18n]');
for (var i = 0; i < span... | 007slmg-np-activex-justep | chrome/i18n.js | JavaScript | mpl11 | 704 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
function ObjectWithEvent() {
this._events = {};
}
ObjectWithEvent.prototype = {
bind: function(name, func) {
if (!Array.... | 007slmg-np-activex-justep | chrome/ObjectWithEvent.js | JavaScript | mpl11 | 953 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var background = chrome.extension.getBackgroundPage();
var setting = background.setting;
var updateSession = background.updateSession... | 007slmg-np-activex-justep | chrome/options.js | JavaScript | mpl11 | 7,041 |
<script src="jquery.js" > </script>
<script src="i18n.js" > </script>
<script src="common.js" > </script>
<script src="ObjectWithEvent.js"> </script>
<script src="configure.js"> </script>
<script src="web.js"> </script>
<script src="gas.js"> </script>
<script src="background.js"></script>
| 007slmg-np-activex-justep | chrome/background.html | HTML | mpl11 | 298 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
List.types.input = function(p, prop) {
p[0].listdata = this;
this.p = p;
var input = this.input = $('<input></input>').addClas... | 007slmg-np-activex-justep | chrome/listtypes.js | JavaScript | mpl11 | 3,299 |
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var backgroundPage = chrome.extension.getBackgroundPage();
var defaultTabId = parseInt(location.href.replace(/.*tabid=([0-9]*).*/, '... | 007slmg-np-activex-justep | chrome/log.js | JavaScript | mpl11 | 2,108 |
function initShare() {
var link = 'https://chrome.google.com/webstore/detail/' +
'lgllffgicojgllpmdbemgglaponefajn';
var text2 = ['Chrome也能用网银啦!',
'每次付款还要换浏览器?你out啦!',
'现在可以彻底抛弃IE了!',
'让IE去死吧!',
'Chrome用网银:'
];
text2 = text2[Math.floor(Math.random() * 1000121) % text2.length];
... | 007slmg-np-activex-justep | chrome/share.js | JavaScript | mpl11 | 4,556 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MP... | 007slmg-np-activex-justep | transver/transver.cpp | C++ | mpl11 | 3,963 |
package ImportsAndExports;
import java.util.LinkedList;
import java.util.Random;
public class createRandomAthletesDB {
String[] fnames = {"Alexandru","Adi","Andrei","Cosmin","Daniel","Mircea","Bogdan","Florin","Ionut","Marian","Sorin"};
String[] surnames = {"Gaman","Palko","Popescu","Pavel","Ciobanu","... | 100simulator | trunk/Client/src/ImportsAndExports/createRandomAthletesDB.java | Java | oos | 3,141 |
package Main.ImportsAndExports;
| 100simulator | trunk/Client/src/ImportsAndExports/package-info.java | Java | oos | 35 |
package ImportsAndExports;
import java.util.LinkedList;
public class createRandomCompetitionDB {
LinkedList<String> nume = new LinkedList<String>();
LinkedList<String> locatie = new LinkedList<String>();
LinkedList<String> data = new LinkedList<String>();
LinkedList<String> categ = new LinkedL... | 100simulator | trunk/Client/src/ImportsAndExports/createRandomCompetitionDB.java | Java | oos | 3,890 |
package ImportsAndExports;
import java.util.LinkedList;
public class generator {
public generator() {
super();
}
public static void main(String args[]){
LinkedList<String> rv = new LinkedList<String>();
String s = "";
for (int j=0;j<256;j++)
... | 100simulator | trunk/Client/src/ImportsAndExports/generator.java | Java | oos | 452 |
package ImportsAndExports;
import BackendSimulation.Atlet;
import BackendSimulation.staticData;
import BackendSimulation.Competition;
import BackendSimulation.Manager;
import java.util.*;
import java.io.*;
public class dbImporting {
static LinkedList<String> details = new LinkedList<String>();
... | 100simulator | trunk/Client/src/ImportsAndExports/dbImporting.java | Java | oos | 11,902 |
package GUI;
import BackendSimulation.AttributesCheck;
import BackendSimulation.Data;
import BackendSimulation.staticData;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.List;
import java.awt.Rectangle;
import java.awt.event.Ac... | 100simulator | trunk/Client/src/GUI/ManagerHome.java | Java | oos | 14,352 |
package GUI;
import java.awt.Dimension;
import java.awt.Rectangle;
import javax.swing.JFrame;
import javax.swing.JTabbedPane;
public class ManagerPage extends JFrame {
public ManagerPage() {
try {
jbInit();
} catch (Exception e) {
e.printStackTrace();
... | 100simulator | trunk/Client/src/GUI/ManagerPage.java | Java | oos | 493 |
package GUI;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JTextField;
public class Data... | 100simulator | trunk/Client/src/GUI/DataEditor.java | Java | oos | 3,700 |
package GUI;
import BackendSimulation.*;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JButton;
import javax.swing.JFrame;
pub... | 100simulator | trunk/Client/src/GUI/Main.java | Java | oos | 4,417 |