Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Plugin that allows you to put javascript code evaluated by kss

Project description


If you want to use external js libraries with kss you may have to write a kss plugin (for example create a jQuery porting of some features). When it makes sense you can also use this package and put simple inline javascript code that will be executed.

You can call javascript code from the inlinejs kss command set or configure properly a kss configuration file.

Example usage

From python code:

element = ksscore.getHtmlIdSelector(‘selector’) inline = self.getCommandSet(“inlinejs”) inline.execJs(element, “alert(‘TEST’); alert(; jQuery(…)”)

From a kss configuration file:

img:click {
action-client: inlinejs-effect; inlinejs-effect-code: ‘alert(; alert(“done”); jQuery(…)’; inlinejs-effect-debug: ‘1’; }


  • Tests coverage


Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.kss.inlinejs-1.0-py2.4.egg (11.0 kB) Copy SHA256 hash SHA256 Egg 2.4
collective.kss.inlinejs-1.0.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page