Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

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

Featured Replies

I am trying to make a one click file that will release and renew the DHCP on my router. I was thinking using a .bat file; I am stuck.

 

I have

http://192.168.0.1/index.php

delay

javascript:void(document.getElementsByName('LOGIN_USER')[0].value='admin');

javascript:document.getElementsByName('login')[0].click();

delay

http://192.168.0.1/st_device.php

delay

javascript:document.getElementsByName('DHCP Release')[0].click();

delay

javascript:document.getElementsByName('DHCP Renew')[0].click();

 

Each of these work separately pasting into the address bar; I do not know how to make them work together. I also need to input some delays to give the pages time to load.

 

If a .bat file cannot work I could use

var script=document.createElement('script');
script.src='*.js';
document.getElementsByTagName('head')[0].appendChild(script);

as a bookmark to call a .js file. Any help would be appreciated.

 

 

 

Never mind I just bought a new router.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.