Skip to main content

Topic: extension exemple ?? (Read 158 times)

  • Quetzal
  • [*][*]
extension exemple ??
hi all, hope your well...

1 month more in happyness with dragon-fly otter

but, i try stuff, and get a look to otter's extension... no exemple, nothing to download... then

i do suppose it's kind of chrome extension... but i do find anything...

same way than chrome extension, or there's somewhere an exemple'file that i do not have found yet...

thanks a lot


  • szyk
  • [*]
Re: extension exemple ??
Reply #1
Currently Otter Browser supports only user scripts as extensions.

  • Quetzal
  • [*][*]
Re: extension exemple ??
Reply #2
well, it's waht i seen... but pragmaticaly speaking, how to used them...

it's a javscript file, but when i try to used, or modified an html document, nothing happend

i surely miss something important, but what ???

  • ersi
  • [*][*][*][*][*]
Re: extension exemple ??
Reply #3
Currently Otter Browser supports only user scripts as extensions.
Are there any example files so users could understand how they are written? Are they exactly the same user scripts as used in Greasemonkey (or whatever the script extension there was called) or somehow different? Do old-time Opera user scripts work? Where to put the files?

Etc.

  • Quetzal
  • [*][*]
Re: extension exemple ??
Reply #4
hi Ersi, it's so obvious when you know it

in fact i never did it in opera or in any other browser... then, i was a few loosy

thanks a lot for the anwser...

i'm gonna have a look

  • vbr
  • [*]
Re: extension exemple ??
Reply #5
Hi,
there is a dedicated menu for registering "addons" - i.e. currently userscripts:
Menu: Addons
or Tools: Addons   (in the full menu)
On right mouse button click in in the addons page a context menu appears: Add addon
where the respective js file can be located and its name is then stored in the addon list.

right-mouse context menu over the addons in this lists shows other options.

I think, there is no definitive documentation of the supported features, but there are some remarks in the issue tracker: an https://github.com/OtterBrowser/otter-browser/issues/1091

Elementary usage can be checked with simple (useless) script like:
self.document.title = "TEST: " + self.document.title;
(saved e.g. as myscript.js)
If you register this file via the above steps, the window title of all loaded websites should be modified accordingly.

General page manipulations available for Greasemonkey or other implementations should work, but there might be some incompatibilities.

hth,
   vbr