Remove /f/-specific sauce code; add swfchan to default sauce list.
This commit is contained in:
parent
03b6a65cb4
commit
8138644fbf
@ -652,6 +652,7 @@ Config =
|
|||||||
sauces: """
|
sauces: """
|
||||||
https://www.google.com/searchbyimage?image_url=%TURL
|
https://www.google.com/searchbyimage?image_url=%TURL
|
||||||
http://iqdb.org/?url=%TURL
|
http://iqdb.org/?url=%TURL
|
||||||
|
http://eye.swfchan.com/search/?q=%name;types:swf
|
||||||
#//tineye.com/search?url=%TURL
|
#//tineye.com/search?url=%TURL
|
||||||
#//saucenao.com/search.php?url=%TURL
|
#//saucenao.com/search.php?url=%TURL
|
||||||
#http://3d.iqdb.org/?url=%TURL
|
#http://3d.iqdb.org/?url=%TURL
|
||||||
|
|||||||
@ -5,16 +5,3 @@ Flash =
|
|||||||
|
|
||||||
initReady: ->
|
initReady: ->
|
||||||
$.globalEval 'if (JSON.parse(localStorage["4chan-settings"] || "{}").disableAll) SWFEmbed.init();'
|
$.globalEval 'if (JSON.parse(localStorage["4chan-settings"] || "{}").disableAll) SWFEmbed.init();'
|
||||||
|
|
||||||
return unless g.VIEW is 'thread'
|
|
||||||
|
|
||||||
swfName = $ '.fileText > a'
|
|
||||||
nav = $ '.navLinks.desktop'
|
|
||||||
swfName = swfName.href.replace /^(.*?)\/f\//g, ""
|
|
||||||
sauceLink = $.el 'a',
|
|
||||||
textContent: 'Check Sauce on SWFCHAN'
|
|
||||||
href: "http://eye.swfchan.com/search/?q=#{swfName}"
|
|
||||||
$.addClass nav, 'swfSauce'
|
|
||||||
$.rmClass nav, 'navLinks'
|
|
||||||
$.rmAll nav
|
|
||||||
$.add nav, [$.tn('['), sauceLink, $.tn(']')]
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user