Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/wataxi.picotech.app/public_html/public/custom/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
$(document).ready(function() {
var OneSignal = window.OneSignal || [];
OneSignal.push(["init", {
appId: ONESIGNAL_APP_ID,
subdomainName: "",
autoRegister: true,
promptOptions: {
actionMessage: "We'd like to show you notifications for the latest orders",
acceptButtonText: "ALLOW",
cancelButtonText: "NO THANKS"
}
}]);
var OneSignal = OneSignal || [];
OneSignal.push(function(){
OneSignal.setExternalUserId(USER_ID);
OneSignal.on('subscriptionChange', function(isSubscibed){
/*OneSignal.sendTag("user_id","4444", function(tagsSent) {
});*/
});
var isPushSupported = OneSignal.isPushNotificationsSupported();
if(isPushSupported)
{
OneSignal.getUserId( function(userId) {
});
OneSignal.isPushNotificationsEnabled().then(function(isEnabled)
{
if(isEnabled)
{
}else {
OneSignal.showHttpPrompt();
}
});
}else{
}
});
});
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0046 ]-- |