code
stringlengths
1
2.08M
language
stringclasses
1 value
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback($...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['@a...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. (function() { let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. (function() { let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const app_info = Cc['@mozilla.org/xre/app-info;1'].getService(Ci.nsIXULAppInfo); const logging = { levels: { INFO: ['INFO', 10], ...
JavaScript
let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback($('adban-complaint-site-url').value, $('adban-complaint-comment').value); }; let init = function() { $('adban-complaint-site-url').value = window.arg...
JavaScript
let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['@ad-ban.appspot.com/adban;1'].getService().wrappedJSObject; let logging = adban.logging; let pref_branch = adban.pref_branch; let $ = function(id) {...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
// Use strict mode. https://developer.mozilla.org/en/JavaScript/Strict_mode . "use strict"; // It is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const...
JavaScript
// Use strict mode. https://developer.mozilla.org/en/JavaScript/Strict_mode . "use strict"; // use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback...
JavaScript
// Use strict mode. https://developer.mozilla.org/en/JavaScript/Strict_mode . "use strict"; // use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const SCHEME_REGEXP = new R...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const app_inf...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback($...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['@a...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const SCHEME_REGEXP = new RegExp('^[a-z]+:/{2}?', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('^[a-z]+:/{2}?[^/]*'...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const app_inf...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback($...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['@a...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback($...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['@a...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const SCHEME_REGEXP = new RegExp('^[a-z]+:/{2}?', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('^[a-z]+:/{2}?[^/]*'...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const SCHEME_REGEXP = new RegExp('^[a-z]+:/{2}?', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('^[a-z]+:/{2}?[^/]*'...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. (function() { let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. (function() { let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. (function() { let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. (function() { let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const logging = { levels: { INFO: ['INFO', 10], WARNING: ['WARNING', 20], ERROR: ['ERROR', 30], NONE: ['NONE', 40],...
JavaScript
let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback($('adban-complaint-site-url').value, $('adban-complaint-comment').value); }; let init = function() { $('adban-complaint-site-url').value = window.arg...
JavaScript
let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['@ad-ban.appspot.com/adban;1'].getService().wrappedJSObject; let logging = adban.logging; let pref_branch = adban.pref_branch; let $ = function(id) {...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const app_inf...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let $ = function(id) { return document.getElementById(id); }; let complaint_callback = window.arguments[0]; let cmdDialogAccept = function() { complaint_callback($...
JavaScript
// use this scoping hack in order to hide objects defined inside the branch // with the 'let' statement from the global scope. if (true) { let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['@a...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const SCHEME_REGEXP = new RegExp('^[a-z]+:/{2}?', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('^[a-z]+:/{2}?[^/]*'...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
// it is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const Cr = Components.results; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); const ADDON_V...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback = window.arguments[0]; const cmdDialogAccept = function() { complaint_callback($('adb...
JavaScript
// use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const TEST_SCHEME_REGEXP = new RegExp('^[a-z]+:', 'i'); const SCHEME_AND_HOST_REGEXP = new RegExp('[^:]+:/{2}?[^/]*');...
JavaScript
// Use strict mode. https://developer.mozilla.org/en/JavaScript/Strict_mode . "use strict"; // It is safe defining objects in the global scope of the XPCOM component, // since they aren't visible outside the component. const Cu = Components.utils; const Ci = Components.interfaces; const Cc = Components.classes; const...
JavaScript
// Use strict mode. https://developer.mozilla.org/en/JavaScript/Strict_mode . "use strict"; // use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const $ = function(id) { return document.getElementById(id); }; const complaint_callback...
JavaScript
// Use strict mode. https://developer.mozilla.org/en/JavaScript/Strict_mode . "use strict"; // use this scoping hack in order to hide objects defined inside the anonymous function // from the global scope. (function() { const Cc = Components.classes; const Ci = Components.interfaces; const SCHEME_REGEXP = new R...
JavaScript
$(document).ready(function() { //When page loads... $(".tab_content").hide(); //Hide all content $("ul.tabs li:first").addClass("active").show(); //Activate first tab $(".tab_content:first").show(); //Show first tab content //On Click Event $("ul.tabs li").click(function() { $("ul.tabs li").remo...
JavaScript
function preloadImages(imgs){ var picArr = []; for (i = 0; i<imgs.length; i++){ picArr[i]= new Image(100,100); picArr[i].src=imgs[i]; } }
JavaScript
/* * jQuery Nivo Slider v2.7.1 * http://nivo.dev7studios.com * * Copyright 2011, Gilbert Pellegrom * Free to use and abuse under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * March 2010 */ (function($) { var NivoSlider = function(element, options){ //Defaults ...
JavaScript
/* * MAINTAINED BY IETAB.NET (http://www.ietab.net) * * Copyright (c) 2005 yuoo2k <yuoo2k@gmail.com> * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Lic...
JavaScript
// Status bar drag and drop functionality based off of example code from // http://kb.mozillazine.org/Dev_:_Extensions_:_Example_Code_:_Adding_Drag_and_Drop_to_Statusbarpanel // // // Updates: // // 2/24/10: ietab.net -- Converted to new ietab2 namespace. // const gIetab2_flavour = "ie_tab2/statusbarpanel"; cons...
JavaScript
// // Updates: // // 2/24/10: ietab.net -- Converted to new ietab2 namespace. // var IeTab2ExtApp = { HKEY_CLASSES_ROOT: 0, HKEY_CURRENT_CONFIG: 1, HKEY_CURRENT_USER: 2, HKEY_LOCAL_MACHINE: 3, HKEY_USERS: 4, getRegistryEntry: function(regRoot, regPath, regName) { try { if ("@mozilla.o...
JavaScript
// // Updates: // // 2/24/10: ietab.net -- Converted to new ietab2 namespace. // 3/9/10: ietab.net -- Support import of settings form ietab // function IeTab2() {} IeTab2.prototype = { IExploreExePath: "" } IeTab2.prototype.getPrefFilterList = function() { var s = this.getStrPref("extensions.ietab2.filterlist"...
JavaScript
/* * MAINTAINED BY IETAB.NET (http://www.ietab.net) * * Copyright (c) 2005 yuoo2k <yuoo2k@gmail.com> * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Lic...
JavaScript
//----------------------------------------------------------------------------- // Updates: // // 2/24/10: ietab.net -- Converted to new ietab2 namespace. // IeTab2.prototype.mlog = function(text) { Components.classes["@mozilla.org/consoleservice;1"] .getService(Components.interfaces.nsIConsoleService) .log...
JavaScript
pref("extensions.ietab2.filter", true); pref("extensions.ietab2.filterlist", "/^file:\/\/\/.*\.(mht|mhtml)$/ http://*update.microsoft.com/* http://www.windowsupdate.com/*"); pref("extensions.ietab2.toolsmenu", true); pref("extensions.ietab2.toolsmenu.icon", false); pref("extensions.ietab2.statusbar", true); pref("e...
JavaScript
function showrecentpostswiththumbs(json) {document.write('<ul class="recent_posts_with_thumbs">'); for (var i = 0; i < numposts; i++) {var entry = json.feed.entry[i];var posttitle = entry.title.$t;var posturl;if (i == json.feed.entry.length) break;for (var k = 0; k < entry.link.length;k++){ if(entry.link[k].rel=='repl...
JavaScript
/* * Log_style.js * Javascript file for logging for Adanna. * Written by: Nathan Lane * Last Updated: 05/07/2007 * Copyright (C) 2007, Vehix.com */ function showAll() { document.getElementById("passState").className = passTitleStyle; document.getElementById("pass").className = passStyle; document....
JavaScript
/** * LavaLamp - A menu plugin for jQuery with cool hover effects. * @requires jQuery v1.1.3.1 or above * * http://gmarwaha.com/blog/?p=7 * * Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http:/...
JavaScript
$(function() { var c = $.cookie("cooUserID") + $.cookie("cooUserName") + $.cookie("cooAvatar"); // alert(c); });
JavaScript
 $(function() { // Datepicker $('#regDate').datepicker({ inline: true }); // $(".operaContentTable tr").mouseover(function() { // alert("adsf"); $(this).addClass("Over"); }).mouseout(function() { $(this).removeClass("Over"); }).click(function() ...
JavaScript
$(function() { var currUserID = $.cookie("cooUserID"); $("#1").lavaLamp({ fx: "backout", speed: 700, click: function(event, menuItem) { var mItem = menuItem.innerText; switch (mItem) { case "首页": { ...
JavaScript
//# jQuery - Horizontal Accordion //# Version 2.00.00 Alpha 1 //# //# portalZINE(R) - New Media Network //# http://www.portalzine.de //# //# Alexander Graef //# portalzine@gmail.com //# //# Copyright 2007-2009 (function($) { $.hrzAccordion = { setOnEvent: function(i, container, finalWidth, settings){...
JavaScript
$(function() { // alert($.cookie("cooUserID") + $.cookie("cooUserName")); // 判断登录 //if ($.cookie("cooUserID") == null || $.cookie("cooUserName") == null) { // location.href = "/notify/browse"; //} // Datepicker $('#NotifyDate').datepicker({ inline: true }); ...
JavaScript
$(document).ready(function() { $(".test").hrzAccordion({eventTrigger:"mouseover",openOnLoad:"",cycle: true}); $(".test4").hrzAccordion({eventTrigger:"mouseover",openOnLoad:"2",handlePositionArray: "left,left,right,right,right"}); $(".test2").hrzAccordion({handlePosition :"right", openOnLoad ...
JavaScript
$(function() { $("#productTabs").tabs(); });
JavaScript
/* Nifty Corners Cube - rounded corners with CSS and Javascript Copyright 2006 Alessandro Fulciniti (a.fulciniti@html.it) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the ...
JavaScript
$(function() { // Dialog $('#dialog').dialog({ autoOpen: false, width: 600, buttons: { "Ok": function() { $(this).dialog("close"); $('#bgDiv').removeClass(); $('#bgDiv').addClass("bgDiv") }, ...
JavaScript
$(function() { // Datepicker $('#gSD').datepicker({ inline: true }); $('#eSD').datepicker({ inline: true }); // Tabs $('#tabs').tabs(); // $("#tabs-2").trigger("click"); $(".operaContentTable tr").mouseover(function() { // alert("adsf"); ...
JavaScript
$(function() { // alert($.cookie("cooUserID") + $.cookie("cooUserName")); // 判断登录 if ($.cookie("cooUserID") != null || $.cookie("cooUserName") != null) { location.href = "/notify/index"; } });
JavaScript
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright © 2008 George McGinley Smith * All rights reserved. * ...
JavaScript
/** * Cookie plugin * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ /** * Create a cookie with the given name and value and other optional parameters. ...
JavaScript