我如何才能强制 Firefox 在 Windows 7 下始终使用 Tahoma 而不是 Arial?即使整个系统都用 Tahoma 代替 Arial,我也感到很满意。我受够了无法在网站上区分 I 和 l(I
和)。l
答案1
我不确定我是否理解了这个问题。
如果你想改变每个网站的字体(覆盖他们选择的字体),那么你可以使用GreaseMonkey应用自定义样式...这自然有可能导致页面呈现错误...
body, td, input, textarea, select, a, h, span, div {
font-size: 8pt !important;
font-family: Tahoma !important;
}
它还建议你可以尝试用 Tahoma 替换 Arial
// ==UserScript==
// @name Comic Sans to Segoe font
// @namespace for bb
// @include *
// ==/UserScript==
var elementList = document.getElementsByTagName('*');
for (var i = elementList.length - 1; i >= 0; i--) {
var elementItem = elementList[i];
var style = getComputedStyle(elementItem, '');
elementItem.style.fontFamily = style.fontFamily.replace(/Comic Sans MS/i, 'segoe');
}
如果你指的是 FireFox 使用的字体,那么:
Changing Font
To change the font:
Click the menu button New Fx Menu and choose Options
Select the Content panel.
Under Fonts & Colors, use the drop-down menus to select the font and font size of your choice.
font.png
Click OK to close the Options window
Custom Fonts
Some websites have custom fonts, to disable them:
Click the menu button New Fx Menu and choose Options
Select the Content panel.
Under Fonts & Colors, click the Advanced... button.
advance.png
In the window that opens uncheck the box next to Allow pages to choose their own fonts, instead of my selections above.
custom_font.png
Click OK to close the Fonts window.
Click OK to close the Options window