This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
# CREATE MANY ORGANIZATIONS & ORGANIZATION MEMBERSHIPS, THEN REMOVE THEM | |
Copy and paste this entire snippet into your browser's JS console, while within | |
/agent and authenticated as an admin. Account must have multi-org feature. | |
jQuery is required, because lazy. | |
USAGE: createManyOrgsAndMemberships(userId, numOrganizations, orgNamePrefix) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var drops = 'Selected drops: \n\n'; | |
$("#recent-drops #listing li section input:checked") | |
.each(function(i, elem) { | |
var href = $(elem).parent().parent().find(".type a").prop('href'); | |
drops += href + "\n"; | |
}); | |
console.log(drops); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stories = 'Selected stories: \n\n'; | |
jQuery("#ghx-content-group .ghx-selected") | |
.each(function(i, elem) { | |
var href = jQuery(elem).find(".ghx-end a").prop('href'), | |
title = jQuery(elem).find(".ghx-summary").text(), | |
type = jQuery(elem).find(".ghx-type").prop('title'); | |
stories += '[' + type + '] ' + title + "\n" + href + "\n\n"; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
return ZendeskApps.defineApp(ZendeskApps.Site.TICKET_PROPERTIES, { | |
appID: '/apps/01-highrise/versions/1.0.0', | |
name: 'Highrise', | |
defaultSheet: 'loading', | |
dependencies: { | |
currentTicketID: 'workspace.ticket.id', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Please take note of the following when using this JavaScript snippet: | |
* | |
* 1. It's provided as is, is not an officially support Zendesk widget | |
* no matter whom the author may be working for. | |
* 2. You are very welcome to fork this, in fact I encourage it if you | |
* have some awesome changes! | |
* 3. You'll notice a short delay before the permalinks display or indeed | |
* before the page scrolls to the permalink location. This is intended. | |
* |