OLD | NEW |
1 #include <algorithm> | 1 #include <algorithm> |
2 #include <memory> | |
3 #include <cctype> | 2 #include <cctype> |
4 #include <functional> | 3 #include <functional> |
5 | 4 |
6 #include <AdblockPlus.h> | 5 #include <AdblockPlus.h> |
7 | 6 |
8 using namespace AdblockPlus; | 7 using namespace AdblockPlus; |
9 | 8 |
10 #if !FILTER_ENGINE_STUBS | 9 #if !FILTER_ENGINE_STUBS |
11 extern const char* jsSources[]; | 10 extern const char* jsSources[]; |
12 #endif | 11 #endif |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 #if FILTER_ENGINE_STUBS | 269 #if FILTER_ENGINE_STUBS |
271 std::vector<std::string> selectors; | 270 std::vector<std::string> selectors; |
272 selectors.push_back("#ad"); | 271 selectors.push_back("#ad"); |
273 selectors.push_back(".ad"); | 272 selectors.push_back(".ad"); |
274 //For test on http://simple-adblock.com/faq/testing-your-adblocker/ | 273 //For test on http://simple-adblock.com/faq/testing-your-adblocker/ |
275 if (domain == "simple-adblock.com") | 274 if (domain == "simple-adblock.com") |
276 selectors.push_back(".ad_300x250"); | 275 selectors.push_back(".ad_300x250"); |
277 return selectors; | 276 return selectors; |
278 #endif | 277 #endif |
279 } | 278 } |
OLD | NEW |