Closed
Bug 309112
Opened 19 years ago
Closed 19 years ago
Script Custom Author ; My Macros Preferences
Categories
(Firefox :: Settings UI, defect)
Tracking
()
People
(Reporter: lucianolllg, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
This script MACRO
Custom advance configurations;
Browser Backgrounds Features;
<H3>
file:///C:/Program files/Mozilla Firefox/defaults/pref/macros.js
</H3>
My Macros Scripts ; Necessary implementation for the Browser
<script>
// <![CDATA[
document.onload = function() {
var adibody = document.getElementsByTagName('body')[0];
if(document.bgColor.toLowerCase() == '#ffffff' ||
document.body.style.backgroundColor =='#ffffff' ||
window.getComputedStyle(document.body,null).getPropertyValue('background-color')
=='#ffffff') {
adibody.style.backgroundColor= '#f4fff1!important';
}
var adtab = document.getElementsByTagName('table');
for(var itab=0; itab<adtab.length; itab++) {
if(adtab[itab].getAttribute('bgColor').toLowerCase() == '#ffffff' ||
adtab[itab].style.backgroundColor == '#ffffff' ||
adtab[itab].bgColor.toLowerCase() == '#ffffff') {
adtab[itab].style.backgroundColor= '#f4fff1!important';
}
}
var adtd = document.getElementsByTagName('td');
for(var itd=0; itd<adtd.length; itd++) {
if(adtd[itd].getAttribute('bgColor').toLowerCase() == '#ffffff' ||
adtd[itd].style.backgroundColor == '#ffffff' || adtd[itd].bgColor.toLowerCase()
== '#ffffff') {
adtd[itd].style.backgroundColor= '#f4fff1!important';
}
}
}
self.moveTo(0,0);
self.resizeTo(770,600);
// ]]>
</script>
This script not work into Browser;
THIS SCRIPT NOT WORK INTO BROWSER;
into automatic configurations for user preference;
INTO FILE;
<H3>
file:///C:/Program files/Mozilla Firefox/defaults/pref/macros.js
</H3>
Reproducible: AlwaysReporter, can you please clarify? I'm not understanding what symptoms you are experiencing or what you are doing to reproduce them, nor what you are trying to do.
| Reporter | ||
Comment 3•19 years ago
|
||
(In reply to comment #1) > Reporter, can you please clarify? I'm not understanding what symptoms you are > experiencing or what you are doing to reproduce them, nor what you are trying to do. Reply In Portuguese Estou tentando fazer com que as páginas abertas que contenham especificação de fundo em cor #ffffff ; apareçam com outra configuração de cor; Falta para o navegador a criação de uma pasta especial onde o usuário possa escrever os próprios códigos javascript para configurar a aparência das páginas; Falta no navegador uma pasta criada para que o usuário possa introduzir seus códigos javascript; Então uma pasta com nome 'configurar' e dentro dela um arquivo com nome macro.js ; Ou; Então; falta um arquivo com extenção 'js' onde o usuário possa manter e criar seus códigos para mudar a aparência das páginas; In English; I am trying to make with that the open pages that contain deep specification of in color # ffffff; they appear with another configuration of color; Lack for the navigator the creation of a special folder where the user can write the proper codes Javascript to configure the appearance of the pages; Lack in the navigator a bred folder so that the user can introduce its codes Javascript; Then a folder with name ' to inside configure ' and of it an archive with name macro.js; Or; Then; it lacks to an archive with extenção ' js ' where the user can keep and create its codes to change the appearance of the pages;
Comment 4•19 years ago
|
||
Dup of bug 89016 (confirmed by jX, who knows some Portuguese). You can do what you want with Greasemonkey from http://greasemonkey.mozdev.org/. *** This bug has been marked as a duplicate of 89016 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 5•19 years ago
|
||
(In reply to comment #4) > Dup of bug 89016 (confirmed by jX, who knows some Portuguese). You can do what > you want with Greasemonkey from http://greasemonkey.mozdev.org/. > > *** This bug has been marked as a duplicate of 89016 *** In Portuguese Agradecido pela sua cordial atenção; Felicitações; Porém GreaseMonkey só funciona até a versão 1.0 do navegador; Estou usando a versão 1.5beta1; In English Greasemonkey 0.5.3 could not be installed because it is not compatible with Firefox 1.4. (Greasemonkey 0.5.3 wil only work Firefox versions from 0.9 to 1.0+)
| Reporter | ||
Comment 6•19 years ago
|
||
(In reply to comment #4) > Dup of bug 89016 (confirmed by jX, who knows some Portuguese). You can do what > you want with Greasemonkey from http://greasemonkey.mozdev.org/. > > *** This bug has been marked as a duplicate of 89016 *** Está faltando; um arquivo nativo do navegador onde possa introduzir códigos como por exemplo com o endereço; file:///C:/Program files/Mozilla Firefox/defaults/pref/macros.js
| Reporter | ||
Updated•19 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 7•19 years ago
|
||
> Greasemonkey 0.5.3 could not be installed because it is not compatible with > Firefox 1.4. Greasemonkey 0.6.x is compatible with Firefox 1.5 Beta 1. http://greaseblog.blogspot.com/2005/09/firefox-15-compatible-greasemonkey.html
Comment 8•19 years ago
|
||
Yes, that's what bug 89016 is about, which is why this is a dup of bug 89016. *** This bug has been marked as a duplicate of 89016 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → DUPLICATE
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•