/f/ security issue #722
This commit is contained in:
parent
938acfe5d8
commit
de2d6a0303
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* appchan x - Version 2.9.26 - 2014-05-07
|
* appchan x - Version 2.9.26 - 2014-05-09
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* appchan x - Version 2.9.26 - 2014-05-07
|
* appchan x - Version 2.9.26 - 2014-05-09
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||||
@ -15602,9 +15602,10 @@
|
|||||||
}
|
}
|
||||||
swfName = $('.fileText > a');
|
swfName = $('.fileText > a');
|
||||||
nav = $('.navLinks');
|
nav = $('.navLinks');
|
||||||
|
swfName = swfName.href.replace(/^(.*?)\/f\//g, "");
|
||||||
sauceLink = $.el('a', {
|
sauceLink = $.el('a', {
|
||||||
textContent: 'Check Sauce on SWFCHAN',
|
textContent: 'Check Sauce on SWFCHAN',
|
||||||
href: "http://eye.swfchan.com/search/?q=" + swfName.textContent
|
href: "http://eye.swfchan.com/search/?q=" + swfName
|
||||||
});
|
});
|
||||||
$.addClass(nav, 'swfSauce');
|
$.addClass(nav, 'swfSauce');
|
||||||
$.rmClass(nav, 'navLinks');
|
$.rmClass(nav, 'navLinks');
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
/*
|
/*
|
||||||
* appchan x - Version 2.9.26 - 2014-05-07
|
* appchan x - Version 2.9.26 - 2014-05-09
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||||
@ -15622,9 +15622,10 @@
|
|||||||
}
|
}
|
||||||
swfName = $('.fileText > a');
|
swfName = $('.fileText > a');
|
||||||
nav = $('.navLinks');
|
nav = $('.navLinks');
|
||||||
|
swfName = swfName.href.replace(/^(.*?)\/f\//g, "");
|
||||||
sauceLink = $.el('a', {
|
sauceLink = $.el('a', {
|
||||||
textContent: 'Check Sauce on SWFCHAN',
|
textContent: 'Check Sauce on SWFCHAN',
|
||||||
href: "http://eye.swfchan.com/search/?q=" + swfName.textContent
|
href: "http://eye.swfchan.com/search/?q=" + swfName
|
||||||
});
|
});
|
||||||
$.addClass(nav, 'swfSauce');
|
$.addClass(nav, 'swfSauce');
|
||||||
$.rmClass(nav, 'navLinks');
|
$.rmClass(nav, 'navLinks');
|
||||||
|
|||||||
@ -10,9 +10,10 @@ Flash =
|
|||||||
|
|
||||||
swfName = $ '.fileText > a'
|
swfName = $ '.fileText > a'
|
||||||
nav = $ '.navLinks'
|
nav = $ '.navLinks'
|
||||||
|
swfName = swfName.href.replace /^(.*?)\/f\//g, ""
|
||||||
sauceLink = $.el 'a',
|
sauceLink = $.el 'a',
|
||||||
textContent: 'Check Sauce on SWFCHAN'
|
textContent: 'Check Sauce on SWFCHAN'
|
||||||
href: "http://eye.swfchan.com/search/?q=#{swfName.textContent}"
|
href: "http://eye.swfchan.com/search/?q=#{swfName}"
|
||||||
$.addClass nav, 'swfSauce'
|
$.addClass nav, 'swfSauce'
|
||||||
$.rmClass nav, 'navLinks'
|
$.rmClass nav, 'navLinks'
|
||||||
$.rmAll nav
|
$.rmAll nav
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user