Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1011449 // JS Notification Test [OK, but not in Opera?]

JavaX source code (desktop) [tags: ai1-lol use-pretranspiled] - run with: x30.jar - homepage

Download Jar. Libraryless. Click here for Pure Java version (5425L/39K).

!7

p {
  if (isMain())
    serveHttpAndOpenBrowser();
}

html {
  ret loadJQuery() 
      + hdesktopNotifications()
      + hdiv("", id := "notiStatus")
      + hbutton("Notify me", onclick := "sendDesktopNotification(" + jsQuote("Here you are") + ", { action: function() { window.focus(); } });");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1011449
Snippet name: JS Notification Test [OK, but not in Opera?]
Eternal ID of this version: #1011449/9
Text MD5: e16b9fc690428c3765d51fa4a8e81c7a
Transpilation MD5: 2e64d6481d2de31aba0dfd4517ecb318
Author: stefan
Category: javax / html
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-26 16:03:12
Source code size: 313 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 422 / 4213
Version history: 8 change(s)
Referenced in: [show references]