Gmail
![]() ![]() |
My Gmail messages had been turning up with an unintended wide blue rectangle at the bottom. I found that some of my original messages contained: <div style=3D"position:absolute;display:= none; opacity: .75; filter: alpha(opacity=3D75);z-index:1000;border-left:so= lid 0.5px #3c8fa7;border-top:solid 1px #3c8fa7;border-right:solid 1.5px #3c= 8fa7;border-bottom:solid 1px #3c8fa7;background-color:white;padding-left:5p= x;padding: 1pt 3pt 1pt 3pt;font-size: 10pt;color: #000000;"> </div> Since this script generates a blue rectangle for its translations, I realized Highlight2Translate was definitely causing it. Here's what you'll find in this script: //create the hidden translation box adn set its style
window.div=document.createElement("div")
var divStyle="position:absolute;display:none; opacity: .75; filter: alpha(opacity=75);z-index:1000;border-left:solid 0.5px #3c8fa7;border-top:solid 1px #3c8fa7;border-right:solid 1.5px #3c8fa7;border-bottom:solid 1px #3c8fa7;background-color:white;padding-left:5px;padding: 1pt 3pt 1pt 3pt;font-size: 10pt;color: #000000;"
window.div.setAttribute("style",divStyle)
document.body.appendChild(window.div);
So I added this (inserted below the @include): // @exclude https://mail.google.com/* And it seems to prevent the rectangles from getting into my email. *Please note: I experienced this bug with Highlight2Traslate 2.0 but based on the source, it looks like this version would have the same problem. |

