Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Why not load on https://www.facebook.com/login.php?

I noticed that there is a line in background.js (this is in Chrome) that does not load the extension if the page url matches Facebook's login page. What's the reason for this? If my extension can't work on this page, I can't use Crossrider.
3 people have
this question
+1
Reply
  • Hey MJ,

    The extension code should run on any page regardless of its URL, so there should no issues on running your App Page Code on https://www.facebook.com/login.php.

    How ever we do have some specific limitation to the Facebook API itself to prevent some endless loops.

    However, I will check with the tech team and verify that indeed there are no known issues here.

    In any case, if you can send me some code examples of what you are trying to do it will be a major help.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • On line 17 of crossrider's "/js/background.js" file as it is distributed for Chrome, the page's url is matched against this regular expression:

    /^(https?\:\/\/(www|ssl)\.facebook\.com\/login\.php|https?\:\/\/www\.facebook\.com\/connect\/uiserver\.php|https?\:\/\/static\.ak\.fbcdn\.net\/connect\/xd_proxy\.php|https?\:\/\/.*?fbcdn.net\/connect\/xd_proxy\.php).*/

    If it matches, the extension is not injected. This is what I could piece together from looking at your source code, so I could be wrong, but hopefully this will help figure out what's going on.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • You were indeed correct and we have deployed a fix for this.
    Thanks for pointing it to us!

    Let me know your app ID so we can repack the extension code for you (if you prefer you can send it to me privately via email to shmueli@crossrider.com).
    Alternatively you can do a small change in your code and save your app and it will repack it automatically.

    By the way, if you are working in Debug Mode then you will need to re-download your debug CRX for the changes to take affect locally.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • Hi. Ok, I am not a techie AT ALL. I'm just trying to learn the basics. :) The reason I found your site is that it was mentioned in an error message on Google+ page. I am trying to connect my Facebook account to Google+. It shows a FB icon in the left column along with Profile, etc. But when I click on the FB icon it brings up an error message regarding Chrome?! It reads as shown below. I've already spent way too much time on this. If you could help with this I'd be TRULY appreciative! Thank you so much.

    This webpage is not available
    The connection to crossrider.com was interrupted.
    Here are some suggestions:
    Reload this webpage later.
    Check your Internet connection. Restart any router, modem, or other network devices you may be using.
    Add Google Chrome as a permitted program in your firewall's or antivirus software's settings. If it is already a permitted program, try deleting it from the list of permitted programs and adding it again.
    If you use a proxy server, check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server, adjust your proxy settings: Go to Applications > System Preferences > Network > Advanced > Proxies and deselect any proxies that have been selected.
    Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • Thanks Stacy for reporting this.
    We are aware of this issue and will fix this as soon as possible.
    (I'll save you the techie explanations :)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • I’m thankful
    Hi Shmueli. Oh good news...I was afraid it was just my goober computer. :) It is a Macbook pro though...so I shouldn't complain. :) I'll look forward to getting the Facebook link up and running on my various Google+ pages that I manage. Thanks for "not explaining." haha Best, Stacy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • This reply was removed on 2012-11-07.
    see the change log