this was overkill
This commit is contained in:
parent
9cdc6f1b47
commit
2edbb512cf
@ -61,7 +61,6 @@
|
|||||||
- Begin making available a version of the script with the updater disabled.
|
- 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 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.
|
- 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 `%`.
|
- Although usually not needed, `%%` can be used in format specifiers to write a literal `%`.
|
||||||
- Various bugfixes.
|
- Various bugfixes.
|
||||||
|
|
||||||
|
|||||||
@ -44,7 +44,6 @@ Sauce =
|
|||||||
a = Sauce.link.cloneNode true
|
a = Sauce.link.cloneNode true
|
||||||
a.href = parts['url']
|
a.href = parts['url']
|
||||||
a.textContent = parts['text']
|
a.textContent = parts['text']
|
||||||
return null unless /^https?:$/.test a.protocol
|
|
||||||
a
|
a
|
||||||
node: ->
|
node: ->
|
||||||
return if @isClone or !@file
|
return if @isClone or !@file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user