My HKG Style

My Style using at HKGolden

  1. // ==UserScript==
  2. // @name My HKG Style
  3. // @namespace https://greasyfork.org/users/1006-peach
  4. // @version 1.1.12
  5. // @description My Style using at HKGolden
  6. // @homepageURL https://greasyfork.org/users/1006-peach
  7. // @include http://*.hkgolden.com/topics.aspx*
  8. // @include http://*.hkgolden.com/view.aspx*
  9. // @include http://*.hkgolden.com/*rofile*age.aspx*
  10. // @include http://*.hkgolden.com/*earch*.aspx*
  11. // @include http://*.hkgolden.com/secondHand.aspx*
  12. // @include http://*.hkgolden.com/addSecondHand.aspx*
  13. // @include http://*.hkgolden.com/post.aspx*
  14. // @include http://*.hkgolden.com/login.aspx*
  15. // @include https://*.hkgolden.com/topics.aspx*
  16. // @include https://*.hkgolden.com/view.aspx*
  17. // @include https://*.hkgolden.com/*rofile*age.aspx*
  18. // @include https://*.hkgolden.com/*earch*.aspx*
  19. // @include https://*.hkgolden.com/secondHand.aspx*
  20. // @include https://*.hkgolden.com/addSecondHand.aspx*
  21. // @include https://*.hkgolden.com/post.aspx*
  22. // @include https://*.hkgolden.com/login.aspx*
  23. // @include https://*.hkgolden.com/SendPM.aspx*
  24. // @require http://code.jquery.com/jquery-1.10.2.min.js
  25. // @copyright 2015-2017, Peach
  26. // ==/UserScript==
  27.  
  28. var currentServer;
  29. currentServer = window.location.href.match(/(forum\d+|forum|search|profile|archive)/)[0];
  30.  
  31. setTimeout(function() {
  32.  
  33. // 頂部藍啡黃BRA + Logo
  34. jQuery('#aspnetForm > table:eq(0)').remove();
  35.  
  36. // 頂部空白
  37. jQuery('.PageMiddleFunctions').remove();
  38. jQuery('.PageMiddleBox').css('padding', '0 4px').css('width', '947px');
  39. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div[style="height:5px"]:eq(0)').remove();
  40. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(2)').css('height', '0');
  41.  
  42. // 頂部斷行
  43. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > br:eq(0)').remove();
  44. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(0) > br:eq(0)').remove();
  45. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(0) > br:eq(0)').remove();
  46. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(0) > br:eq(0)').remove();
  47. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(0) > br:last').remove();
  48. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(0) > br:last').remove();
  49.  
  50. jQuery('#ctl00_ContentPlaceHolder1_view_form > table:eq(0) > tbody > tr:eq(0) > td:eq(0) > div:eq(0) > br:eq(0)').remove();
  51. jQuery('#ctl00_ContentPlaceHolder1_view_form > table:eq(0) > tbody > tr:eq(0) > td:eq(0) > div:eq(0) > br:eq(0)').remove();
  52. jQuery('#ctl00_ContentPlaceHolder1_view_form > table:eq(0) > tbody > tr:eq(0) > td:eq(0) > div:eq(0) > br:eq(0)').remove();
  53. jQuery('#ctl00_ContentPlaceHolder1_view_form > table:eq(0) > tbody > tr:eq(0) > td:eq(0) > div:eq(0) > br:last').remove();
  54. jQuery('#ctl00_ContentPlaceHolder1_view_form > table:eq(0) > tbody > tr:eq(0) > td:eq(0) > div:eq(0) > br:last').remove();
  55.  
  56. // 頂部闊度
  57. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0)').css('width', '100%');
  58. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(1)').css('width', '0%');
  59.  
  60. // 閣下膠名
  61. jQuery('.ContentPanel a[href^="ProfilePage.aspx?userid="]:eq(0)').css('font-size', '16px').css('font-weight', 'bold');
  62.  
  63. // [公司模式-關]
  64. jQuery('#ctl00_ContentPlaceHolder1_view_form > table:eq(0) > tbody > tr:eq(0) > td:eq(0) > div:eq(0)').css('font-size', '12px').css('font-weight', 'normal');
  65.  
  66. // 您現在聚腳在
  67. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(0)').css('font-size', '12px').css('font-weight', 'normal');
  68. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(0) > span:eq(0)').css('font-size', '16px').css('font-weight', 'bold');
  69. jQuery('.ContentPanel > table:eq(0) > tbody:eq(0) > tr:eq(0) > td:eq(0) > div:eq(0) > b:eq(0)').css('font-size', '12px').css('font-weight', 'normal');
  70.  
  71. jQuery('#ctl00_ContentPlaceHolder1_view_form > table:eq(0) > tbody > tr:eq(0) > td:eq(0) > div:eq(0) > b:eq(0)').css('font-weight', 'normal');
  72.  
  73. // 搜尋BRA
  74. jQuery('.Topic_FunctionPanel > div:eq(0) > br:eq(0)').remove();
  75. jQuery('.Topic_FunctionPanel > div:eq(0) > br:eq(0)').remove();
  76. jQuery('.Topic_FunctionPanel > div:eq(1) > br:eq(0)').remove();
  77. jQuery('.Topic_FunctionPanel > div:eq(0) > a > img[alt="New"]').css('border-width', '0px').css('vertical-align', 'bottom');
  78. jQuery('.HitSearchText').css('font-size', '12px');
  79. jQuery('a.hitsearch_link').css('font-size', '12px');
  80. jQuery('.Topic_FunctionPanel').css('margin', '0');
  81.  
  82. // Google自訂搜尋
  83. jQuery('.Topic_FunctionPanel > div:eq(1) > div:eq(0)').css('float', 'left').css('margin-right', '5px').css('margin-bottom', '0');
  84. jQuery('.Topic_FunctionPanel > div:eq(1) > div:eq(1)').css('float', 'right').css('margin-bottom', '0');
  85.  
  86. // » 高登主頁 »
  87. jQuery('#ctl00_ContentPlaceHolder1_view_form > div:eq(1)').css('float', 'left').css('padding', '0');
  88. jQuery('#ctl00_ContentPlaceHolder1_view_form > div:eq(2)').css('float', 'right').css('padding', '0');
  89. jQuery('#ctl00_ContentPlaceHolder1_view_form > div:eq(3)').css('clear', 'both');
  90.  
  91. // 投票站
  92. var $voting=jQuery('#ctl00_ContentPlaceHolder1_votingThreadMsg').html();
  93. if($voting){
  94. jQuery('#ctl00_ContentPlaceHolder1_votingThreadMsg').remove();
  95. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend(' ['+$voting+'] ');
  96. }
  97.  
  98. // 提名每月之星
  99. var $nominate=jQuery('#ctl00_ContentPlaceHolder1_nominateLabel').html();
  100. if($nominate){
  101. jQuery('#ctl00_ContentPlaceHolder1_nominateLabel').remove();
  102. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend(' ['+$nominate+'] ');
  103. }
  104.  
  105. // 精選文章
  106. if (jQuery('#Iframe1').length !== 0) {
  107. var t=0;
  108. jQuery('#Iframe1').parent().css({'display': 'block'});
  109. jQuery('#Iframe1').parent().css({'height': '0px'});
  110. jQuery('#Iframe1').css({'height': '0px'});
  111. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="topart" href="#">精選文章</a>] ');
  112. jQuery('.topart').click(function(){
  113. if(t===0){
  114. jQuery('#Iframe1').animate({'height':'240px'});
  115. jQuery('#Iframe1').parent().animate({'height':'255px'});
  116. t=1;
  117. }else{
  118. jQuery('#Iframe1').animate({'height':'0px'});
  119. jQuery('#Iframe1').parent().animate({'height':'0px'});
  120. t=0;
  121. }
  122. });
  123. }
  124.  
  125. // 高登指數
  126. if (jQuery('#ddtabs1').length !== 0) {
  127. var gi=0;
  128. jQuery('#ddtabs1').parent().css({'display': 'block'});
  129. jQuery('#ddtabs1').parent().css({'height': '0px'});
  130. var ddtabsH=jQuery('.tabcontainer').height()+40;
  131. jQuery('#ddtabs1').hide();
  132. jQuery('#ddtabs1').parent().find('.tabcontainer').hide();
  133. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="goldenIndex" href="#">高登指數</a>] ');
  134. jQuery('.goldenIndex').click(function(){
  135. if(gi===0){
  136. jQuery('#ddtabs1 .current').removeClass('current');
  137. jQuery('#ddtabs1 [rel="sc2"]').addClass('current');
  138. jQuery('#sc1').hide();
  139. jQuery('#sc3').hide();
  140. jQuery('#sc2').show();
  141. jQuery('#ddtabs1').parent().animate({'height':ddtabsH});
  142. jQuery('#ddtabs1').show();
  143. jQuery('#ddtabs1').parent().find('.tabcontainer').show();
  144. gi=1;
  145. }else{
  146. jQuery('#ddtabs1').parent().animate({'height':'0px'});
  147. jQuery('#ddtabs1').hide();
  148. jQuery('#ddtabs1').parent().find('.tabcontainer').hide();
  149. gi=0;
  150. }
  151. });
  152. }
  153.  
  154. // 直播台
  155. if (jQuery('[style="height:255px;"] > iframe').length !== 0) {
  156. var jt=0;
  157. jQuery('[style="height:255px;"] > iframe').addClass('jt');
  158. jQuery('.jt').parent().css({'display': 'block'});
  159. jQuery('.jt').parent().css({'height': '0px'});
  160. jQuery('.jt').css({'height': '0px'});
  161. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="topjt" href="#">直播台活動表</a>] ');
  162. jQuery('.topjt').click(function(){
  163. if(jt===0){
  164. jQuery('.jt').animate({'height':'260px'});
  165. jQuery('.jt').parent().animate({'height':'260px'});
  166. jt=1;
  167. }else{
  168. jQuery('.jt').animate({'height':'0px'});
  169. jQuery('.jt').parent().animate({'height':'0px'});
  170. jt=0;
  171. }
  172. });
  173. }
  174.  
  175. // 熱門著數
  176. if (jQuery('[style="height:291px;"] > iframe').length !== 0) {
  177. var hj=0;
  178. jQuery('[style="height:291px;"] > iframe').addClass('hj');
  179. jQuery('.hj').parent().css({'display': 'block'});
  180. jQuery('.hj').parent().css({'height': '0px'});
  181. jQuery('.hj').css({'height': '0px'});
  182. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="tophj" href="#">熱門著數</a>] ');
  183. jQuery('.tophj').click(function(){
  184. if(hj===0){
  185. jQuery('.hj').animate({'height':'260px'});
  186. jQuery('.hj').parent().animate({'height':'260px'});
  187. hj=1;
  188. }else{
  189. jQuery('.hj').animate({'height':'0px'});
  190. jQuery('.hj').parent().animate({'height':'0px'});
  191. hj=0;
  192. }
  193. });
  194. }
  195.  
  196. // 熱門著數@view.aspx
  197. if (jQuery('[style="height:290px;"] > iframe').length !== 0) {
  198. var hj2=0;
  199. jQuery('[style="height:290px;"] > iframe').addClass('hj2');
  200. jQuery('.hj2').parent().css({'display': 'block'});
  201. jQuery('.hj2').parent().css({'height': '0px'});
  202. jQuery('.hj2').css({'height': '0px'});
  203. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="tophj2" href="#">熱門著數</a>] ');
  204. jQuery('.tophj2').click(function(){
  205. if(hj2===0){
  206. jQuery('.hj2').animate({'height':'260px'});
  207. jQuery('.hj2').parent().animate({'height':'260px'});
  208. hj2=1;
  209. }else{
  210. jQuery('.hj2').animate({'height':'0px'});
  211. jQuery('.hj2').parent().animate({'height':'0px'});
  212. hj2=0;
  213. }
  214. });
  215. }
  216.  
  217. // MTGamer
  218. if (jQuery('#mtblock').length !== 0) {
  219. var mt=0;
  220. jQuery('#mtblock').addClass('mt');
  221. jQuery('.mt').css({'display': 'block', 'overflow': 'hidden'});
  222. jQuery('.mt').css({'height': '0px'});
  223. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="topmt" href="#">MTGamer</a>] ');
  224. jQuery('.topmt').click(function(){
  225. if(mt===0){
  226. jQuery('.mt').animate({'height':'260px'});
  227. mt=1;
  228. }else{
  229. jQuery('.mt').animate({'height':'0px'});
  230. mt=0;
  231. }
  232. });
  233. }
  234.  
  235. // MTGamer@20161113
  236. if (jQuery('[style="height:291px;"] > .container').length !== 0) {
  237. var mt2=0;
  238. jQuery('[style="height:291px;"] > .container').addClass('mt2');
  239. jQuery('.mt2').parent().css({'display': 'block', 'overflow': 'hidden'});
  240. jQuery('.mt2').parent().css({'height': '0px'});
  241. jQuery('.mt2').css({'height': '0px'});
  242. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="topmt2" href="#">MTGamer</a>] ');
  243. jQuery('.topmt2').click(function(){
  244. if(mt2===0){
  245. jQuery('.mt2').animate({'height':'260px'});
  246. jQuery('.mt2').parent().animate({'height':'260px'});
  247. mt2=1;
  248. }else{
  249. jQuery('.mt2').animate({'height':'0px'});
  250. jQuery('.mt2').parent().animate({'height':'0px'});
  251. mt2=0;
  252. }
  253. });
  254. }
  255.  
  256. // MTGamer@20161114
  257. if (jQuery('#mtblock1').length !== 0) {
  258. var mt3=0;
  259. jQuery('#mtblock1').addClass('mt3');
  260. jQuery('.mt3').css({'display': 'block', 'overflow': 'hidden'});
  261. jQuery('.mt3').css({'height': '0px'});
  262. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="topmt3" href="#">MTGamer</a>] ');
  263. jQuery('.topmt3').click(function(){
  264. if(mt3===0){
  265. jQuery('.mt3').animate({'height':'260px'});
  266. mt3=1;
  267. }else{
  268. jQuery('.mt3').animate({'height':'0px'});
  269. mt3=0;
  270. }
  271. });
  272. }
  273.  
  274. // MTGamer@20170317
  275. if (jQuery('#mtblock2').length !== 0) {
  276. var mt4=0;
  277. jQuery('#mtblock2').addClass('mt4');
  278. jQuery('.mt4').css({'display': 'block', 'overflow': 'hidden'});
  279. jQuery('.mt4').css({'height': '0px'});
  280. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="topmt4" href="#">MTGamer</a>] ');
  281. jQuery('.topmt4').click(function(){
  282. if(mt4===0){
  283. jQuery('.mt4').animate({'height':'260px'});
  284. mt4=1;
  285. }else{
  286. jQuery('.mt4').animate({'height':'0px'});
  287. mt4=0;
  288. }
  289. });
  290. }
  291.  
  292. // 高登公告 in Topic page
  293. if (jQuery('.DivResizableBoxContainer').length !== 0) {
  294. var ann=0;
  295. var annHeight=jQuery('.DivResizableBoxContainer').height();
  296. jQuery('.DivResizableBoxContainer').css({'display': 'block'});
  297. jQuery('.DivResizableBoxContainer').css({'height': '0px'});
  298. jQuery('.DivResizableBoxContainer').hide();
  299. jQuery('#ctl00_ContentPlaceHolder1_lb_NewPM').prepend('&nbsp;[<a class="announce" href="#">高登公告</a>] ');
  300. jQuery('.announce').click(function(){
  301. if(ann===0){
  302. jQuery('.DivResizableBoxContainer').show();
  303. jQuery('.DivResizableBoxContainer').animate({'height':annHeight + 'px'});
  304. ann=1;
  305. }else{
  306. jQuery('.DivResizableBoxContainer').animate({'height':'0px'},400, function(){jQuery('.DivResizableBoxContainer').hide();});
  307. ann=0;
  308. }
  309. });
  310. }
  311.  
  312. //若果大家不想見到小圈子post (用日向的Ajax更新,更新後會再出現)
  313. if (jQuery('[style="background-color: #6EA0C4; color:white; font-family: Arial;"]').length !== 0) {
  314. jQuery('[style="background-color: #6EA0C4; color:white; font-family: Arial;"]').remove();
  315. }
  316. /*
  317. // 討論區守則 <- 會同二手區撞
  318. if (jQuery('.DivBoxContainer').length !== 0) {
  319. jQuery('.DivBoxContainer').remove();
  320. }
  321. */
  322. // 伸延閱讀
  323. if (jQuery('#ctl00_ContentPlaceHolder1_view_form > iframe').length !== 0) {
  324. jQuery('#ctl00_ContentPlaceHolder1_view_form > iframe').remove();
  325. }
  326.  
  327. // 頂部文字廣告
  328. if (jQuery('[id="Top Textlink Zone 1"]').length !== 0) {
  329. jQuery('[id="Top Textlink Zone 1"]').parent().remove();
  330. }
  331. if (jQuery('[id="Top Textlink Zone 2"]').length !== 0) {
  332. jQuery('[id="Top Textlink Zone 2"]').parent().remove();
  333. }
  334. if (jQuery('[id="Top Textlink Zone 3"]').length !== 0) {
  335. jQuery('[id="Top Textlink Zone 3"]').parent().remove();
  336. }
  337.  
  338. // 右上圖形廣告
  339. if (jQuery('[id="Crazy Ads Zone"]').length !== 0) {
  340. jQuery('[id="Crazy Ads Zone"]').parent().remove();
  341. }
  342. if (jQuery('[id="Large Rectangle"]').length !== 0) {
  343. jQuery('[id="Large Rectangle"]').parent().remove();
  344. }
  345. if (jQuery('[id="Entry Point"]').length !== 0) {
  346. jQuery('[id="Entry Point"]').parent().remove();
  347. }
  348.  
  349. // 搜尋BRA下方文字廣告
  350. if (jQuery('[id="Right Textlink Zone"]').length !== 0) {
  351. jQuery('[id="Right Textlink Zone"]').parent().remove();
  352. }
  353.  
  354. // 文章列表廣告
  355. if (jQuery('#mainTopicTable tr:not([userid] > td)').length !== 0) {
  356. jQuery('#mainTopicTable tr:not([userid]) > td').parent().remove();
  357. }
  358.  
  359. // 底部廣告Code
  360. if (jQuery('.ContentPanel > center').length !== 0) {
  361. jQuery('.ContentPanel > center').remove();
  362. }
  363.  
  364. if (jQuery('.FooterPanel').length !== 0) {
  365. jQuery('.FooterPanel').remove();
  366. }
  367.  
  368. // Topic page廣告
  369. if (jQuery('.myTestAd').parent().length !== 0) {
  370. jQuery('.myTestAd').parent().remove();
  371. }
  372. if (jQuery('[id^=MsgInLineAd]').parent().length !== 0) {
  373. jQuery('[id^=MsgInLineAd]').parent().remove();
  374. }
  375. if (jQuery('.repliers[border="1"]').parent().length !== 0) {
  376. jQuery('.repliers[border="1"]').parent().remove();
  377. }
  378. if (jQuery('.repliers > tr:not([userid] > td)').length !== 0) {
  379. jQuery('.repliers > tr:not([userid]) > td').remove();
  380. }
  381. if (jQuery('span[style="width:728px"]').length !== 0) {
  382. jQuery('span[style="width:728px"]').remove();
  383. }
  384.  
  385. // PM page廣告
  386. if (jQuery('[id^=PMInLineAd]').parent().parent().length !== 0) {
  387. jQuery('[id^=PMInLineAd]').parent().parent().remove();
  388. }
  389. // 發帖紀錄page廣告
  390. if (jQuery('#ctl00_ContentPlaceHolder1_dataLabel [id^=Span]').parent().parent().length !== 0) {
  391. jQuery('#ctl00_ContentPlaceHolder1_dataLabel [id^=Span]').parent().parent().remove();
  392. }
  393.  
  394. // Helianthus.annuus Menu
  395. setTimeout(function() {
  396. if (jQuery('#an').length !== 0) {
  397. jQuery('#an-mainmenu').css('top', '80px').css('font-size', '12px');
  398. jQuery('#an-buttons').css('left', 'initial').css('right', '5px').css('border-left', '0').css('padding-left', '0');
  399. }
  400. }, 500);
  401.  
  402. // 請選擇討論區
  403. jQuery('#forum_list').remove();
  404.  
  405. jQuery('body').append('<div style="position: fixed;right:5px;top:5px;">\
  406. <a href="http://'+currentServer+'.hkgolden.com/ProfilePage.aspx?userid=166365" style="font-size:12px;text-decoration:none;color:#808080;">My Page</a>&nbsp;\
  407. <select style="margin-bottom: 3px;" name="forum_list" id="forum_list" onchange="javascript: window.location.href = \'topics.aspx?sensormode=N&filtermode=N&md=90&type=\' + value;">\
  408. <option selected="selected" value="">請選擇討論區</option>\
  409. <option value="HT">高登熱</option>\
  410. <option value="NW">最 新</option>\
  411. <option value="OP">考古台</option>\
  412. <option value="ET">娛樂台</option>\
  413. <option value="CA">時事台</option>\
  414. <option value="FN">財經台</option>\
  415. <option value="GM">遊戲台</option>\
  416. <option value="HW">硬件台</option>\
  417. <option value="IN">電訊台</option>\
  418. <option value="SW">軟件台</option>\
  419. <option value="MP">手機台</option>\
  420. <option value="AP">Apps台</option>\
  421. <option value="SP">體育台</option>\
  422. <option value="LV">感情台</option>\
  423. <option value="SY">講故台</option>\
  424. <option value="ED">飲食台</option>\
  425. <option value="BB">親子台</option>\
  426. <option value="PT">寵物台</option>\
  427. <option value="TR">旅遊台</option>\
  428. <option value="CO">潮流台</option>\
  429. <option value="AN">動漫台</option>\
  430. <option value="TO">玩具台</option>\
  431. <option value="MU">音樂台</option>\
  432. <option value="VI">影視台</option>\
  433. <option value="DC">攝影台</option>\
  434. <option value="ST">學術台</option>\
  435. <option value="SC">校園台</option>\
  436. <option value="WK">上班台</option>\
  437. <option value="TS">汽車台</option>\
  438. <option value="RA">電 台</option>\
  439. <option value="AU">成人台</option>\
  440. <option value="MB">站務台</option>\
  441. <option value="AC">活動台</option>\
  442. <option value="JT">直播台</option>\
  443. <option value="EP">創意台</option>\
  444. <option value="BS">買賣台</option>\
  445. <option value="BW">吹水台</option>\
  446. </select></div>');
  447.  
  448. // 還原字體
  449. jQuery('head').append('<style>body, td, input, textarea, select{font-family:Arial,sans-serif!important;}#lm-finder{display:block;}</style>');
  450.  
  451. // 簡化button
  452. jQuery('head').append('<style>.btn{background:none!important;padding:4px!important;box-shadow:none!important;color:#808080!important;border:1px solid!important;border-radius:0!important;}.btn:hover{color:#9ACD32!important;}</style>');
  453.  
  454. }, 500);