Tag:Cross domain

  • Mac automatically turns on chrome cross domain

    Time:2021-12-29

    Command line execution open -n /Applications/Google\ Chrome. App / — args — Disable web security — user data dir = / users / chensiyuan3 / documents / configure / Chrome / Chrome access control allow origin Use the automatic operation script provided by MAC, as shown in the figure, to add an application Select Run […]

  • Chrome 92 is destructive. What’s the use of my pop-up window?

    Time:2021-12-26

    Recently, chrome 92 was released. Let’s take a look at a destructive change with great impact mentioned in chrome 92. https://www.chromestatus.com/… For iframes from across domains, alert, confirm, prompt and other functions will be disabled. First, let’s take a look at Chrome’s official explanation of this destructive motive: If you don’t understand cross domain, you […]

  • Linux + Apache cross domain configuration

    Time:2021-12-23

    To understand cross domain, we must first understand the homology strategy. Homology policy is a very important security policy implemented for security in browsers. What is homology URLs are composed of protocol, domain name, port and path. If the protocol, domain name and port of two URLs are the same, it indicates that they are […]

  • Shiro, JWT, redis integration

    Time:2021-12-22

    Shiro, JWT, redis integration 1、 Steps 1. Import coordinates org.crazycake shiro-redis-spring-boot-starter 3.2.1 io.jsonwebtoken jjwt 0.9.1 2. Write shiroconfig Purpose:Realize session sharing Session sharing The HTTP protocol (1.1) is statelessTherefore, when the server needs to identify user access, it should make corresponding records to track user operations. This implementation mechanism is session. When a user accesses […]

  • Chrome debugging

    Time:2021-12-21

    Vscade debugging chrome program 1. Install extension 2. Add profile Add profile under project path Then create a new file in vs code vscode/launch. JSON, fill in these contents: { “version”: “0.2.0”, “configurations”: [ { “type”: “pwa-chrome”, “request”: “launch”, “name”: “Launch Vue project”, //Fill in the access address of the project here “url”: “http://localhost:3000”, “webRoot”: […]

  • [springboot] cross domain

    Time:2021-12-20

    Cross domain interpretation:https://blog.csdn.net/qinaye/article/detai… reference resources:https://segmentfault.com/a/119000001855452…https://blog.csdn.net/zhaokejin521/article… package com. hbshunjie. guache. config. mvc; This work adoptsCC agreement, reprint must indicate the author and the link to this article

  • HTTP API design pit Guide (I)

    Time:2021-12-17

    1、 Request mode 1. Request methods include get / post / put / delete / options 2. The difference between get and post: Get is usually used to get data, and post is usually used to submit data The get parameter has a length limit, which is limited by the URL length (the HTTP protocol […]

  • Browser cross domain

    Time:2021-12-13

    Warehouse address of complete high frequency question bank:https://github.com/hzfe/aweso… Complete high frequency question bank reading address:https://hzfe.github.io/awesom… Related issues What is cross domain Why cross domain Why are there cross domain restrictions How to solve cross domain problems Answer key points CORS[1] Homology strategy[2] The source of cross domain problems is the browser forRequest securityBased onHomology strategySecurity […]

  • New entry Vue, node, express, mongodb

    Time:2021-12-12

    I am MengxinIt took a little more than a week to complete a simple personal blog project with front and back-end separation and decoupling.The front and back ends of the project are separated, and the routing is completely handled by Vue router. The back end is only responsible for operating the database and exposing the […]

  • JQuery Ajax to achieve Baidu search cross domain

    Time:2021-12-10

    https://sp0.baidu.com/5a1Fazu…Search results returned by Baidu search QDemo ({Q: “Q”, P: false, s: [“QQ mailbox”, “QQ”, “car home”, “national TV”, “QQ space”, “QQ download”, “drive Wizard”, “qunar”, “QQ music”, “Qiantu”]}); <!DOCTYPE HTML> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> < title > jsonp Baidu search < / Title > <style> #q{ width: 500px; height: 30px; border:1px solid […]

  • Nesting HTML in canvas

    Time:2021-12-2

    It’s probably like this. Now you need to generate pictures according to the uploaded pictures and some inputs. Originally, I planned to use ImageMagick, but later I felt that two different codes should be made at the front and back ends. Then ImageMagick is far less easy to use than canvas. So, we finally decided […]

  • Cross domain solution for front and back end separation of springboot

    Time:2021-12-1

    What is cross domainTo understand cross domain, we must first know the homology strategy. Homology policy is a famous security policy proposed by Netscape. All browsers that support JavaScript will use this policy. The so-called homology means that the protocol, domain name and port are all the same. When a browser requests resources of another […]