Giter VIP home page Giter VIP logo

Comments (5)

mkhatib avatar mkhatib commented on July 3, 2024

Did you ever had an account in Manshar? (Google login or otherwise)

Have you ever been able to login with Google?

from manshar.

donbassa avatar donbassa commented on July 3, 2024

No, i tried to but it gave me that I already have an account,
and Yes, yesterday i was browsing the Website from my account.

    var usingExternalWindow = function() {
        var nav     = navigator.userAgent.toLowerCase(),
            ieLTE10 = (nav && nav.indexOf('msie') != -1),
            ie11    = !!navigator.userAgent.match(/Trident.*rv\:11\./);
        return !(ieLTE10 || ie11);
      }

      if (usingExternalWindow()) {
        window.addEventListener("message", function(ev) {
          if (ev.data === "requestCredentials") {
            ev.source.postMessage({
                "uid": "110558993300943324830",
  "id": "926",
  "email": "[email protected]",
  "authentication_token": "",
  "created_at": "2015-04-09 18:12:30 UTC",
  "updated_at": "2015-04-11 05:38:38 UTC",
  "name": "Ibrahim Bassa (DonBassa)",
  "bio": "إبراهيم جهاد بصة
مطورّ مواقع ويب من فلسطين",
  "avatar_uid": "2015/04/11/05/38/38/233/photo.jpg",
  "avatar_name": "photo.jpg",
  "recommendations_count": "0",
  "comments_count": "0",
  "role": "user",
  "published_articles_count": "0",
  "provider": "gplus",
  "nickname": "",

"auth_token": "ar0ZTHGD9aJErxobX7taPg",
"message":    "deliverCredentials",
"client_id":  "qbzsY8asmlXOKrBvyd6BNw",
"expiry":     "1429940318"

            }, '*');
            window.close();
          }
        });
      } else {
        window.location.href = "http://www.manshar.com/login#?client_id=qbzsY8asmlXOKrBvyd6BNw&expiry=1429940318&token=ar0ZTHGD9aJErxobX7taPg&uid=110558993300943324830";
      }

from manshar.

mkhatib avatar mkhatib commented on July 3, 2024

@donbassa thank you so much for adding the javascript code, that actually will help me fix the bug.

The bug seems to happen when you have a new line in your G+ bio.

Working on a fix right now.

from manshar.

mkhatib avatar mkhatib commented on July 3, 2024

@donbassa please try again and let me know if you still the problem.

from manshar.

donbassa avatar donbassa commented on July 3, 2024

@mkhatib Thank you very much. Fixed :)

from manshar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.