Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
FMalk's Recent Snippets
- All /
« Prev 1 Next »
Find how many factors there is in N! for a prime P
Ex: 5! = (2^3)*(3^1)*(5^1)
mult(5,2) = 3
mult(5,3) = 1
mult(5,5) = 1
all else = 0
0
590
posted 12 years ago by FMalk
The filter only needs to know which requests need to be returned as JSONP, doesn't care how. Modify "OnBeginRequest" accordinly.
If original .asmx doesn't return JSON, extend it like example shows.
JSONP only works for GET requests, so don't forget...
0
798
posted 13 years ago by FMalk