From 355ee0a86208fd1bf928abff00b637d546df790b Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Sat, 5 Jul 2014 15:06:04 +0700 Subject: [PATCH] TODO: Wikipedia links --- background.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/background.js b/background.js index 5e24203..f01f1a5 100644 --- a/background.js +++ b/background.js @@ -183,6 +183,9 @@ } function loadPageInfo(url, callback) { + // TODO: Fetch wikipedia URLs from api instead of given URL + // http://en.wikipedia.org/w/api.php?format=json&action=query&titles=Page_Name&prop=info|pageimages|extracts&pithumbsize=300 + var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() {