2016-04-25 65 views
0

我正在使用自定义网格在仪表板小部件上显示我的故事。我也想看看我的故事。除非我手动点击小三角形图像和展开行以显示故事下的任务,否则无法完成此操作。有没有办法通过设置或脚本像tampermonkey自动执行此操作?展开拉力赛自定义网格行以自动显示任务

+0

回答这个问题的人是否在意解释? – PAS

回答

0

我能用tampermonkey实现这个功能!

// ==UserScript== 
// @name   Expand Rally Tasks 
// @namespace http://tampermonkey.net/ 
// @version  0.1 
// @description try to take over the world! 
// @author  Main Shayar Badnam 
// @match  https://rally1.rallydev.com/ 
// @grant  none 
// ==/UserScript== 

(function() { 
    'use strict'; 
    setTimeout(
     function() { 
      $('.x4-tree-elbow-img.x4-tree-elbow-plus.x4-tree-expander').click();$('.x4-tree-elbow-img.x4-tree-elbow-end-plus.x4-tree-expander').click(); 
     } 
     ,2000 
    ); 
    $().ready(); 
})(); 
+0

谁在投票?请解释,只是downvote没有帮助。 – PAS

相关问题