This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox Linux saves web pages with invalid characters

  • 1 reply
  • 2 have this problem
  • 3 views
  • Last reply by 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.

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