| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

preferencias-firefox

Page history last edited by PBworks 16 years, 7 months ago

// Arquivo de preferências para o firefox
// Criado: Ter 02/Jan/2007 hs 16:39
// Last Change: Qui 25 Jan 2007 13:44:28 BRT
// Autor: Sergio Luiz Araujo Silva
//
// user.js: Personal prefs which mozilla shouldn't overwrite.
// // http://nanda.satukubik.net/2006/11/05/force-link-that-open-new-window-to-open-in-new-tab-for-firefox-2/
// fonte: http://pt.wikibooks.org/?title=Mozilla_Firefox_descomplicado
// http://www.programmerworld.net/articles/software/firefox_tips.php
// http://www.lifehacker.com/software/firefox-2/geek-to-live--top-firefox-2-config-tweaks-209941.php
//
// para editar no linux entre na pasta
// cd ~/.mozilla/firefox/*.default
//
// no vim faça
// :w
// :sav! ~/.mozilla/firefox/*.default/user.js

// se estive no windows edite aqui
// %AppData%MozillaFirefoxProfilesxxxxxxxx.default

/////////////////////////////////////////////////////////////
// Para exibir a busca por imagens tradicional do google
user_pref("capability.policy.policynames", "nojs");
user_pref("capability.policy.nojs.sites", "http://images.google.com.br");
user_pref("capability.policy.nojs.javascript.enabled", "noAccess");
//Também é possível voltar à versão nova para os arrependidos:
//basta recriar o arquivo user.js com as seguintes linhas:
//user_pref("capability.policy.nojs.sites", "http://images.google.com.br");
//user_pref("capability.policy.nojs.javascript.enabled", "");
/////////////////////////////////////////////////////////////

// Página inicial
user_pref("browser.startup.homepage", "http://www.fortaleza.ce.gov.br");
user_pref("browser.startup.page", 1);
// Proxy preferences
// se proxy.type abaixo estiver em 1 usa proxy
user_pref("network.proxy.type", 1);
user_pref("network.proxy.http", "172.30.10.248");
user_pref("network.proxy.http_port", 3128);
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.ssl", "172.30.10.248");
user_pref("network.proxy.ssl_port", 3128);
user_pref("network.proxy.ftp", "172.30.10.248");
user_pref("network.proxy.ftp_port", 3128);
user_pref("network.proxy.gopher", "172.30.10.248");
user_pref("network.proxy.gopher_port", 3128);
user_pref("network.proxy.backup.ftp", "172.30.10.248");
user_pref("network.proxy.backup.ftp_port", 3128);
user_pref("network.proxy.backup.gopher", "172.30.10.248");
user_pref("network.proxy.backup.gopher_port", 3128);
user_pref("network.proxy.backup.socks", "172.30.10.248");
user_pref("network.proxy.backup.socks_port", 3128);
user_pref("network.proxy.backup.ssl", "172.30.10.248");
user_pref("network.proxy.backup.ssl_port", 3128);


// Para fazer com que o navegador pergunte onde salvar
user_pref("browser.download.useDownloadDir", false);

// Para fechar a janela de downloads quando terminado
user_pref("browser.download.manager.closeWhenDone", true);

// Auto copy selected items to the clipboard
user_pref("clipboard.autocopy", true);


///////// SEGURANÇA ////////////////////
// tempo de duração dos cookies
user_pref("network.cookie.lifetimePolicy", 2)";

user_pref("privacy.item.passwords", true);
/////////////////

// dicionário
//user_pref("spellchecker.dictionary", pt-BR");

// tamanho mínimo das obas
user_pref("browser.tabs.tabMinWidth", 75);

// para não exibir dicas na barra de favoritos
user_pref("browser.chrome.toolbar_tips", false);

// para evitar textos piscando na tela
user_pref("browser.blink_allowed", false);

// As paginas não podem esconder o menu de contexto:
user_pref("dom.event.contextmenu.enabled", false);

// mostrar o pop-up de conclusão nos downloads
user_pref("showAlertOnComplete", true);

// Define o local par o download

user_prf("browser. download. folderList", 2);

user_pref("browser.download.manager.showAlertOnComplete", true);

// Previne que java scripts redimensionem a janela
user_pref("dom.disable_window_move_resize", true);

// Previne que a janela inicie redimensionada
user_pref("dom.disable_window_open_feature.resizable", true);

// Previne modificação da barra de status
user_pref("dom.disable_window_open_feature.status", true);

// Previne que a barra de títulos inicie desabilitada
user_pref("dom.disable_window_open_feature.titlebar", true);

// Previne que popups ocultem a urlbar
user_pref("dom.disable_window_open_feature.location", true);

// previne que popups ocultem a barra de menus
user_pref("dom.disable_window_open_feature.menubar", true);


// Ao clicar na url seleciona tudo
user_pref("browser.urlbar.clickSelectsAll", true);

// Forca os frames a serem redimensionáveis
user_pref("layout.frames.force_resizability", true);

// Definindo a cor de fundo da janela
user_pref("browser.display.background_color", "#CCCCCC");

// forçar abertura de links em abas
user_pref("browser.link.open_newwindow", 3);
// Make the above pref apply only to targeted links, not window.open
user_pref("browser.link.open_newwindow.restriction", 1);

/* Para evitar abrir novas janelas */
user_pref("browser.link.open_external",  3)
user_pref("browser.link.open_newwindow", 3)
user_pref("browser.link.open_newwindow.restriction", 0)


// Don't focus new tabs opened by left-click or external URL
user_pref("browser.tabs.loadDivertedInBackground", true);

// Aplicando as preferencias imediatamente
user_pref(”browser.preferences.instantApply”, true);

// Janela de opções estilo Mac OS
user_pref(”browser.preferences.animateFadeIn”, true);

// Define o papel como A4 na impressão
user_pref("print.postscript.paper_size", "A4");



// Configurações para adsl  -- para conexões rasoáveis
user_pref("network.http.request.max-start-delay", 10);
user_pref("network.http.max-connections", 96); // 24 para modens
user_pref("network.http.max-connections-per-server", 32); // 8 para modens
user_pref("network.http.max-persistent-connections-per-proxy", 24);
user_pref("network.http.max-persistent-connections-per-server", 12);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);


//  Tweak de velocidade - Outros tweaks
user_pref("network.dns.disableIPv6", true);
user_pref("network.prefetch-next", false); // In all most of cases can slow down the connection (if "true")

// Quantidade de cache
user_pref("browser.cache.disk.capacity", 35000)

// Atraso de abertura dos sub-menus (300ms por padrão)
user_pref("ui.submenuDelay", 150);


// O Firefox tem um bloqueador de pop-up embutido que está ativado por padrão.
// Porém ele não impede a abertura de páginas em novas janelas pelo uso das
// propriedades ilegais target="_blank" ou target="_new". Para forçar a
// abertura destes links na mesma janela, inclua o seguinte código ao seu
// arquivo user.js file:

// desativar target="_blank" (abre na mesma janela):
user_pref("browser.block.target_new_window", true);

Comments (0)

You don't have permission to comment on this page.