Safari can't get HEROKU's cookie - ruby-on-rails-3

I am sorry that I am not able to provide much info because I totally have no idea about this weird problem.
I have a fb canvas app which is written by rails 3.2.2 .
There is not any problem on my local machine (Mac OS X 10.7.4).
When I deploy it to heroku, it is fine with chrome and firefox. However, when I use Safari to browse it, Safari can't get any cookie from heroku. (it shows "This site has no cookies" in developer tool, but it works well on my local machine.)
I have googled this problem, and I get something like this and this, but I don't think these are the case of mine.
any suggestion?
If you need any specific info about my code to solve this problem, please let me know.
I will appreciate it very very much!!

I finally found out that it's a problem of safari's security setting.
As fb canvas gets heroku's content through iframe, there may be security issues. If we donwgrade the 'Block cookies' of safari's privacy settings from 'From third parties and advertisers'(default) to 'Never', everything works well!
However, I don't think asking users to downgrade their security settings is a good idea. I am wondering whether there is a solution to avoid this restriction in safari.
please let me know if you have any idea. many thanks :)

Related

How do I find out what resources googles security panel is referring to?

This is the image I see in googles security panel when hitting F12 when accessing the site that I am trying to develop. I have no idea how to fix this issue so that the site comes up as secure. How can I find what resources it is referring to?
The issue was that some of my images were not going through the SSL layer. I had to install Firefox dev edition and see what resources were causing the issues using Firebug. Once I fixed that, the site popped up as secure.

Google Colab running any cell received javascript related errors

Received a browser white popup saying when executing any cells:
Error
Could not load the JavaScript files needed to display output.
This is probably because your Google account login access has expired or because third-party cookies are not allowed by your browser.
Please reload this page.
DETAILS
I have tried re-login and restarted runtime, and no help. Strange is another notebook is fine.
OK
Update: Just restarting browser and relaunched everything seemed to "fix" this.
For those like me who tried all the given solutions but with no use ,the magic thing that worked for me in the end was to open colab using a vpn!
Restart browser. If someone find a better way, please post.
I got this error on chrome. Every colab notebook I opened had this issue even if it wasn't connected to a runtime.
Restarting the browser didn't help.
Clearing cookies of last 24hours (and restarting my system to be sure!) fixed the issue.
This may be because access to your Google account has expired or because your browser does not allow third-party cookies.
Check your task manager on your laptop and see how full the disk is.
Mine was 100% so I searched “disk cleanup” on my Windows computer And got rid of temporary files and files downloaded from internet, etc. also clear cache and cookies on whatever browser you’re doing. And if you have synced your google chrome and Microsoft edge specifications as the same(cookies, extensions, etc) then get rid of both cache and other stuff on them as well. Also check 3rd party cookies
Using vpn solved this problem for me
The library I'm using by default prints a large amount of info, which caused this problem for me. Restart the browser only works if it doesn't print that much again. Disabling the verbose info printing solved the problem for me.
I found when the notebook is heavy it is throwing up this error. For example there were so many plots in my notebook, that slowed it down and caused this problem. Also make sure you don't have multiple notebooks opened.
Try Cleaning your trash/recycle-bin & temp files.
That worked out for me.
Disabling some AdBlock extensions works for me.

Embedding RDP webpage in WordPress

So my dad wants to be able to RDP from a webpage. He knows this is a Windows Only thing anyway, but the problem is that I can't embed it in WP. Works fine standalone, but as soon as I embed it in a template or iFrame it, it stops working.
Any ideas?
http://msdn.microsoft.com/en-us/library/windows/desktop/aa380809(v=vs.85).aspx works if I put that on it's own webpage, but as soon as I put it in WP, it dies. I know jack about VB so any suggestions for someone who is great at WP, but poor at Windows/IIS/VB is welcome.
I am pretty good at all of the tech you mentioned.
WP is not special, after all of the server side processing it emits standard web stuff.
I can offer some standard debugging tips to see what the problem is:
Is it an HTTP/HTTPS issue?
Is it an CrossFrame/XSS issue?
Did you see any errors being thrown in the browser's console?
Did you run fiddler on it and see if there are any errors?
Did you look at the IIS logs to see if there were any errors?

sencha touch 2 api docs

I'm currently working on a project with Sencha Touch 2 and was wondering if anyone has a working link of the API docs page.
I've tried accessing http://docs.sencha.com/touch/2-0/#!/api, but I'm constantly getting redirected to: https://www.sencha.com/products/touch/2-0/#!/api and am finally given a 'The page you’re trying to reach could not be found.' error from Sencha Touch's homepage.
Does anyone have any idea why this is happening? I'm seeing the same link given on all my searches and hence I'm starting to get the feeling that this isn't just a faulty link problem, but perhaps something else.
--update--
The missing page error is occurring on Chrome. IE seems to be handling the link OK.
I don't know why you got that strange problem because the link is still Ok for me, maybe you need to clear your browser cache or something else.
But instead of that way, if you've already download and unzip the sencha touch 2 package from here and I think you've already did it, so you just need to open the index.html file in that folder, the API docs are already there :)
I've fixed the error by disabling the KB SSL Enforcer extension in Chrome.
Hope this info. helps others facing the same problem.
The inability to read the docs in chrome was driving me mad for a while.
You have downloaded the sdk right??? just go to your sdk folder and go to docs in your web browser the docs is right there...

Opera loads nothing - MyBB forum website

I've got a website (www.ferfereh.ir - sorry it's not english) and I've installed a MyBB forum for it with this sub-domain (www.forum.ferfereh.ir). The strange thing is it doesn't work on the Opera browser, nothing gets loaded and the page is all white. I've tested it on other browsers, everything is fine. Does anyone have any idea why this might happen. I even tested my friend's MyBB forum and the same thing happens for that.
Thanks in advance.
What you see is what you get - the server sends Opera a completely empty file, Content-length 0. I can only assume it is some kind of bug in MyBB..
I also tested in Chrome, and it gets no content either.
I found the problem: It was the new Beta SEO plugin I had installed. I deactivated the plugin and now it works on all browsers.