Post Reply 
SSL warnings --> images & css
Jan. 30, 2013, 01:34 PM
Post: #5
RE: SSL warnings --> images & css
i have replaced the "Convert SSL Images on non-SSL Sites" filter with the following two "togglers":
Code:
Name = "Block & Fetch: Third Party Images (convert if SSL) - Linked {PFR 13.01.30}"
Active = TRUE
URL = "($TYPE(htm)|$TYPE(js))(^$TST(keyword=*.a_tpi.*))"
Bounds = "<a\s*</a>"
Limit = 1024
Match = "<a[^>]++\shref=$AV(http(s$SET(9=https-px-.)|)://\1)\2> & *href="(*//|)([^('|")]+{1,30})\3*"
        "<i(mg|nput)[^>]++\s(src*|)src=$AV((http(s$SET(8=ssl)|)://((^([^/]++.|)$TST(uDom)|local.ptron)*)\7)\4)\5>\6"
        "$TST(($GET(pIimg)+)=$LST(Count)|*)$SET(pIimg=$GET(i))$SET(tIimg=)"
Replace = "<span class=ProxI_$DTM(c)_$GET(pIimg)&#x20;ProxToggle style=display:inline>"
          "<a class=Pr0xToggle&#x20;Pr0xTogO-A"
          " href="javascript:prxO.oInt.inToggleB('ProxI_$DTM(c)_$GET(pIimg)','cl','span');"
          "var prxIimg;prxIimg=document.getElementById('proxII_$DTM(c)_$GET(pIimg)');"
          "prxIimg.src=prxIimg.longDesc;"
          "void(prxIimg.style.display='inline');""
          " target=_self>&#160;F&#160;</a>"
          "<a class=Pr0xToggle&#x20;Pr0xTogO-A href=http://\7\5 target=_top>&#160;I\8&#160;</a>"
          "<a class=Pr0xToggle&#x20;Pr0xTogO-A href=http://\9\1\2 target=_top>&#160;L&#160;</a>"
          "</span>"
          "<a href=http://\9\1\2><img id="proxII_$DTM(c)_$GET(pIimg)" style="display:none;" src="about:blank" longdesc=http://\7\5>\6"

Name = "Block & Fetch: Third Party Images (convert if SSL) - Not Linked {PFR 13.01.30}"
Active = TRUE
URL = "($TYPE(htm)|$TYPE(js))(^$TST(keyword=*.a_tpi.*))"
Bounds = "<img\s*>|<input\s*>"
Limit = 1024
Match = "(<(img|input))\1*src=($AV((^http(s$SET(8=ssl)|)://(([^/]++.|)$TST(uDom)|local.ptron)*)(\4//\5)\2)\6)\3>"
        "$TST(($GET(pIimg)+)=$LST(Count)|*)$SET(pIimg=$GET(i))$SET(tIimg=)"
Replace = "<span class=ProxI_$DTM(c)_$GET(pIimg)&#x20;ProxToggle style=display:inline>"
          "<a class=Pr0xToggle&#x20;Pr0xTogO-A"
          " href="javascript:prxO.oInt.inToggleB('ProxI_$DTM(c)_$GET(pIimg)','cl','span');"
          "var prxIimg;prxIimg=document.getElementById('proxII_$DTM(c)_$GET(pIimg)');"
          "prxIimg.src=prxIimg.longDesc;"
          "void(prxIimg.style.display='inline');""
          " target=_self>&#160;F&#160;</a>"
          "<a class=Pr0xToggle&#x20;Pr0xTogO-A href=http://\5 target=_top>&#160;I\8&#160;</a>"
          "</span>"
          "\1 id="proxII_$DTM(c)_$GET(pIimg)" style="display:none;" src="about:blank" longdesc=http://\5\6>"
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
SSL warnings --> images & css - ProxRocks - Jan. 02, 2013, 06:37 PM
RE: SSL warnings --> images - ProxRocks - Jan. 08, 2013, 12:10 PM
RE: SSL warnings --> images - Oddysey - Jan. 09, 2013, 01:07 AM
RE: SSL warnings --> images & css - ProxRocks - Jan. 25, 2013, 02:31 PM
RE: SSL warnings --> images & css - ProxRocks - Jan. 30, 2013 01:34 PM
RE: SSL warnings --> images & css - ProxRocks - Jan. 30, 2013, 04:02 PM
RE: SSL warnings --> images & css - ProxRocks - Jan. 30, 2013, 09:31 PM
RE: SSL warnings --> images & css - ProxRocks - Jan. 30, 2013, 09:57 PM
RE: SSL warnings --> images & css - chatterer - Feb. 03, 2013, 11:38 AM
RE: SSL warnings --> images & css - ProxRocks - Feb. 04, 2013, 11:33 AM

Forum Jump: