Tag:Browser

  • HTTP protocol at a glance

    Time:2020-4-2

    HTTP protocol is not peer-to-peer. It needs client and server to implement through request and response model. Structure of request message Request method Requested URI Protocol version Optional request header field Content entity Structure of response message Protocol version Status code Explain the reason phrase for the status code Optional response header field subject HTTP […]

  • Performance optimization – compression and merging of resources

    Time:2020-4-2

    Performance optimization of the front end Compression and merging of resources Optimization points: reduce the number of HTTP requests and resource size requests Using compression and consolidation There are online websites and compression tools (node is required) The web front-end is essentially a GUI software, which can be directly used for reference by other GUI […]

  • 80 front-end interview classic multiple choice questions, worth collecting!

    Time:2020-4-1

    Preface Have a look at all kinds of interview questions, multiple choice questions are necessary So I sorted out some classic front-end interview questions, hoping to help you find a job in the future! HTML/CSS 1. In the CSS selector, the correct priority is () A. ID selector > label selector > class selector B. […]

  • Cookie, session, token, JWT

    Time:2020-4-1

    What is authentication Generally speaking, it isVerify the identity of the current user, prove that “you are yourself” (for example, you need to punch through your fingerprint when you clock in and out every day. When your fingerprint matches the fingerprint entered in the system, you can punch successfully) Authentication in the Internet: User name […]

  • JS determines whether it is an IE browser and gives the IE version

    Time:2020-4-1

    No nonsense, just go to the code. For details, please refer to the code notes function IEVersion() { Var useragent = navigator. Useragent; // get the useragent string of the browser Var ISIE = useragent. Indexof (“compatible”) > 1 & & useragent. Indexof (“MSIE”) > 1; // judge whether ie < 11 browser Var isedge […]

  • Using websocket to realize chatting small application

    Time:2020-4-1

    Introduction Original link I studied websocket in my spare time, and realized a simple chat system with Python and HTML, I hope it will help what I want to know. Please give me some good suggestions. Overview Programming language: Python, HTML Implementation function: open two dialog windows and chat in the browser Third party libraries […]

  • Configure | electronic + Vue + TS + SQLite configuration

    Time:2020-4-1

    From the point of view of programming model, using declarative language to declare style and layout, and using functional programming language to write business logic is the best practice of GUI program. Recently I want to write a personal project, so I naturally want to use the front end to write the interface. With the […]

  • Vs code plug-in totem (1)

    Time:2020-3-31

    Visual studio code (hereinafter referred to as vs Code) is a code editor developed by Microsoft that supports windows, Linux, and Mac OS systems at the same time and is open source and free to use. It is also one of the most popular code editors at present Vs code official website download address Article […]

  • Samesite property of cookie for predicting the latest interview

    Time:2020-3-31

    Preface In the version of chrome 80 released in February, third-party cookies are blocked by default. During the gray-scale period, many applications of Alibaba department have problems. Therefore, a special group has been set up to promote the transformation of Bu. At present, Alibaba Department has basically completed the transformation. All the front-end teams are […]

  • CSS style with HTML tags centered in browser

    Time:2020-3-31

    CSS Style: Copy code The code is as follows: <style type=”text/css”> #login{ position:absolute; top:50%; left:50%; Margin left: – half width of label;Margin top: – label half height;} </style> HTML part: Copy code The code is as follows: <div></div >

  • Where are the files downloaded by Safari? The location of the files downloaded by Safari

    Time:2020-3-31

    After so many years of using Windows system, the sudden switch to Mac OS will be somewhat uncomfortable, and some people will be helpless. Recently, some fans asked us about the download of safari, a Mac OS browser. Xiaobian plans to share with you. Because Xiaobian thinks that the entry threshold of MacBook is getting […]