Showing posts with label Firefox. Show all posts
Showing posts with label Firefox. Show all posts

Saturday, November 8, 2014

Firefox does not start but HDD usage goes up to 100% on Windows 8.1 and blocks / freezes the computer

Today my firefox 33 did not start any more. In task manager the process was shown, but with memory = 0 and CPU = 0. But the HDD usage of my computer went up to 100% and it was fully blocked for everything else. Waiting for a couple of minutI es did not change anything, also rebooting did not help

How-I-fixed-it:
Since Internet Explorer since worked on the computer, i went to https://www.mozilla.org/de/firefox/new/ and installed the latest version of the firefox browser. After this, firefox worked fine again.

Tuesday, April 23, 2013

How to download all videos of a playlist (full playlist) from YouTube

I was looking for an simple way how to download all videos of a YouTube playlist in a batch.

How i fixed it:
I used firefox and these two Add-ons:
- BYTubeD - Bulk YouTube Video Download
- DownloadThemAll

How to download all videos of the playlist:
- Do a search on YouTube for the Playlist you want to grab (set the search filter to "Playlist") and select "Show all videos".
- Use the BYTubeD Add-on to generate a local HTML page with links to the desired videos which then opens in firefox
- On this newly opened page use DownloadThemAll to download all files

I found the solution in the (german) video:

Thursday, February 18, 2010

Export parts of Firefox bookmarks to HTML or Trac

After searching around on the web for a while, i decided to write my own little conversion tool to export only parts of my firefox bookmarks, e.g. subfolders, to a HTML-File or in TRAC format.
Here's how i did it:
I added the OPML Addon to my firefox: https://addons.mozilla.org/de/firefox/addon/2625
I exported my bookmarks to an OPML-File, which is just XML.
Next i create a little XSL-Stylesheet that converts the OPML to the desired format.
To convert OPML to TRAC links the XSLT looks like this (OPML2TRAC.xsl):

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" encoding="utf-16" media-type="text/plain" omit-xml-declaration="yes" indent="no"/>
<xsl:variable name="exportRootFolderName">PlaceTheNameOfYourSubfolderHere</xsl:variable>
<xsl:template match="/">
<xsl:for-each select="//outline[@text=$exportRootFolderName]">
<xsl:call-template name="outlineConvert"></xsl:call-template>
</xsl:for-each>
</xsl:template>
<xsl:template name="outlineConvert">
<xsl:for-each select="outline[@url != '']">
<xsl:sort select="@text" />[<xsl:value-of select="./@url" disable-output-escaping="yes"/><xsl:text> </xsl:text><xsl:value-of select="./@text"/>]<xsl:text>
</xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>


To convert OPML to HTML links the XSLT looks like this (OPML2HTML.xsl):

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-16" media-type="text/html" omit-xml-declaration="yes" indent="no"/>
<xsl:variable name="exportRootFolderName">PlaceTheNameOfYourSubfolderHere</xsl:variable>
<xsl:template match="/">
<xsl:for-each select="//outline[@text=$exportRootFolderName]">
<xsl:call-template name="outlineConvert"></xsl:call-template>
</xsl:for-each>
</xsl:template>
<xsl:template name="outlineConvert">
<html>
<body>
<h2>My Bookmarks</h2>
<table border="1">
<xsl:for-each select="outline[@url != '']">
<xsl:sort select="@text" />
<tr>
<td>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./@url"/>
</xsl:attribute>
<xsl:value-of select="./@text"/>
</a>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

Replace the "PlaceTheNameOfYourSubfolderHere" value with the name of the Subfolder of your firefox bookmarks.

In the head of the OPML-File insert the reference to the XSL-File:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="opml2trac.xsl"?>
<opml version="1.0">
... Rest of the OPML file ...

Open the OPML in Firefox or Internet Explorer now. You should then see the converted result.

You can also use a XSLT-Processor, e.g. MSXSL to do the conversion.