Object detection is common in JavaScript. Browser irregularities mean that your code must sometimes contain branches for different browsers. Use this JavaScript snippet to perform object detection once instead of every time you call addEvent.
This JavaScript code will display a HTML-formatted version of the RSS feed.
This generator creates the meta tag for robots. It also includes the code for the Googlebot.
Script replaces the text by typing anithing in a form and submitting the button. If you type nothing in the box, but simply click the button, you will delete the text.
The dollar function is a simple way to grab an element quickly. It not only takes in strings, it takes objects too. Instead of: document.getElementById('a');
use: $('a')
. If you want a whole collection of elements, you can simply do this: $('a','b',obj,obj2,'c','d');
.
Select only the data you want to print. This JavaScript will then print it, along with a header. The rest of the page will be ignored.
This JavaScript code will display a HTML-formatted version of the OPML feed.
This script will display a default 'last modified' date in the event the server is not able to configure it. A good backup solution.