Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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}
})()