| All Mangas Reader https://v1.allmangasreader.com/forum/ |
|
| Replacements for eval() function https://v1.allmangasreader.com/forum/viewtopic.php?f=4&t=1533 |
Page 1 of 2 |
| Author: | braiam [ Fri Oct 05, 2012 12:13 am ] |
| Post subject: | Replacements for eval() function |
| Author: | mexicano21 [ Fri Oct 05, 2012 1:35 am ] |
| Post subject: | Re: Don't work on Chrome 24.0.1284.2 dev-m |
I'm pretty sure it's possible to use JSON.parse() in any place we use eval() in mirror scripts today. |
|
| Author: | mexicano21 [ Fri Oct 05, 2012 2:42 am ] |
| Post subject: | Re: Don't work on Chrome 24.0.1284.2 dev-m |
| Author: | braiam [ Fri Oct 05, 2012 2:52 am ] |
| Post subject: | Re: Don't work on Chrome 24.0.1284.2 dev-m |
| Author: | mexicano21 [ Fri Oct 05, 2012 3:28 am ] |
| Post subject: | Re: Don't work on Chrome 24.0.1284.2 dev-m |
Maybe. I only tested on RHS so far. If you found a solution for all other FoolSlide mirrors better yet. Also, I think I finally solved the keydown and page resize bugs on RHS. |
|
| Author: | braiam [ Fri Oct 05, 2012 5:24 am ] |
| Post subject: | Re: Don't work on Chrome 24.0.1284.2 dev-m |
| Author: | mexicano21 [ Sat Oct 06, 2012 4:31 am ] |
| Post subject: | Re: Replacements for eval() function |
It works on any well formatted JSON string. Sometimes this is tricky, but without eval is the way to go whenever possible. I'm going to make some more tests. |
|
| Author: | Someone516 [ Wed Oct 17, 2012 3:09 pm ] |
| Post subject: | Re: Replacements for eval() function |
Cool! Sounds like you've almost got a universal code for any FoolSlide mirror! |
|
| Author: | mexicano21 [ Wed Oct 17, 2012 4:36 pm ] |
| Post subject: | Re: Replacements for eval() function |
Yeah, basically I change the urls and test. All FoolSlide scripts are the same. I only need to make some change when the site changes its layout, but that's still a minor change. The other change is when the site doesn't list all mangas in one page and then I need to use the search function, but that's already covered too, I only need to choose the list or search version of script in the beginning. |
|
| Author: | braiam [ Wed Nov 14, 2012 9:50 pm ] |
| Post subject: | Re: Replacements for eval() function |
@mexicano21, I tried to use JSON.parse without ajax and didn't work at all. Can we get a little reunion so we can find a way to work this out? |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|