diff options
author | Andrew Dolgov <[email protected]> | 2006-02-26 15:07:22 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-02-26 15:07:22 +0100 |
commit | 59b8192f946cc44f6e88f2bb904d96dab2187c27 (patch) | |
tree | 3b2c9819dcb80e6dda70244d44dbe5a2619915a5 /feedlist.js | |
parent | 362698addb96983626a74d712e7547958771c93f (diff) |
workaround for Opera cache of feeds/headlines panel; remove addheader param handling
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/feedlist.js b/feedlist.js index 7dcb68fa2..5610c2908 100644 --- a/feedlist.js +++ b/feedlist.js @@ -101,8 +101,14 @@ function viewfeed(feed, skip, subop, doc) { var headlines_frame = parent.frames["headlines-frame"]; // alert(headlines_frame) - - headlines_frame.location.href = query + "&addheader=true"; + + if (navigator.userAgent.match("Opera")) { + var date = new Date(); + var timestamp = Math.round(date.getTime() / 1000); + query = query + "&ts=" + timestamp + } + + headlines_frame.location.href = query; cleanSelectedList("feedList"); |