summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2014-02-17 16:36:35 +0400
committerDmitry Shachnev <mitya57@gmail.com>2014-02-17 16:36:35 +0400
commit58a293f2df6ed286e0d484969b5a915d83445ddc (patch)
tree7e92e84a2be73ee0b97de1af5b1a82ac6d2783fd /debian
parentf43fe1ab996786c3818b203a167a18a7114eb4a3 (diff)
downloadqtbase-58a293f2df6ed286e0d484969b5a915d83445ddc.tar.gz
Update remove_google_adsense.patch to also remove ProspectXtractor tracker script.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rw-r--r--debian/patches/remove_google_adsense.patch48
2 files changed, 49 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 7241445..dd1806b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ qtbase-opensource-src (5.2.1+dfsg-2) UNRELEASED; urgency=medium
* Disable eglfs on any non-Linux architecture; while the dependencies
for it might be satisfied, the code seems tied to/requiring Linux stuff.
+ [ Dmitry Shachnev ]
+ * Update remove_google_adsense.patch to also remove ProspectXtractor tracker script.
+
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Mon, 17 Feb 2014 09:09:16 +0100
qtbase-opensource-src (5.2.1+dfsg-1) experimental; urgency=medium
diff --git a/debian/patches/remove_google_adsense.patch b/debian/patches/remove_google_adsense.patch
index 3947cf1..0f37532 100644
--- a/debian/patches/remove_google_adsense.patch
+++ b/debian/patches/remove_google_adsense.patch
@@ -1,6 +1,6 @@
-Description: remove Google AdSense's code from examples.
+Description: remove tracking javascript from examples
Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
-
+Last-Update: 2014-02-17
--- a/examples/xml/htmlinfo/trolltech_com.html
+++ b/examples/xml/htmlinfo/trolltech_com.html
@@ -19,3 +19,47 @@ Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
<base href="http://trolltech.com/homepage" />
+@@ -913,43 +905,6 @@
+ </div>
+
+ </div>
+-<!-- ProspectXtractor tracker script -->
+-<script type="text/javascript"><!--
+-function _pxPar()
+-{
+-var p="";
+-p+="&ref="+escape(top.document.referrer);
+-p+="&dt="+escape(document.title);
+-p+="&sr="+screen.width+"x"+screen.height;
+-p+="&sd="+screen.colorDepth;
+-p+="&fv="+_pxFV();
+-return p;
+-}
+-function _pxFV()
+-{
+-var f=0,n=navigator;
+-if (n.plugins && n.mimeTypes.length) {
+-var x=n.plugins["Shockwave Flash"];
+-if(x && x.description) {
+-var y=x.description;
+-f=y.charAt(y.indexOf('.')-1);
+-}
+-} else {
+-r=false;
+-for(var i=15;i>=3&&r!=true;i-=1){
+-execScript('on error resume next: r=IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'"))','VBScript');
+-f=i;
+-}
+-}
+-return f;
+-}
+-document.write('<img src="http://pxreg.onlineservicesas.com/pxreg/?id=50C9FD2F-61D5-4824-B726-50D6B1F89999'+_pxPar()+'" width="1" heigth="1" />');
+-//-->
+-</script>
+-<noscript>
+-<div><img src="http://pxreg.onlineservicesas.com/pxreg/?id=50C9FD2F-61D5-4824-B726-50D6B1F89999" width="1" height="1" alt="" /></div>
+-</noscript>
+-<!-- END ProspectXtractor tracker script -->
+ </body>
+ </html>
+