Userscript for www.hitouba.com

定制Hi投吧网站的用户后台菜单、顶部菜单

  1. // ==UserScript==
  2. // @name Userscript for www.hitouba.com
  3. // @namespace http://www.yuexiaohome.com/hitouba
  4. // @version 0.83
  5. // @description customize www.hitouba.com user account menu and top menu
  6. // @description:zh-CN 定制Hi投吧网站的用户后台菜单、顶部菜单
  7. // @author Ivan Chen
  8. // @grant none
  9. // @require http://code.jquery.com/jquery-2.1.1.min.js
  10. // @include http://www.hitouba.com/*
  11. // ==/UserScript==
  12. jQuery("div.userMenu dd").show();
  13. jQuery(".userMenu dd a").css("line-height","30px").css("height","30px");
  14. jQuery(".userMenu dt").hide();
  15. jQuery(".userMenu dd a u").hide();
  16. jQuery("dl.lastMenu dd a").eq(1).hide();
  17. jQuery("dl.lastMenu dd a").eq(3).hide();
  18. jQuery(".userMenu dl:eq(2)").hide();
  19. jQuery(".userMenu dl:eq(3)").hide();
  20. //jQuery(".dl-link").hide();
  21. jQuery(".topRight a").removeClass("zc-link");
  22.  
  23. jQuery("div.quickLink1").after('<a href="/other/tender_list.jhtml" >发标预告</a>');
  24. //jQuery("div.quickLink1").after('<a href="/task/queryUserTaskList.jhtml">任务大厅</a>');
  25.  
  26. //优化投资记录页面
  27. jQuery(".mList-con td>a").each(function(){
  28. jQuery(this).text(jQuery(this).attr("title"));});
  29. jQuery(".record td").css("line-height", "15px");
  30. jQuery("td.ui-widget-content>div").css("min-height","56px");
  31.  
  32. //优化导航
  33. jQuery("span.phone").before('<a href="http://www.hitouba.com/" >首页</a>&nbsp;&nbsp;');
  34. jQuery("span.weixin").after('&nbsp;&nbsp;<a href="/index/dataListGraph.jhtml" >平台数据</a>');
  35. jQuery("span.weixin").after('&nbsp;&nbsp;<a href="/aboutUs/index.jhtml" >关于我们</a>');
  36. jQuery("span.weixin").after('&nbsp;&nbsp;<a href="/busi/i-want-invest/forward-invest-list/borrowing.jhtml">我要理财</a>');
  37. jQuery("div.nav").hide();