-
Installing FireFox Themes
A buddy hooked me up with this code which allows you to add themes to FireFox. Take this code copy past into a word document and save as an html file and you will be able to add themes to FireFox.
The Code:
<script type="text/javascript">
function installTheme(where) {
var file = '';
if (where == 'local') {
file = 'file:///' + escape(document.getElementById('filename').value.r eplace(/\\/g,'/'));
} else {
file = document.getElementById('url').value;
}
InstallTrigger.installChrome(InstallTrigger.SKIN, file, getName(file));
}
function getName(raw) {
var grabFileStart = raw.lastIndexOf('/');
var grabFileEnd = raw.lastIndexOf('.');
if (grabFileStart >= grabFileEnd) {
return 'Invalid file name';
} else {
return raw.substring(grabFileStart + 1,grabFileEnd);
}
}
function installThemeNow(file) {
InstallTrigger.installChrome(InstallTrigger.SKIN, file, getName(file));
return true;
}
</script>
<style type="text/css">
<!--
.style2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 12px;
}
-->
</style>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="2" bgcolor="#0099FF">
<tr>
<td bgcolor="#F5F4ED"><br><div align="center"><span class="style2">Install Firefox .JAR theme from Harddisk<br><br></span>
<form><input id="filename" type="file">
<input value="Install" onclick="installTheme('local');" type="button">
</form>
</div></td>
</tr>
</table>
-
Barrista
?? I can add themes already. You just download them.
Tools > Themes > Get more themes....
-
Well theres always more then 1 way to do it lol
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules