diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-02-13 12:55:54 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-02-18 19:00:02 +0100 |
commit | 50ee7bcac6aa51f39668f4532f579e3c26510b7b (patch) | |
tree | 67dbe19871057b4debe186021569ac1f5ce138fb /searx/templates | |
parent | 795e8af61dcb6f669ccc653f6524f652f7d62a5c (diff) | |
download | searxng-50ee7bcac6aa51f39668f4532f579e3c26510b7b.tar.gz searxng-50ee7bcac6aa51f39668f4532f579e3c26510b7b.zip |
[oscar] add scrolling="no" to iframes in HTML templates
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#discussion_r805180787
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/oscar/result_templates/default.html | 2 | ||||
-rw-r--r-- | searx/templates/oscar/result_templates/videos.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html index 72a5f8c56..5517b7b9c 100644 --- a/searx/templates/oscar/result_templates/default.html +++ b/searx/templates/oscar/result_templates/default.html @@ -9,7 +9,7 @@ {% if result.data_src -%} <div id="result-media-{{ index }}" class="embedded-content invisible"> - <iframe data-src="{{result.data_src}}" frameborder="0" allowfullscreen></iframe> + <iframe data-src="{{result.data_src}}" frameborder="0" scrolling="no" allowfullscreen></iframe> </div> {%- endif -%} diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html index 586dffc22..4519b96d6 100644 --- a/searx/templates/oscar/result_templates/videos.html +++ b/searx/templates/oscar/result_templates/videos.html @@ -9,7 +9,7 @@ {% if result.data_src -%} <div id="result-video-{{ index }}" class="embedded-video collapse"> - <iframe data-src="{{result.data_src}}" width="540" height="304" frameborder="0" allowfullscreen></iframe> + <iframe data-src="{{result.data_src}}" width="540" height="304" frameborder="0" scrolling="no" allowfullscreen></iframe> </div> {%- endif %} |