This module takes a list of URLs and either returns a list of URLs that are contained within the user's browser history or a boolean depending on how you invoke it. The latter returns immediately true upon finding one of the URLs in the history.
YUI().use('gallery-history-check', function(Y) {
alert(Y.historyCheck(["http://finance.yahoo.com"], true) ? "Visited Y! Finance" : "Didn't visit Y! Finance");
});No forum posts for this module.
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info