summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-20 13:12:48 +0100
committerAndrew Dolgov <[email protected]>2008-05-20 13:12:48 +0100
commit5fc13f63cfdc4d58b4d1039063ff93c4f41bc722 (patch)
treeff6f4aec3e18c805de432ef1ea76591ced7035cc /functions.js
parent61a20560f235c85c2ffc9d1556908a4421ab31e6 (diff)
remove obsolete get*Context functions
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js26
1 files changed, 2 insertions, 24 deletions
diff --git a/functions.js b/functions.js
index 962ddc652..e85226956 100644
--- a/functions.js
+++ b/functions.js
@@ -1333,22 +1333,6 @@ function filterCR(e, f)
}
}
-function getMainContext() {
- return this.window;
-}
-
-function getFeedsContext() {
- return this.window;
-}
-
-function getContentContext() {
- return this.window;
-}
-
-function getHeadlinesContext() {
- return this.window;
-}
-
var debug_last_class = "even";
function debug(msg) {
@@ -1406,14 +1390,12 @@ function fatalError(code, message) {
}
function getFeedName(id, is_cat) {
- var d = getFeedsContext().document;
-
var e;
if (is_cat) {
- e = d.getElementById("FCATN-" + id);
+ e = document.getElementById("FCATN-" + id);
} else {
- e = d.getElementById("FEEDN-" + id);
+ e = document.getElementById("FEEDN-" + id);
}
if (e) {
return e.innerHTML.stripTags();
@@ -1422,10 +1404,6 @@ function getFeedName(id, is_cat) {
}
}
-function viewContentUrl(url) {
- getContentContext().location = url;
-}
-
function filterDlgCheckAction(sender) {
try {