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
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 && |
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
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]; |
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
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(); | |
} |