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

Delta Between Two Patch Sets: include.preload.js

Issue 29338713: Issue 3840 - Prevent websites from making collapsed elements visible again (Closed)
Left Patch Set: Created March 19, 2016, 2:50 p.m.
Right Patch Set: Removed redundant space Created March 19, 2016, 3:12 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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-2016 Eyeo GmbH 3 * Copyright (C) 2006-2016 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
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 var MutationObserver = window.MutationObserver || window.WebKitMutationObserver ; 18 var MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
kzar 2016/03/19 15:05:20 Nit: There's an extra space after the pipes.
Sebastian Noack 2016/03/19 15:12:20 Done.
19 var SELECTOR_GROUP_SIZE = 20; 19 var SELECTOR_GROUP_SIZE = 20;
20 20
21 var typeMap = { 21 var typeMap = {
22 "img": "IMAGE", 22 "img": "IMAGE",
23 "input": "IMAGE", 23 "input": "IMAGE",
24 "picture": "IMAGE", 24 "picture": "IMAGE",
25 "audio": "MEDIA", 25 "audio": "MEDIA",
26 "video": "MEDIA", 26 "video": "MEDIA",
27 "frame": "SUBDOCUMENT", 27 "frame": "SUBDOCUMENT",
28 "iframe": "SUBDOCUMENT", 28 "iframe": "SUBDOCUMENT",
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 }, true); 551 }, true);
552 552
553 return updateStylesheet; 553 return updateStylesheet;
554 } 554 }
555 555
556 if (document instanceof HTMLDocument) 556 if (document instanceof HTMLDocument)
557 { 557 {
558 checkSitekey(); 558 checkSitekey();
559 window.updateStylesheet = init(document); 559 window.updateStylesheet = init(document);
560 } 560 }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld