blacklist option OPEN_LINKS_IN_NEW_WINDOW, default to rewrite links to open in new windows

master
Andrew Dolgov 14 years ago
parent d4dcf8e922
commit c401d5c906

@ -3690,9 +3690,7 @@
}
if (strtolower($entry->nodeName) == "a") {
if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW', $owner)) {
$entry->setAttribute("target", "_blank");
}
$entry->setAttribute("target", "_blank");
}
if (strtolower($entry->nodeName) == "img" && !$br_inserted) {

@ -15,7 +15,8 @@
$prefs_blacklist = array("HIDE_FEEDLIST", "SYNC_COUNTERS", "ENABLE_LABELS",
"ENABLE_SEARCH_TOOLBAR", "HIDE_READ_FEEDS", "ENABLE_FEED_ICONS",
"ENABLE_OFFLINE_READING", "EXTENDED_FEEDLIST", "FEEDS_SORT_BY_UNREAD");
"ENABLE_OFFLINE_READING", "EXTENDED_FEEDLIST", "FEEDS_SORT_BY_UNREAD",
"OPEN_LINKS_IN_NEW_WINDOW");
$profile_blacklist = array("ALLOW_DUPLICATE_POSTS", "PURGE_OLD_DAYS",
"PURGE_UNREAD_ARTICLES", "DIGEST_ENABLE", "DIGEST_CATCHUP",

Loading…
Cancel
Save