May 12 2010

Put RSS button in Vimperator’s display bar

Tux Training » Blog Archive » Put the RSS button in vimperator’s display bar

Put the RSS button in vimperator’s display bar

For some reason Firefox’s vimperator plugin removes the RSS button that allows you to easily add a page’s rss feeds to your Google Reader or other present RSS reader. Simple enough, just edit your ~/.vimperatorrc file and place the following within :

javascript <<EOF
(function(){
var feedPanel = document.createElement("statusbarpanel");
feedPanel.setAttribute("id", "feed-panel-clone");
feedPanel.appendChild(document.getElementById("feed-button"));
feedPanel.firstChild.setAttribute("style", "padding: 0; max-height: 16px;");
document.getElementById("status-bar")
.insertBefore(feedPanel, document.getElementById("security-button"));
})();
EOF