Looong title for neeqask

喵了个咪的,就不能把标题整长点吗

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name       Looong title for neeqask
// @namespace   [email protected]
// @include     http://*.neeqask.com/
// @include     http://*.neeqask.com/
// @version     1.0
// @grant       none
// @description 喵了个咪的,就不能把标题整长点吗

function addGlobalStyle(css) {
  var head,
  style;
  head = document.getElementsByTagName('head') [0];
  if (!head) {
    return;
  }
addGlobalStyle('.list .h2mun1{width:1%;height:18px}');
addGlobalStyle('.list .h2mun2{width:10%}');
addGlobalStyle('.list .h2mun3{width:76%;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden;font-size:14px}');
addGlobalStyle('.list .h2mun4{width:13%;margin-left:0}');
addGlobalStyle('.sort{width:200px;height:380px;position:absolute;top:14px;right:0;border-left:1px solid #999;padding:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:0;display:none}');
}

// ==/UserScript==