Skip to content

Instantly share code, notes, and snippets.

(function($){
$.fn.popupWindow = function(instanceSettings){
return this.each(function(){
$(this).click(function(){
$.fn.popupWindow.defaultSettings = {
centerBrowser:0, // center window over browser window? {1 (YES) or 0 (NO)}. overrides top and left
centerScreen:0, // center window over entire screen? {1 (YES) or 0 (NO)}. overrides top and left
<!--
Copyright (c) 2011, salesforce.com, inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided
that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the
following disclaimer.
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Last Try">
<!-- Declare feature dependencies. -->
<!-- This one is not specific to Gmail contextual gadgets. -->
<Require feature="dynamic-height"/>
/*!
* jQuery JavaScript Library v1.9.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
<?PHP
// Script: Simple PHP Proxy: Get external HTML, JSON and more!
//
// *Version: 2.0, Last updated: 4/15/2011*
//
// Original locations:
// Project Home - http://benalman.com/projects/php-simple-proxy/
// GitHub - http://github.com/cowboy/php-simple-proxy/
// Source - http://github.com/cowboy/php-simple-proxy/raw/master/ba-simple-proxy.php
/*
* Copyright (c) 2011, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
*
@Sujit1987
Sujit1987 / AuthoTestingSF.xml
Last active December 29, 2015 07:39
AuthoTestingSF
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="OAuth Test Client for Salesforce"
description="OAuth Test Client for Salesforce OAuth"
author="Shinichi Tomita"
author_email="shinichi.tomita@gmail.com">
<Require feature="opensocial-0.8" />
<Require feature="dynamic-height" />
<Require feature="oauthpopup" />
<OAuth>
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Stupidest SF OAuth">
<Require feature="opensocial-0.8" />
<Require feature="dynamic-height" />
<Require feature="oauthpopup" />
<Require feature="dynamic-height"/>
<Require feature="google.contentmatch">