{"id":20792621,"url":"https://github.com/mkrl/openelementsender","last_synced_at":"2026-04-21T17:07:34.138Z","repository":{"id":114879095,"uuid":"96315506","full_name":"mkrl/OpenElementSender","owner":"mkrl","description":"A small OpenCMS module that hides all the tables on the web page and adds an option to open them in a new window.","archived":false,"fork":false,"pushed_at":"2017-08-16T08:28:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T11:11:36.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkrl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-05T12:12:57.000Z","updated_at":"2017-07-05T12:46:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"13eeb807-7616-4067-8f39-1db2ee76ad67","html_url":"https://github.com/mkrl/OpenElementSender","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkrl%2FOpenElementSender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkrl%2FOpenElementSender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkrl%2FOpenElementSender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkrl%2FOpenElementSender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkrl","download_url":"https://codeload.github.com/mkrl/OpenElementSender/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243136025,"owners_count":20241990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T15:53:05.273Z","updated_at":"2026-04-21T17:07:29.106Z","avatar_url":"https://github.com/mkrl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenElementSender\nA small OpenCMS module that hides all the tables on the web page and adds an option to open them in a new separate window. This was originally made for a government organization's site to fit the requirements for visually impaired people.\n\nRequirements\n------------\n\n- [OpenCMS](http://www.opencms.org/) 6+\n- [jsoup](https://github.com/jhy/jsoup)\n- A web-server running Java 7+ (most likely may work  in older versions)\n- jQuery 1.6+ (client-side)\n\nInstallation\n------------\n\n1. Put `viewer.jsp` into any folder on your web server\n2. Change `\"jspaddr\"` variable in the `element_sender.js` to match your JSP path\n3. Include `element_sender.js` in templates you want to de-tableise:\n\n `\u003cscript src=\"\u003ccms:link\u003e/js/element_sender.js\u003c/cms:link\u003e\" type=\"text/javascript\"\u003e\u003c/script\u003e`\n\n4. If required, add custom css rules to `viewer.jsp` for a more pleasant look\n\n\nOther notes\n-----------\n\nIf you want some text to be displayed above the download button, specify \"data-name\" attribute for desired tables. This will display additional heading for each table hidden.\n\nThis script grabs page URL and gets a table index and then sends it via HTTP-request to the Java servelet that shows the element.\nThis can be used for any elements, just throw it other parameter and a desired DOM element index.\n\nIf you have any tables in your page template, you will most likely have to add `+1` to the counter inside of the `element_sender`. By default, JS script only searches for tables in `page_content` div classes. The JSP part grabs the whole page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkrl%2Fopenelementsender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkrl%2Fopenelementsender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkrl%2Fopenelementsender/lists"}