Modify the "search" demo application:
- Add a 'submission page' with a form that lets you add a page name & URL to a "database"
- Make those new results show up on the results page
- Add a link to the 'submission page' from the home page
- Have the results filtered by the query (filter and RegExp.test() might help)
Copy the code from here
To make it work fully, you can also save this image in the same directory as the code, named