Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

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.

Anyone know what this code might be?

Featured Replies

Found some code in one of my old CDML web files that I can't figure out. Was wondering if anyone would know what this is?

<a href="javascript:openReport('browser=Safari&browservernum=1&sid=SG636222&uid=63.xxx.xxx.145361&qid=Q6&name=&language=')">

Of course the part that is uid= is a IP address that I have swapped out xxx with. I am not sure what this type of javascript might do?

LR

This might already be obvious to you, but it's pointing to a JavaScript function called openReport() and supplying it with one long argument. In order to work out what it actually does, you need to refer to the function itself and check what the code does with its argument. It'll either be in the <head> section of the document, or in an included file listed in the head section. Without that it's impossible to know for sure ...

... at a guess though, I'd say that it's formatting a CDML query whose results open in a pop-up window. Things like -db=, -format= etc are probably assembled from variables in the function itself.

Cheers,

Kevin

Create an account or sign in to comment

Important Information

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

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.