Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that the search bar does not support https?

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the "search bar does not support https how to solve" related knowledge, the editor through the actual case to show you the operation process, the method of operation is simple and fast, practical, I hope this "search bar does not support https how to solve" article can help you solve the problem.

The first method: implement through js

But recently, when I was doing a customer demand, I suddenly thought of a curvilinear way to seek the country. Anyway, I tested that Baidu's in-site search could be used on the https site, and the method was particularly violent.

The idea is to do an input, do a button, enter keywords in input, click button with js control and directly open Baidu site to search for url+ keywords. It works anyway, and I don't know if it's the right thing to do.

The above code:

Search for

Just copy the url of the search results page on your Baidu site and replace the "http://zhannei.baidu.com/cse/search?s=1849457021752692468&entry=1&q="" in the above code to OK.

The second method is realized by php jump.

Search code does not belong to js

Change action to local php file after modification

Search.php is as follows

This is the end of the content about "how to solve the problem that the search bar does not support https". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report