TelcoBridges Magic Bookmark

Installation instructions for Telcobridges' Bookmarklet

What is a Bookmarklet?

A Bookmarklet is Javascript code that is saved in a browser as a bookmark, allowing a user to execute it on demand to dynamically modify a webpage.

We use this as a tool to provide additional ergonomic features to our users within the WebGUI.

For more information reference: https://en.wikipedia.org/wiki/Bookmarklet

What can the Magic Bookmark do?

Current Features:

  • Add Auto-Refresh to WebGUI's Call-Trace page

  • Export configurations and statistics as a human readable .json file

  • Mass edit H.248 Fixed Termination IDs

How do I install the MB?

Installing a bookmarklet is no different than adding a bookmark to your browser, generally achieved by right-clicking on your bookmark bar and clicking "Add a Bookmark".

The Name, Tags, and Keyword fields are cosmetic for your own organizational structure and can be set to anything you prefer.

In the URL Field copy the code below exactly:

javascript: (function() {
    var _tbmb_script = document.createElement('script');
    _tbmb_script.src = 'https://tbsupport.s3.ca-central-1.amazonaws.com/magic_bookmark/current.js';
    document.head.appendChild(_tbmb_script);
    console.log('AWS: bookmark over');
})();

The code being executed when this button is clicked can be viewed at the script.src URL.

How do I use the MB?

To use the Magic Bookmark log in to the ProSBC or TMG WebGUI and click the bookmark.

The behavior of the bookmark will change depending on which page of the WebGUI you are on.

  • Call Trace Page: MB will add an Auto-Refresh option

  • H.248 Page: MB will add an editable field for all fixed termination IDs and a submit button

  • Any other Page: MB will add the TB Status Downloader to the top of the page.

To clear the behavior of the Magic Bookmark, simply refresh the page. All Bookmarklet functions are halted and destroyed when a new page is loaded.

Last updated

Was this helpful?