aboutsummaryrefslogtreecommitdiff
path: root/src/menu.hh
AgeCommit message (Collapse)Author
2024-12-17Add support for user actions in the link menuRodrigo Arias Mallo
Allows the user to define additional entries in the link menu which will execute the given program/script. Each actions is defined using the "link_action" option. The link URL is stored in the $url enviroment variable and the current page in $origin, so the user can customize how do the handling. Here is a simple example to add three new entries: link_action="Debug variables:echo url=$url origin=$origin" link_action="Open in MPV:mpv $url" link_action="Open in Firefox:firefox $url" The command is spawned in a forked process using the system() call, which uses the shell to expand any variable. In particular, the $url variable is set to the current URL being opened. Fixes: https://github.com/dillo-browser/dillo/issues/3
2011-09-16use x,y for tools popupcorvid
2011-09-16position history menu below buttoncorvid
2009-02-17[mq]: view-stylesheetsJorge Arellano Cid
2009-02-08Fixed the load image popup option. Also cleaned up the API a bit.corvid
Introduced a_Bw_get_url_doc(). Mainly for popup menus.
2009-02-08Switched load images on/off feature to the Tools menucorvid
2009-01-27Implemented the tools button with CSS options. Also removed nav.h from html.ccJorge Arellano Cid
2009-01-17Remove unused functions.Jorge Arellano Cid
2009-01-05Added a right-click menu to the form submit button (allows to show hiddens)Jorge Arellano Cid
2008-12-21Added a popup menu to form's submit buttoncorvid
2008-10-09- File menu as popup implementation.jcid
- Working show_filemenu dillorc option.
2008-09-27- Added a workaround for segfaulting popup menus.jcid
2008-09-08- Fixed the "Load Images" menu item in the page popup.jcid
2007-11-14Implemented "Load Images" in the page menu and cleaned up html.hh.jcid
2007-10-29 - Hooked "Activate" to the form_receiver.jcid
- Connected the plain page context menu. - Added code for the image menu (not hooked yet though). - Added a image-loading toggle button to the UI (not functional yet).
2007-10-14Added some "const" qualifiers.jcid
2007-10-07Initial revisionjcid