rm Clean Links config.

This commit is contained in:
Mayhem 2014-02-15 00:51:47 +01:00
parent e6198d4014
commit 216f7c3abb
2 changed files with 2 additions and 4 deletions

View File

@ -6,6 +6,7 @@ Config =
'Announcement Hiding': [true, 'Add button to hide 4chan announcements.'] 'Announcement Hiding': [true, 'Add button to hide 4chan announcements.']
'404 Redirect': [true, 'Redirect dead threads and images.'] '404 Redirect': [true, 'Redirect dead threads and images.']
'Keybinds': [true, 'Bind actions to keyboard shortcuts.'] 'Keybinds': [true, 'Bind actions to keyboard shortcuts.']
'Linkify': [true, 'Convert text links into hyperlinks.']
'Time Formatting': [true, 'Localize and format timestamps.'] 'Time Formatting': [true, 'Localize and format timestamps.']
'Relative Post Dates': [false, 'Display dates like "3 minutes ago". Tooltip shows the timestamp.'] 'Relative Post Dates': [false, 'Display dates like "3 minutes ago". Tooltip shows the timestamp.']
'File Info Formatting': [true, 'Reformat the file information.'] 'File Info Formatting': [true, 'Reformat the file information.']
@ -27,9 +28,6 @@ Config =
'Image Hover in Catalog': [false, 'Show a floating expanded image on hover in the catalog.'] 'Image Hover in Catalog': [false, 'Show a floating expanded image on hover in the catalog.']
'Sauce': [true, 'Add sauce links to images.'] 'Sauce': [true, 'Add sauce links to images.']
'Reveal Spoilers': [false, 'Reveal spoiler thumbnails.'] 'Reveal Spoilers': [false, 'Reveal spoiler thumbnails.']
'Linkification':
'Linkify': [true, 'Convert text links into hyperlinks.']
'Clean Links': [true, 'Remove spoiler and code tags commonly used to bypass blocked links.']
'Menu': 'Menu':
'Menu': [true, 'Add a drop-down menu to posts.'] 'Menu': [true, 'Add a drop-down menu to posts.']
'Report Link': [true, 'Add a report link to the menu.'] 'Report Link': [true, 'Add a report link to the menu.']

View File

@ -60,7 +60,7 @@ Linkify =
# Replace already-linkified links, # Replace already-linkified links,
# f.e.: https://boards.4chan.org/b/% # f.e.: https://boards.4chan.org/b/%
$.replace parent, anchor $.replace parent, anchor
Linkify.cleanLink anchor, link if Conf['Clean Links'] Linkify.cleanLink anchor, link
walker.currentNode = anchor.lastChild walker.currentNode = anchor.lastChild
else else
walker.previousNode() walker.previousNode()