Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: background.js

Issue 29544706: Noissue - Adapt check for devtools panel support for Firefox (Closed)
Patch Set: Use parseInt() Created Sept. 23, 2017, 12:42 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | messageResponder.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 } 439 }
440 ); 440 );
441 } 441 }
442 else if (typeof response != "undefined") 442 else if (typeof response != "undefined")
443 { 443 {
444 reply(response); 444 reply(response);
445 } 445 }
446 } 446 }
447 }); 447 });
448 448
449 window.Services = {
450 vc: {
451 compare(v1, v2)
452 {
453 return parseFloat(v1) - parseFloat(v2);
454 }
455 }
456 };
457
458 let filters = [ 449 let filters = [
459 "@@||alternate.de^$document", 450 "@@||alternate.de^$document",
460 "@@||der.postillion.com^$document", 451 "@@||der.postillion.com^$document",
461 "@@||taz.de^$document", 452 "@@||taz.de^$document",
462 "@@||amazon.de^$document", 453 "@@||amazon.de^$document",
463 "||biglemon.am/bg_poster/banner.jpg", 454 "||biglemon.am/bg_poster/banner.jpg",
464 "winfuture.de###header_logo_link", 455 "winfuture.de###header_logo_link",
465 "###WerbungObenRechts10_GesamtDIV", 456 "###WerbungObenRechts10_GesamtDIV",
466 "###WerbungObenRechts8_GesamtDIV", 457 "###WerbungObenRechts8_GesamtDIV",
467 "###WerbungObenRechts9_GesamtDIV", 458 "###WerbungObenRechts9_GesamtDIV",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 }, 595 },
605 filter: { 596 filter: {
606 text: "||example.com/some-annoying-popup$popup", 597 text: "||example.com/some-annoying-popup$popup",
607 whitelisted: false, 598 whitelisted: false,
608 userDefined: true, 599 userDefined: true,
609 subscription: null 600 subscription: null
610 } 601 }
611 }); 602 });
612 }); 603 });
613 }()); 604 }());
OLDNEW
« no previous file with comments | « no previous file | messageResponder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld