搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox Linux saves web pages with invalid characters

  • 1 个回答
  • 2 人有此问题
  • 3 次查看
  • 最后回复者为 cor-el

more options

Hello! Faced such a problem. At work Ubuntu, at home - Win7, and there and there is the last Firefox 53.0.3 When you save a web page to a disk, Firefox in Win7 automatically removes invalid characters for Win, basically this ":" and "|" Firefox in Ubuntu does not do this, it saves along with such symbols, as a result files saved in Ubuntu, in Win, not that you can not open, Nor to delete, it is impossible to rename, because of such characters. Tell me, please, how to make Firefox in Ubuntu save web pages, just as it does in Win? Maybe what setting is in about: config or extension (addition)? Thank you very much in advance.

Hello! Faced such a problem. At work Ubuntu, at home - Win7, and there and there is the last Firefox 53.0.3 When you save a web page to a disk, Firefox in Win7 automatically removes invalid characters for Win, basically this ":" and "|" Firefox in Ubuntu does not do this, it saves along with such symbols, as a result files saved in Ubuntu, in Win, not that you can not open, Nor to delete, it is impossible to rename, because of such characters. Tell me, please, how to make Firefox in Ubuntu save web pages, just as it does in Win? Maybe what setting is in about: config or extension (addition)? Thank you very much in advance.

所有回复 (1)

more options

You would have to make sure to check the file name and remove invalid characters when you notice them.

Possible bookmarklet that you can use as a start to experiment:

javascript:/*set-title_cor-el*/(function(){
var test=1,d=document,title;
function cu(t){var s={d:'_',f:'\"<>',r:'\'()'};return(t.replace(/.+/g,(function(r){var i,o='',p=0,t;for(i=0;t=r.charAt(i);i++){if(/[0-9a-z]/gi.test(t)){o+=t;p=0}else{z=s.f.indexOf(t);if(z>=0){o+=s.r.substr(z,1);p=0}else{if(!p){o+=s.d;p=1}}}}return(o)})))}
function tr(t){return(t.replace(/^\s+|\s+$/g,""))}
title=tr(cu(d.title));
if(test){title=prompt(d.title,title)}
if(title){d.title=title}
})()