Plugin repository for roBrowserLegacy
- Copy any plugin folder from
src/Plugins/into thesrc/Plugins/folder in roBrowser (wherePluginManager.jsis 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