答案 0 :(得分:0)
这将解决
在html标签中使用" moznomarginboxes mozdisallowselectionprint"
<强> 强>
答案 1 :(得分:0)
GeckoPreferences.User["print.print_headercenter"] = "";
GeckoPreferences.User["print.print_headerleft"] = "";
GeckoPreferences.User["print.print_headerright"] = "";
GeckoPreferences.User["print.print_edge_top"] = 0;
GeckoPreferences.User["print.print_edge_bottom"] = 0;
GeckoPreferences.User["print.print_footerright"] = "";
GeckoPreferences.User["print.print_footerleft"] = "";
GeckoPreferences.User["print.print_footercenter"] = "";
GeckoPreferences.User["print.print_unwriteable_margin_bottom"] = -1;