Skip to content

Instantly share code, notes, and snippets.

View AldanaQuintana's full-sized avatar
❤️
Tests lover

Dana AldanaQuintana

❤️
Tests lover
View GitHub Profile
javascript:(function(){
if(window.location["href"].match("slack") == null){ return; }
var editIfDblClick = function(){
document.addEventListener('dblclick', function(e){
var target = e.target;
if(target.hasAttribute('class', 'message_body')){
target.closest("ts-message").getElementsByClassName("action_hover_container")[0].querySelector("a[data-action='actions_menu']").click();
document.getElementById("edit_link").click();
}
javascript:(function(){
if(window.location["href"].match("trello") == null){ return; }
var uploadDom = function(){
var lists = document.getElementsByClassName("js-list-content");
for (var i = 0; i < lists.length; i++) {
var listStoryPoints = 0;
var list = lists[i];
var headerTextArea = list.getElementsByClassName("list-header-name")[0];
@AldanaQuintana
AldanaQuintana / ctrl_d_select.user.js
Last active November 14, 2015 04:48
Chrome extension to have ctrl + d sublime shortcut everywhere
javascript:(function(){
var d_code = 68;
var space_code = 32;
var enter_code = 10;
function validatePosition(text, position){
return (
text[position] &&
text[position].charCodeAt(0) != space_code &&
text[position].charCodeAt(0) != enter_code &&