Is there any way to make a script to execute on page load of all pages across the site?

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered

I've a requirement to show different messages in different pages - application dashboard pages, table home pages, reports and forms. I just thought to have a JS code that can run in all pages and based on the URL, the message can be customized.

I'm aware of the Image OnLoad  technique which works in reports and forms when the image onload field is present but not in table home page. So, I'm finding if there is a way to get and execute the script on any pages in QuickBase.

Photo of Dinesh

Dinesh

  • 0 Points

Posted 4 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,074 Points 20k badge 2x thumb
You would have to install a userscript addon such as CrossRider, Grease Monkey or my favorite Tamper Monkey and arrange to have your script run after matching a pattern against the URL. See:

CrossRider
https://crossrider.com/


Greasemonkey
https://addons.mozilla.org/en-us/firefox/addon/greasemonkey/


TamperMonkey
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en