Skip to content

MrAntares/roBrowserLegacy-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

roBrowserLegacy-plugins

Plugin repository for roBrowserLegacy

How to install plugins

  • Copy any plugin folder from src/Plugins/ into the src/Plugins/ folder in roBrowser (where PluginManager.js is located)
  • Add the plugin (or plugins) to the plugin list in roBrowser's ROConfig, separated with comma as:

<Plugin_name>: '<Path_to_the_plugin_javascript_under_src_without_the_.js_extension>'

Example with all current plugins (only add what you need):

function initialize() {
      var ROConfig = {
      
          //... other RoConf properties here
          
          plugins: { 
                      BBGutterLines: 'BBGutterLines/BBGutterLines',
                      ColoredSkies: 'ColoredSkies/ColoredSkies',
                      DefaultSettings: 'DefaultSettings/DefaultSettings', // Only example, customize source at your will
                      IntroMessage: { path:'IntroMessage/IntroMessage', pars: { newsUrl: 'https://example.com' } },
                      KeyToMove: 'KeyToMove/KeyToMove',
                      UISelectionPlugin: 'UISelectionPlugin/UISelectionPlugin', // Only example, customize source at your will
                   },
                   
          //... other RoConf properties here
          
      };
      var RO = new ROBrowser(ROConfig);
      RO.start();
  }
  window.addEventListener("load", initialize, false);
  • Refresh your site & enjoy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •