From 4bcdfb9fb79f6a2ea85a23f5b6109bdad517b642 Mon Sep 17 00:00:00 2001 From: kkapsner Date: Thu, 9 Apr 2015 11:08:31 +0200 Subject: [PATCH] Allow all "about:" sites --- canvasblocker.xpi | Bin 25128 -> 25372 bytes data/inject.js | 14 +++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/canvasblocker.xpi b/canvasblocker.xpi index 655f687f9eabbdc3e8e67cd4791a5355474b7e27..f9759d4a6739135c1b7c02a596f7b243b95ffbe4 100644 GIT binary patch delta 6322 zcmZ`;1x%eyvpyW$p-AzAYjJlg4#l;&yA+4Qi&H2EJGi?$6p9v?Vns`#xEG4M-uC-* zbMJSPyPNFJPUe}JOg59vvt|8oS%YwZni4z$J_rOt0bS}v$tv+6LbbslP(A_(g#Jfs z=j`rb=IF@w&eGaR^H_C>1LrZe|JfD&MeYu*if~?W7^fZ`lDuu6!u_5=>b!%w+*PqS z-)|r{vq%N~9)EY)-+Onr{q(Y8*erNZvAU)s2jUl`xTjUIpRB7s$kuV-13UzC`eZAh zv$t`9*L6x!@SM=6bH9x6^LKLRnZeP!){E4~j73tcNJ%0@^?v0H&UT%C zUF9EmwNo*50`b37qk3I&OzUxTd`?T|PRR|-EEOiK)}m^L(;a5Zw4p@}{pVQ(h9elP zyv(J2=Cm_6DV2yVChu5xY{e#bJDSj-xf=quDCF${Uj;7wpGt)~02v{yYNeP$Aw5XD zd;zaui!U*(JmZjjc8Xd19cLVO&QioIcu0=bhMOJFj$@`0I_F>9nohl(RGf+Q#^`M% z;qUHjctFiC?2$v*h8j(fGz*i9Pg%;cQ|$Ph3TyKIW$2ekFURe0EpY?v0&ejt1^)$7 zE)ysCM^~kzI-`~z;NFW=`q{lFKr==M!9*KPRsJCsPy9me6pWqQK4H*D&azx-G~?LG zyK1~JelBXcD6!5b@V1>UVkV1CCi}!gF*TEp6_f3o=Twpz-jI|gN%?U0L!0s4(>p8z zBtbhoaa))?-SVI)4@}RYc`9PH+#`Fi%S*Z?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Hxo`2g7xORlc!_FG%>El9!nAT}8)7ozGJv0eB{ZP+8iM4Hav`YHWU5XaJ zlC~r^(dm5UgsO0d<@>q*ZJdL&_ccp#(MDhO9Qlj-7>d)M%p<@4)Ki;1=6yWgpO8%V z=PBAplZ$4;&y>v$3%&F6kTl1cn45%#4d1LjmC05pEZS!B_*vZ!2jnBi);XkSW&=|y9OB%@` z1^~d_!^g?p&6_X4*X4hoSze&Z%>P?#69@p%{f+-#EfKqjOG`CiJ3`t@1h|Rtw2}da zA?p6__K0&U31BUP%US}TN(BJ$viElP^|H11M$}u=A(E^KfO3cpYf40eH8;@fFH%CO zR6*40(I8}OxKY0T3r^dhBjRoF82^uH`0wlg#+C?b)qnD)ZNyQIb^k*8=l}Wo|Iw@x z0{|@lgUhD(m%xSy0CS_fH~wdtZZHYse=9E<0N{cL_~$qOo7NKX%@}b3X2;;R_($r$ E00x6hk^lez diff --git a/data/inject.js b/data/inject.js index 057dca9..d5867e5 100644 --- a/data/inject.js +++ b/data/inject.js @@ -241,6 +241,10 @@ // Communication with main.js + function checkAbout(){ + return document.location.protocol === "about:"); + } + function checkPDF(blocking){ if (document.contentType.match(/\/pdf$/i)){ self.port.emit("isPDF", blocking); @@ -250,32 +254,32 @@ } self.port.on("block", function(force){ - if (force || !checkPDF("block")){ + if (force || !checkAbout() || !checkPDF("block")){ blockMode.getContext.status = "block"; blockMode.readAPI.status = "allow"; } }); self.port.on("ask", function(force, askOnce){ - if (force || !checkPDF("askVisible")){ + if (force || !checkAbout() || !checkPDF("askVisible")){ blockMode.getContext.status = "ask"; blockMode.getContext.askStatus.askOnce = askOnce; blockMode.readAPI.status = "allow"; } }); self.port.on("blockReadout", function(force){ - if (force || !checkPDF("blockReadout")){ + if (force || !checkAbout() || !checkPDF("blockReadout")){ blockMode.getContext.status = "allow"; blockMode.readAPI.status = "block"; } }); self.port.on("fakeReadout", function(force){ - if (force || !checkPDF("fakeReadout")){ + if (force || !checkAbout() || !checkPDF("fakeReadout")){ blockMode.getContext.status = "allow"; blockMode.readAPI.status = "fake"; } }); self.port.on("askReadout", function(force, askOnce){ - if (force || !checkPDF("askReadout")){ + if (force || !checkAbout() || !checkPDF("askReadout")){ blockMode.getContext.status = "allow"; blockMode.readAPI.status = "ask"; blockMode.readAPI.askStatus.askOnce = askOnce;