[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-librejs] Yahoo Mail Classic viewing e-mails is broken

From: Loic J. Duros
Subject: Re: [Bug-librejs] Yahoo Mail Classic viewing e-mails is broken
Date: Sat, 21 Apr 2012 17:58:48 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0


Thanks for your report.

This issue might be either because of a different query appended to the end of the url, or it could also be because the page contains iFrame. iFrames are technically different pages with different urls loaded. We might add a feature to allow iFrames when users click on "allow all scripts on this page", but many people also want to allow a page while still refusing iframes. Imagine a page that contains YouTube videos in an iFrame, you might want to allow a page, but do not want to allow the YouTube iframe, in fact you may not even know they are there.

There is a solution if you want to allow all scripts from that site. I don't recommend doing this since the JavaScript you are talking about is nonfree software, but this is entirely up to you. This solution is valid for any url:

You can choose to whitelist the entire domain. To do that, enter in your location bar: about:addons

Click on the "extensions" tab, then where you see LibreJS, click on "Options" or "Preferences". You should see a whitelist input field there. Entering something like "*.mail.yahoo.com" without the quotes in the field would allow all the scripts from the page you mentioned, along with all the other pages from that hostname.



On 04/21/2012 04:02 PM, Luke R. wrote:
It's not possible to view e-mails in Yahoo Mail Classic even after whitelisting 
the Javascript. The name of the .js seems to be random on each re-load which is 
probably causing the issue.
http://us.mc50.mail.yahoo.com/mc/showMessage?[insert randomized junk here]
in attribute: onload:parent.gLaunchProfile.stop('RT_AD_N', true);;

in attribute: onload:parent.gLaunchProfile.stop('RT_AD_REC', true);;

if (self != top) {top.location.href = self.location.href;}if (self != top) {while (navigator.userAgent.toLowerCase().indexOf("khtml")>  0) {;}}var isBookmark = false;function 
positionOffscreen(flag) {var newStyles = document.getElementById("offscrId");if (!newStyles) {var head = document.getElementsByTagName("head")[0];newStyles = 
document.createElement("style");newStyles.type = "text/css";newStyles.id = "offscrId";newStyles = head.appendChild(newStyles);}if (!flag&&  top.location.hash != 
"") {if (newStyles.styleSheet) {newStyles.styleSheet.cssText = "body {left:-999px;top:-9999px; position:absolute;}";} else {newStyles.textContent = "body {left:-999px;top:-9999px; 
position:absolute;}";}isBookmark = true;}if (flag) {if (newStyles.styleSheet) {newStyles.styleSheet.cssText = "";} else {newStyles.textContent = "";}}}positionOffscreen();var mgProfiler 
= {timerEnabled: "1",CT: 0,MT: 0,CL: 0,OC: 0,OM: 0,totalAdTime: 0};
var gLaunchStartTime = ( new Date() ).getTime();function Timer() {this.s…

reply via email to

[Prev in Thread] Current Thread [Next in Thread]