It’s just data

Building Firefox with HTML5 parser support

Start by installing some build prerequisites.  The following are for Ubuntu, adjust as necessary:

sudo apt-get build-dep firefox
sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev

Now check out the source to an HTML5 enabled Firefox:

mkdir -p ~/hg/
cd ~/hg/
hg clone

The next step requires requires Python, Subversion and JDK 5 or later (JDK 6 and Hardy’s OpenJDK work).

mkdir -p ~/svn/
cd ~/svn/
mkdir checker
cd checker
svn co build
python build/ checkout dldeps

if you get a timeout from SourceForge, simply try again.  At the present time Google code’s hosting of jing-trang is currently down.  For our purposes, that library is not necessary.  Press on.

You are not done yet.

mkdir tmp
wget -O tmp/
unzip tmp/ -d dependencies/ javaparser_2008-06-19.jar

On to generating the cpp sources from java...

cd htmlparser/translator-src/
javac nu/validator/htmlparser/generator/
java nu.validator.htmlparser.generator.GenerateNamedCharactersCpp ../doc/named-character-references.html ~/hg/html5parsing/content/html/parser/src/ 
javac -classpath .:../../dependencies/javaparser_2008-06-19.jar nu/validator/htmlparser/cpptranslate/
java -classpath .:../../dependencies/javaparser_2008-06-19.jar nu.validator.htmlparser.cpptranslate.Main ../src/nu/validator/htmlparser/impl/ ~/hg/html5parsing/content/html/parser/src/ ~/hg/html5parsing/content/html/parser/src/nsHtml5AtomList.h ~/hg/html5parsing/content/html/parser/src/nsHtml5StringLiterals.cpp

Create a mozilla build configuration file in ~/.mozconfig.  Here’s mine:

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt
# ac_add_options --enable-static --disable-libxul
ac_add_options --disable-tests
ac_add_options --disable-crashreporter

Note the commented out options are documented but don’t work.  Now build firefox.

cd ~/hg/html5parsing
make -f build

Before running, make sure you reset your expectations.  I ran it with my default profile, but I have plenty of backups.  Caveat emptor.

If you still insist on executing the results, you must first exit all Firefox windows.  Only then can you launch your executable with the following:


If you still insist on executing the results, you must first exit all Firefox windows.

Does the -no-remote option not work for some reason?

Posted by Andrew at

When I wrote this, I didn’t know about no-remote.

Posted by Sam Ruby at

HTML5 Parsing in Gecko: A Build

The effort of putting an HTML5 parser inside Gecko takes a step out of the vaporware land....

Excerpt from Henri Sivonen’s pages at

Links for 2009-01-05 []

Clojure on Ubuntu Install Bookmarklets for Delicious Starting, Stopping, and Connecting to OpenOffice with Python | Linux Journal Sam Ruby: Building Firefox with HTML5 parser support...

Excerpt from Adnans Sysadmin/Scripting Blog at

Nice article, thanks for sharing.

Posted by at

Thanks for sharing I used same code on some cheats of game

Posted by Philips at

watch the IIHF world juniors 2019 Fans can likewise demonstrate their pride this December with various ticket choices to enable them To speak to in Vancouver, including single-diversion tickets which are currently accessible. A constrained amount of full-occasion ticket bundles are accessible for buy in Vancouver and Victoria, alongside nine-and 10-amusement ticket pack alternatives accessible at

Posted by IIHF world juniors 2019 Live Stream at

I created a Rule of survival cheat in Html5 that is called PVrules. And I honestly want to thank you for this tutorial man seriously.

Posted by Ros Cheat at

Hey I was creating a small app in html5 for my Rule of survival hack, but I am getting an error. Somebody please help.

Posted by Sam k. at


Posted by Az Whatsapp at

Add your comment