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 |
|---|---|---|---|---|---|
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/TableCollectionTest.java | Java | asf20 | 24,091 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ConstrainedBiMapTest.java | Java | asf20 | 3,442 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/HashMultimapTest.java | Java | asf20 | 2,569 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/MapConstraintsTest.java | Java | asf20 | 26,333 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ArrayTableTest.java | Java | asf20 | 14,884 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ImmutableMultisetTest.java | Java | asf20 | 13,176 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/AbstractIteratorTest.java | Java | asf20 | 7,643 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSetTest.java | Java | asf20 | 31,825 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/OrderingTest.java | Java | asf20 | 38,808 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ImmutableSetMultimapTest.java | Java | asf20 | 18,754 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/HashBiMapTest.java | Java | asf20 | 3,472 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ImmutableTableTest.java | Java | asf20 | 12,588 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/EnumBiMapTest.java | Java | asf20 | 10,242 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/LinkedHashMultisetTest.java | Java | asf20 | 3,382 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/EnumMultisetTest.java | Java | asf20 | 3,737 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableTableTest.java | Java | asf20 | 3,763 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ImmutableMapTest.java | Java | asf20 | 17,420 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/TablesTest.java | Java | asf20 | 2,337 |
/*
* Copyright (C) 2011 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/LenientSerializableTester.java | Java | asf20 | 1,314 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/HashBasedTableTest.java | Java | asf20 | 2,453 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMapTest.java | Java | asf20 | 23,212 |
/*
* Copyright (C) 2011 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/TreeTraverserTest.java | Java | asf20 | 4,360 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/TreeMultisetTest.java | Java | asf20 | 8,856 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/MultisetsTest.java | Java | asf20 | 11,138 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/AbstractImmutableSetTest.java | Java | asf20 | 13,921 |
/*
* Copyright (C) 2011 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/GeneralRangeTest.java | Java | asf20 | 7,780 |
/*
* Copyright (C) 2012 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMapTest.java | Java | asf20 | 2,096 |
/*
* Copyright (C) 2010 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/SortedListsTest.java | Java | asf20 | 3,686 |
/*
* Copyright (C) 2011 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ContiguousSetTest.java | Java | asf20 | 12,280 |
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/HashMultisetTest.java | Java | asf20 | 2,184 |
/*
* Copyright (C) 2013 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/MultimapBuilderTest.java | Java | asf20 | 1,667 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/Collections2Test.java | Java | asf20 | 14,062 |
/*
* Copyright (C) 2008 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ImmutableListMultimapTest.java | Java | asf20 | 18,256 |
/*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/net/super/com/google/common/net/InternetDomainNameTest.java | Java | asf20 | 12,564 |
/*
* Copyright (C) 2011 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zyd915-guava | guava-gwt/test-super/com/google/common/net/super/com/google/common/net/MediaTypeTest.java | Java | asf20 | 12,770 |
/* ***** 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... | zzbinfo-np-activex | transver/transver.cpp | C++ | mpl11 | 3,963 |
# 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.
import googlecode_upload
import tempfile
import urllib2
import optparse
import os
extensionid = 'lgllffgicojgllpmdbemgglaponefajn'
... | zzbinfo-np-activex | Tools/upload.py | Python | mpl11 | 1,501 |
import subprocess
import tempfile
import shutil
import os
import codecs
import json
import zipfile
class Packer:
def __init__(self, input_path, outputfile):
self.input_path = os.path.abspath(input_path)
self.outputfile = os.path.abspath(outputfile)
self.tmppath = None
def pack(self):
... | zzbinfo-np-activex | Tools/pack.py | Python | mpl11 | 2,602 |
#!/usr/bin/env python
#
# Copyright 2006, 2007 Google Inc. All Rights Reserved.
# Author: danderson@google.com (David Anderson)
#
# Script for uploading files to a Google Code project.
#
# This is intended to be both a useful script for people who want to
# streamline project uploads and a reference implementation for
... | zzbinfo-np-activex | Tools/googlecode_upload.py | Python | mpl11 | 9,200 |
// 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();
}
| zzbinfo-np-activex | chrome/inject_doreplace.js | JavaScript | mpl11 | 286 |
// 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... | zzbinfo-np-activex | chrome/common.js | JavaScript | mpl11 | 8,438 |
// 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"
... | zzbinfo-np-activex | 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 tabId = parseInt(location.href.replace(/.*tabid=([0-9]*).*/, '$1'));
if (isNaN(tabId)) {
alert('Invalid tab id');
}
var bac... | zzbinfo-np-activex | chrome/popup.js | JavaScript | mpl11 | 3,454 |
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';... | zzbinfo-np-activex | chrome/background.js | JavaScript | mpl11 | 800 |
<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>
</... | zzbinfo-np-activex | chrome/popup.html | HTML | mpl11 | 1,145 |
// 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... | zzbinfo-np-activex | chrome/inject_start.js | JavaScript | mpl11 | 4,493 |
// 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... | zzbinfo-np-activex | 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.
var backgroundPage = chrome.extension.getBackgroundPage();
var defaultTabId = parseInt(location.href.replace(/.*tabid=([0-9]*).*/, '... | zzbinfo-np-activex | chrome/log.js | JavaScript | mpl11 | 2,108 |
// 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.... | zzbinfo-np-activex | chrome/ObjectWithEvent.js | JavaScript | mpl11 | 953 |
<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>
... | zzbinfo-np-activex | chrome/share.html | HTML | mpl11 | 1,954 |
<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>
| zzbinfo-np-activex | 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.
var config;
function loadConfig(_resp) {
config = _resp;
$(document).ready(init);
}
function openPopup() {
var url = ch... | zzbinfo-np-activex | chrome/notifybar.js | JavaScript | mpl11 | 1,147 |
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... | zzbinfo-np-activex | chrome/notifybar.css | CSS | mpl11 | 560 |
// 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... | zzbinfo-np-activex | chrome/web.js | JavaScript | mpl11 | 1,139 |
<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... | zzbinfo-np-activex | chrome/log.html | HTML | mpl11 | 1,496 |
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... | zzbinfo-np-activex | chrome/options.css | CSS | 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.
List.types.input = function(p, prop) {
p[0].listdata = this;
this.p = p;
var input = this.input = $('<input></input>').addClas... | zzbinfo-np-activex | chrome/listtypes.js | JavaScript | mpl11 | 3,299 |
$(document).ready(function() {
var help = 'http://code.google.com/p/np-activex/wiki/ExtensionHelp?wl=';
help = help + $$('wikicode');
$('.help').each(function() {
this.href = help;
});
});
| zzbinfo-np-activex | chrome/welcome.js | JavaScript | mpl11 | 210 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"></meta>
<link rel="stylesheet" type="text/css" href="/welcome.css" />
<script src="/jquery.js"></script>
<script src="/i18n.js"></script>
<script src="/gas.js"></script>
<script src="/welcome.js"></script>
... | zzbinfo-np-activex | chrome/welcome.html | HTML | mpl11 | 2,597 |
// 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... | zzbinfo-np-activex | chrome/gas.js | JavaScript | mpl11 | 2,718 |
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... | zzbinfo-np-activex | chrome/popup.css | CSS | mpl11 | 507 |
<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... | zzbinfo-np-activex | chrome/options.html | HTML | mpl11 | 2,123 |
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... | zzbinfo-np-activex | chrome/rrshare.js | JavaScript | mpl11 | 6,671 |
// 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... | zzbinfo-np-activex | chrome/options.js | JavaScript | mpl11 | 7,041 |
// 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... | zzbinfo-np-activex | chrome/inject_actions.js | JavaScript | mpl11 | 6,862 |
<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... | zzbinfo-np-activex | chrome/notifybar.html | HTML | mpl11 | 527 |
.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... | zzbinfo-np-activex | chrome/list.css | CSS | mpl11 | 1,865 |
body {
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CCF), color-stop(0.4, white), to(white)) no-repeat;
line-height: 160%;
}
a:link {text-decoration:none;}
a:visited {text-decoration:none;}
#main {
margin-left: auto;
margin-right: auto;
width: 950px;
}
#icon {
margin-top: 30px;
... | zzbinfo-np-activex | chrome/welcome.css | CSS | mpl11 | 991 |
document.addEventListener('DOMContentLoaded', function() {
if (window.PocoUpload) {
document.all.PocoUpload.Document = document;
}
}, false); | zzbinfo-np-activex | chrome/settings/poco_upload.js | JavaScript | mpl11 | 149 |
scriptConfig.formid = true;
| zzbinfo-np-activex | chrome/settings/formid.js | JavaScript | mpl11 | 29 |
(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... | zzbinfo-np-activex | chrome/settings/clsid.js | JavaScript | mpl11 | 796 |
scriptConfig.none2block = true;
| zzbinfo-np-activex | chrome/settings/none2block.js | JavaScript | mpl11 | 33 |
<?php
file_put_contents($_POST['file'], $_POST['data']);
?>
| zzbinfo-np-activex | chrome/settings/upload.php | PHP | mpl11 | 65 |
(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... | zzbinfo-np-activex | chrome/settings/dynamic.js | JavaScript | mpl11 | 1,221 |
window.addEventListener('load', function() {Exobud.URL = objMmInfo[0].mmUrl}, false); | zzbinfo-np-activex | chrome/settings/_tipzap_player.js | JavaScript | mpl11 | 85 |
(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... | zzbinfo-np-activex | chrome/settings/popup.js | JavaScript | mpl11 | 2,138 |
(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 {... | zzbinfo-np-activex | chrome/settings/createElement.js | JavaScript | mpl11 | 556 |
(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);
... | zzbinfo-np-activex | chrome/settings/map_id_name.js | JavaScript | mpl11 | 329 |
navigator.cpuClass='x86';
| zzbinfo-np-activex | chrome/settings/cpuclass.js | JavaScript | mpl11 | 26 |
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... | zzbinfo-np-activex | chrome/settings/_cloudzz.js | JavaScript | mpl11 | 403 |
(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... | zzbinfo-np-activex | chrome/settings/IEEvent.js | JavaScript | mpl11 | 532 |
(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);
})();
| zzbinfo-np-activex | chrome/settings/ieidname.js | JavaScript | mpl11 | 290 |
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() ... | zzbinfo-np-activex | 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) {
... | zzbinfo-np-activex | chrome/settings/cmb_pay.js | JavaScript | mpl11 | 1,943 |
scriptConfig.activate_inplace = true;
| zzbinfo-np-activex | chrome/settings/activate_inplace.js | JavaScript | mpl11 | 39 |
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.
... | zzbinfo-np-activex | chrome/settings/95559_submit.js | JavaScript | mpl11 | 449 |
scriptConfig.documentid = true;
| zzbinfo-np-activex | chrome/settings/documentid.js | JavaScript | mpl11 | 33 |
window.addEventListener('load', function(){
if (IE_FingerPrint)
IE_FingerPrint = FingerPrint;
}, false);
| zzbinfo-np-activex | chrome/settings/boc_disable_fingerprint.js | JavaScript | mpl11 | 115 |
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... | zzbinfo-np-activex | chrome/settings/js_syntax.js | JavaScript | mpl11 | 546 |
(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... | zzbinfo-np-activex | chrome/settings/bugu_patch.js | JavaScript | mpl11 | 700 |
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];
... | zzbinfo-np-activex | chrome/share.js | JavaScript | mpl11 | 4,556 |
// 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... | zzbinfo-np-activex | chrome/list.js | JavaScript | mpl11 | 11,702 |
/* ***** 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... | zzbinfo-np-activex | 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... | zzbinfo-np-activex | ffactivex/GenericNPObject.cpp | C++ | mpl11 | 13,001 |
/* ***** 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... | zzbinfo-np-activex | ffactivex/Host.cpp | C++ | mpl11 | 4,946 |
comment ?
/* ***** 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.moz... | zzbinfo-np-activex | ffactivex/atlthunk_asm.asm | Assembly | mpl11 | 2,081 |
/* ***** 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... | zzbinfo-np-activex | ffactivex/atlthunk.h | C | mpl11 | 2,219 |
/* ***** 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... | zzbinfo-np-activex | ffactivex/axhost.h | C++ | mpl11 | 3,248 |
/* -*- 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... | zzbinfo-np-activex | 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... | zzbinfo-np-activex | ffactivex/ObjectManager.cpp | C++ | mpl11 | 5,998 |