website popup notification - text

I would like make a popup appear on my site like ones that come up when you facebook friend request someone. im do not want the javascript alert();. if possible can this popup notification be triggered from a boolean value from a database? thanks

Perhaps something like this will meet your needs? A search on Google for "lightbox" will get you thousands of useful links.

Related

chrome topsites with new tab override extension

I want to show user's top sites in my new tab extension. I have a few questions about chrome.topsites api:
I only get 10 sites every time. Can I get more?
I don't get new sites. I get always the same sites even if I go to new sites multiple times. Why is that?
In Firefox I used browser.topsites.get({newtab: true}) and I do get new sites.
Is there something similar to this in chrome? I read the dcoumentation and didn't find answers.
Thank you!

Detect which url button was clicked facebook messenger

I'm developing an chatbot to facebook, but right now, i'm facing a problem.
The issue is, i want to give to the users the option to select a link and after the user opens it, i want him to give me a feedback about if this was helpfull.
Something like,
me: I've searched and i've found this.
http://facebook.com/1 | http://facebook.com/2
User: Clicks on the first link. And i'm notified about that.
me: Have you found what you were searching for?
Yes | No
So, after this i know that the user have clicked on the first link, and the feedback was positive.
Or at least this is what i want to know..
That may sound confusing.
There isn't a direct way to do this. You could append url params to the link and then parse them when the request is received by your webserver.

How can I add a Whatsapp function to my website?

I have very little reputation points so I cannod add a comment in this similar question.
But I need an explanation as the code is working in a different way as expected.
I would like to have a link on my website where the user can click on the whatsapp link and start the conversation with the contact.
The code I add is this:
href="intent://send/0123456789#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end
where 0123456789 were substituted with a real number subscribed to whatsapp.
But it seems working only with my contact. If I have a new number it will not work and will tell me that the contact number is not connected to whatsapp (even if it is).
How can I solve this problem?
Once this first problem is solved, I'd like to add some preformatted text to the message like: message sent from website xyz. What code should I add?
This like of code is working for Android, I need it also for iPhone, what should I use?
This other code is working on Android and on iPhone, but it doesn't allow me to add a custom contact number:
whatsapp
abid can be only an ID from a contact already saved in you phone, otherwise it will open the contact selection page in whatsapp
Please, don't share links without explanation of the content as I'm not a developer, I'm just trying to do my best following instructions of people with more knowledge.
Thank you.
As long as your explanation describes you are looking for a user to be able to Click in order to open a Chat with a specific Whatsapp active user.
Nowadays Whatsapp has emitted an API to specifically solve this needs, it's called 'Click to Chat' API and must work on all devices:
https://faq.whatsapp.com/en/general/26000030
Also, the scheme for the link you were using seems to be working correctly nowadays when used like this:
whatsapp://send?text=MESSAGE&phone=+NUMBER&abid=+NUMBER

Get profileDisplayedUserKey on Homepage of IBM Connections

I am developing some widgets for IBM Conections. One of the requirements is a widget on the homepage which will get the user based content.
On a Profile page there you can get ProfileUserkey by calling
this.iContext.getiWidgetAttributes().getItemValue(“profileDisplayedUserKey”);
I want to know if this also applicable for the homepage? Can I get the Profileuserkey by the same method or is there another/better way?
Paul, I already figured it out. iContext has something like getUserProfile() and from this ItemSet you can get directly the email of the current user.

WebEngine "keep me logged in" functionality

Is there any way to store state, basically to have a "keep me logged in" functionality like browsers do?
I've been looking into the CookieManager, and search a lot but haven't been able to find anything on this.
I have a social feeds reader, in which if a user clicks on a link it is opened on a WebView. The thing is, that on every run of my app, when they click on a link pointing to a private facebook post, they need to log in to their accounts in order to view it, which is quite uncomfortable.
Appreciate your help.
I found this How do I persist cookies when using HTTPUrlConnection?
and this http://docs.oracle.com/javase/tutorial/networking/cookies/custom.html
which allowed me to create a persistent cookie handler.

Resources