diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/functions.js b/functions.js index e58a97036..f7e298888 100644 --- a/functions.js +++ b/functions.js @@ -1181,4 +1181,12 @@ function fatalError(code, message) { } } - +function getFeedName(id) { + var d = getFeedsContext().document; + var e = d.getElementById("FEEDN-" + id); + if (e) { + return e.innerHTML.stripTags(); + } else { + return null; + } +} |