{"id":22075772,"url":"https://github.com/trigger-segfault/webscriptdisplay","last_synced_at":"2025-03-23T20:12:52.736Z","repository":{"id":87735852,"uuid":"149157519","full_name":"trigger-segfault/WebScriptDisplay","owner":"trigger-segfault","description":"A small html page for displaying the results of calling a url with parameters.","archived":false,"fork":false,"pushed_at":"2018-09-17T17:31:39.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T03:37:13.617Z","etag":null,"topics":["html","javascript","url"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/trigger-segfault.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":"2018-09-17T16:47:25.000Z","updated_at":"2023-04-02T16:59:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf202fbb-10d0-47a1-8684-48d9971e71eb","html_url":"https://github.com/trigger-segfault/WebScriptDisplay","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trigger-segfault%2FWebScriptDisplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trigger-segfault%2FWebScriptDisplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trigger-segfault%2FWebScriptDisplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trigger-segfault%2FWebScriptDisplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trigger-segfault","download_url":"https://codeload.github.com/trigger-segfault/WebScriptDisplay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245162194,"owners_count":20570692,"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":["html","javascript","url"],"created_at":"2024-11-30T22:11:11.407Z","updated_at":"2025-03-23T20:12:52.696Z","avatar_url":"https://github.com/trigger-segfault.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebScriptDisplay\n\n[![Creation Date](https://img.shields.io/badge/created-september%202018-A642FF.svg?style=flat)](https://github.com/trigger-death/WebScriptDisplay/commit/15f71f5b5a77ca161a2fbf511ea8dc6c79b14fcb)\n\nA small html page for displaying the results of calling a url with parameters. This was designed for use with an [OpenVMS](https://en.wikipedia.org/wiki/OpenVMS) server for running small cgi scripts, hence the existing *vms* favicon and sample urls.\n\n***\n\n## Measurements\n\nAdjustable measurements have been documented and listed at the top of `src/css/styles.css` to faciliate customization.\n\nSee **Defining a ScriptType: Parameter 5** for adjusting `iframe` heights.\n\n## Changing the Available Script Types\n\nScript types can be modified in `src/js/types.js`. For each page you plan on making, you must create a new array of `ScriptType`s to pass to the `initializeScriptTypes(...);` function inside a `script` tag at the end of the page.\n\n### Defining a ScriptType\n\nScripts are defined by populating an array with new `ScriptType`s. The parameters for the constructor are as follows:\n\n**Parameter 1:**\u003cbr/\u003e\nThe url for the script.\u003cbr/\u003e\nParameters must be marked with `{P#}` (starts at 1)\n\n**Parameter 2:**\u003cbr/\u003e\nThe UNIQUE identifier of the script.\u003cbr/\u003e\nUsed to store cookies of last-used parameters.\n\n**Parameter 3:**\u003cbr/\u003e\nThe list of parameter names and options.\u003cbr/\u003e\nLeave parameter name as `''` to hide name.\u003cbr/\u003e\nFormats per Parameter:\u003cbr/\u003e\n`'Name'`, Name and no default value\u003cbr/\u003e\n`['Name', 'Default']`, Name and default value\u003cbr/\u003e\n`['Name', ['Op1', 'Op2', 'Op3']]`, Name and dropdown values\n\n**Parameter 4:**\u003cbr/\u003e\n Script label (Appears above input line), leave null to exclude.\n \n**Parameter 5:**\u003cbr/\u003e\nThe default height of the `iframe`. (when Parameter 6 is false or fails)\n\n**Parameter 6:**\u003cbr/\u003e\n`true` if the iframe should attempt to resize to the content.\nOtherwise `false`.\u003cbr/\u003e\nNOTE: Will ONLY work if the url is on the same domain as this page.\n\n***\n\n## Example Page\n\n![Page Preview](https://i.imgur.com/difNcPb.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrigger-segfault%2Fwebscriptdisplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrigger-segfault%2Fwebscriptdisplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrigger-segfault%2Fwebscriptdisplay/lists"}