General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: oi nerds
Date: June 21, 2007 02:06AM

Original: http://kmeleonbrowser.org/forum/read.php?1,72670
----------------------------------------------------------------------

GreaseMeleon 1.1

- Add: Menu "Language"
- Compatibility: Portuguese and English
- Fix: "No Title" (Sem Titulo), "No Author" (Sem Autor)

link:
http://rapidshare.com/files/38303448/GreaseMeleon.zip.html


Quote
JujuLand
2) I think that all the variables names and values ought to be in english, so the maximum of people will be able to understand it.

I don't have time to do that. =/
I hardly can update now, it would be good - more people helping.

Separate by functions: Not very difficult to understand.

My English is correct?? Check "English.txt"

Thanks.

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: 1832
Date: June 21, 2007 12:43PM

I think the file "english.txt" is OK. Although I had some issues with the extension itself. I tried to use embedded media linker and Youtube googler but none of these would work.

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: JujuLand
Date: June 21, 2007 07:53PM

It seems the only improvement of GM 1.1 is english translation.

I must say that it's a pity to implement translation by this way with all what have been given by K-Meleon 1.1
Your solution multiplicates x 10 the complexity of the macros. To translate a string, it's just necessary to give the string to _() function and to have a kml file to put translated strings. With your solution, you need to modify macros to add a language.

I'm trying to modify the version 1.1, but I have some difficult to understand the use of some variables or functions. That's why I asked to have english name for variables and functions.

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: oi nerds
Date: June 22, 2007 12:09AM

Quote
JujuLand
I'm trying to modify the version 1.1, but I have some difficult to understand the use of some variables or functions. That's why I asked to have english name for variables and functions.

This version is with some variables in English. Try it.
http://rapidshare.com/files/38611241/GreaseMeleon_1.1b.zip.html


Sorry, this code was made months ago. Complex even for myself to adjust it =).

Thanks.

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: oi nerds
Date: June 22, 2007 12:18AM

Quote
1832
I think the file "english.txt" is OK. Although I had some issues with the extension itself. I tried to use embedded media linker and Youtube googler but none of these would work.

This version not accept all scripts yet.

It's necessary to adapt some things to work.

Example:
MP3 PLAYER

(function() {
	var page_links = document.links;
	for (var i=0; i<page_links.length; i++){
		if (page_links.href.match(/\.mp3$/i)) {
			var span = document.createElement("span");
			var url = 'http://newzeek.hiphopminas.com.br/mp3.swf?mp3url='+escape(page_links.href)+'&#038;txt='+escape(page_links.innerHTML)+' - NewWarp MP3 Player Script - By NewZeek&#038;bgcolor=#ffffff'
			var width = 280
			var height = 20
			str = ""
                        str = '<br><object classid=\'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\' codebase=\'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\' width=\''+width+'\' height=\''+height+'\' id=\'mp3\' align=\'middle\'><br />'
                        str = '<param name=\'allowScriptAccess\' value=\sameDomain\' />'
                        str = '<param name=\'movie\' value=\''+url+'\' />'
                        str = '<param name=\'quality\' value=\'high\' />'
                        //str += "<param name=\"wmode\" \n"
			//str +=	"value=\"transparent\" />\n"
                        str = '<param name=\'bgcolor\' value=\'#ffffff\' />'
                        str = '<br><embed src=\''+url+'\' quality=\'high\' bgcolor=\'#ffffff\' width=\''+width+'\' height=\''+height+'\' name=\'mp3\' align=\'middle\' allowScriptAccess=\'sameDomain\' type=\'application/x-shockwave-flash\' pluginspage=\'http://www.macromedia.com/go/getflashplayer\' /></object>'
                        span.innerHTML = str
			//page_links.innerHTML = code_str //substitui o link pelo Player 
			page_links.parentNode.insertBefore(span, page_links.nextSibling)//adiciona o Player abaixo do link
		}
	}

})();


Options: ReplyQuote
GreaseMeleon 1.2 (GreaseMonkey for K-Meleon)
Posted by: oinerds
Date: June 22, 2007 01:01PM

GreaseMeleon 1.2
http://rapidshare.com/files/38695936/GreaseMeleon_1.2.zip.html

RELEASE 1.1
- Add: Language Files English and Portuguese
- Fix: "No Title", "No Author"

RELEASE 1.2
- Add: Able to get all includes of script file
- Fix: Reorganized code. Reduced functions
- Fix: It worked only having any bug script


JujuLand, most variables in English.

Options: ReplyQuote
Re: GreaseMeleon 1.2 (GreaseMonkey for K-Meleon)
Posted by: JujuLand
Date: June 22, 2007 03:41PM

ok, I will work on it


A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: GreaseMeleon 1.2 (GreaseMonkey for K-Meleon)
Posted by: JujuLand
Date: June 23, 2007 02:40PM

@oinerds,

I'm about to finish my corrected version for K-Meleon 1.1

Can you send me a mail for sending you my work?

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: GreaseMeleon 1.2 (GreaseMonkey for K-Meleon)
Posted by: oinerds
Date: June 24, 2007 01:52AM

Quote
JujuLand
@oinerds,

I'm about to finish my corrected version for K-Meleon 1.1

Can you send me a mail for sending you my work?

A+

buggeroi@hotmail.com

thanks.

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: JujuLand
Date: June 24, 2007 10:06AM

Mail sent with explanations

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: oinerds
Date: June 25, 2007 05:09AM

Sorry, I didn't receive your e-mail.
Can you send it again.

Thanks.

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: d00d
Date: June 25, 2007 10:58AM

Who's this Leon character and why do you want him to grease you? :-P

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: JujuLand
Date: June 25, 2007 01:53PM

New mail sent ...

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: oinerds
Date: June 26, 2007 08:32PM

Sorry for inconvenience, but the hotmail blocked access to the EXE file.

I read GreaseMeleon's text and saw the zip file, nice job =). I tried compile it but without success.
Could you compress the exe file to zip and send again for me?

Thank you.

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: JujuLand
Date: June 26, 2007 08:53PM

Yes, I'll send it again.

I have just modified some details. I will have no time to morrow.

Probably Thursday

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: oinerds
Date: June 26, 2007 09:58PM

Ok!

I'll translate the readme from portuguese to english.

ty

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: oinerds
Date: July 03, 2007 11:05PM

JujuLand read your email

thanks!

Options: ReplyQuote
Re: GreaseMeleon 1.1 (GreaseMonkey for K-Meleon) - Portuguese and ENGLISH
Posted by: JujuLand
Date: July 04, 2007 05:55AM

I've received your mail, but I hadn't had time to make the new package.

This evening probably

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote


K-Meleon forum is powered by Phorum.