Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Javascript to external program

Featured Replies

Dose anyone know how to send an external program instructions using javascript?

Or how to create a html page that is a certain size like 100x100, tht has no boarders, no buttons, or anything of that sort, and to be able to position the window, like a pop up box that can't be closed without using (Alt+F4) and then be able to send javascript commands between 2 windows. Info from one window sent to this window?

If so can you show me how to do any of it.

Edited by almulder

Dose anyone know how to send an external program instructions using javascript?

Or how to create a html page that is a certain size like 100x100, tht has no boarders, no buttons, or anything of that sort, and to be able to position the window, like a pop up box that can't be closed without using (Alt+F4) and then be able to send javascript commands between 2 windows. Info from one window sent to this window?

If so can you show me how to do any of it.

heres a page that will give you an ideal on javascripting remote controlled windows

http://www.javascriptkit.com/javatutors/remote2.shtml

the only thing i can think of to resize it 100 by 100 and positioning it would be to use some what of an onlick method

example

onClick="window.open('./UserManual/manual.html','mywindow',& #39;width=700,height=400,left=0,top=100,screenX=0,

screenY=100,scrollbars=yes,toolbar=no,directories=

no,location=no,status=no,menubar=no,resizable=no,'); return false"

but as for having it chromless meaning with out having buttons to control its shut down,, i have no clue on how to make one that isnt full screen,, because the only way that i know of to make a window chromless is by using the windows variable fullscreen effect

im no javascript expert im only some one on a quest to learn it better, so thats te best i can do for you,, i hope some of the information helps you alittle

best of luck :)

Maybe not a whole new .html file but maybe the content in a tag (like <div></div>) that you can show, hide, move almost anywhere with CSS, which could be controlled by the JS (eg.. document.getElementById("div_id").style.top = "100px";)?

There's even a way to give this floating window a drop shadow. Check out the popups for Google Maps to see what I mean :)

You could even get fancy a create some "windows" like the one on this site (login as a Guest :) ): LFS World

  • Author

I would need a new windows open, because when wpi closes it will stop playing the music

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.