[PR #2882] [CLOSED] feat(common): allow enable JS in HTML preview #4123

Closed
opened 2026-03-17 01:41:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2882
Author: @nguyenphutrong
Created: 12/16/2022
Status: Closed

Base: mainHead: feat/allow-js-in-html-response


📝 Commits (1)

  • ebae818 feat(common): allow enable JS in HTML preview

📊 Changes

35 files changed (+192 additions, -33 deletions)

View changed files

📝 packages/hoppscotch-common/locales/af.json (+5 -1)
📝 packages/hoppscotch-common/locales/ar.json (+5 -1)
📝 packages/hoppscotch-common/locales/ca.json (+5 -1)
📝 packages/hoppscotch-common/locales/cn.json (+5 -1)
📝 packages/hoppscotch-common/locales/cs.json (+5 -1)
📝 packages/hoppscotch-common/locales/da.json (+5 -1)
📝 packages/hoppscotch-common/locales/de.json (+5 -1)
📝 packages/hoppscotch-common/locales/el.json (+5 -1)
📝 packages/hoppscotch-common/locales/en.json (+5 -1)
📝 packages/hoppscotch-common/locales/es.json (+5 -1)
📝 packages/hoppscotch-common/locales/fi.json (+5 -1)
📝 packages/hoppscotch-common/locales/fr.json (+5 -1)
📝 packages/hoppscotch-common/locales/he.json (+5 -1)
📝 packages/hoppscotch-common/locales/hi.json (+5 -1)
📝 packages/hoppscotch-common/locales/hu.json (+5 -1)
📝 packages/hoppscotch-common/locales/id.json (+5 -1)
📝 packages/hoppscotch-common/locales/it.json (+5 -1)
📝 packages/hoppscotch-common/locales/ja.json (+5 -1)
📝 packages/hoppscotch-common/locales/ko.json (+5 -1)
📝 packages/hoppscotch-common/locales/nl.json (+5 -1)

...and 15 more files

📄 Description

Closes #

Description

Enable Javascript in HTML preview

Useful for CSR

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

Before
allow-js-in-html-preview-1

After
allow-js-in-html-preview-2

https://user-images.githubusercontent.com/62984954/208150297-7e16b834-5a25-4deb-9c11-12102145ec4b.mp4


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2882 **Author:** [@nguyenphutrong](https://github.com/nguyenphutrong) **Created:** 12/16/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/allow-js-in-html-response` --- ### 📝 Commits (1) - [`ebae818`](https://github.com/hoppscotch/hoppscotch/commit/ebae8185ad15b851fb11c15f8ffe165ecef1e070) feat(common): allow enable JS in HTML preview ### 📊 Changes **35 files changed** (+192 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/af.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/ar.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/ca.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/cn.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/cs.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/da.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/de.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/el.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/en.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/es.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/fi.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/fr.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/he.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/hi.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/hu.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/id.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/it.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/ja.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/ko.json` (+5 -1) 📝 `packages/hoppscotch-common/locales/nl.json` (+5 -1) _...and 15 more files_ </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes # <!-- Issue # here --> ### Description Enable Javascript in HTML preview Useful for CSR <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behaviour, etc. --> Before ![allow-js-in-html-preview-1](https://user-images.githubusercontent.com/62984954/208150622-20a0d86f-87ce-40c8-bf9c-0e422c1f519d.png) After ![allow-js-in-html-preview-2](https://user-images.githubusercontent.com/62984954/208150639-8b093531-bc5e-4eb6-884c-f75a75c5c99e.png) https://user-images.githubusercontent.com/62984954/208150297-7e16b834-5a25-4deb-9c11-12102145ec4b.mp4 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:41:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4123
No description provided.