diff --git a/CHANGELOG.md b/CHANGELOG.md index 46533fb84..7ccb20f19 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,7 +61,6 @@ - Begin making available a version of the script with the updater disabled. - The removal of slugs from the URL when you open a thread is now optional, and can be disabled by unchecking `Normalize URL`. - The boards and file extensions for which a Sauce link is displayed can now be controlled by adding `;boards:[list]` and `types:[list]` respectively. -- Restrict Sauce links to `http` and `https` to prevent malicious script installation. - Although usually not needed, `%%` can be used in format specifiers to write a literal `%`. - Various bugfixes. diff --git a/src/Images/Sauce.coffee b/src/Images/Sauce.coffee index 01b040398..6250d8fb1 100755 --- a/src/Images/Sauce.coffee +++ b/src/Images/Sauce.coffee @@ -44,7 +44,6 @@ Sauce = a = Sauce.link.cloneNode true a.href = parts['url'] a.textContent = parts['text'] - return null unless /^https?:$/.test a.protocol a node: -> return if @isClone or !@file