vagrantear牛人大佬:
只需要f12以后Disable JavaScript
然后再刷新一波就行了
ABCHINA牛人大佬:
你知道javascript是啥吗?
你这样小白搞不好要重装浏览器的
深巷老猫i牛人大佬:
给个脚本 方便
- // ==UserScript==
- // @name 知乎免登录
- // @namespace http://tampermonkey.net/
- // @version 0.7
- // @description 垃圾知乎既然逼着电脑端用短信登陆,那爷就不登陆了
- // @author You
- // @match https://www.zhihu.com/*
- // @grant none
- // ==/UserScript==
- (function () {
- "use strict";
- if (document.location.href.indexOf("/signin?") > -1) {
- window.location.href = "//zhihu.com/search?";
- }
- function htmlObservation(mutationList,observer){
- for(let mutation of mutationList){
- if(‘attributes’ === mutation.type && ‘style’ === mutation.attributeName){
- if(document.body.parentNode.style.overflow !== ‘auto’){
- document.body.parentNode.style.overflow = ‘auto’
- }
- }
- }
- }
- function bodyObservation(mutationList,observer){
- if(document.getElementsByClassName(‘signFlowModal’)){
- const model = document.getElementsByClassName(‘Modal-wrapper’)
- if(model){
- model.parentNode.removeChild(model)
- }
- }
- }
- document.body.parentNode.style.overflow = ‘auto’
- const htmlObserverConfig = {attributes:true}
- const htmlObserver = new MutationObserver(htmlObservation)
- htmlObserver.observe(document.body.parentNode,htmlObserverConfig)
- const bodyObserverConfig = {childList:true,subtree:true}
- const bodyObserver = new MutationObserver(bodyObservation)
- bodyObserver.observe(document.body,bodyObserverConfig)
- })();
mix牛人大佬:
更简单同时不影响正常浏览
- ||static.zhihu.com/heifetz/main.signflow.*.js$script,domain=www.zhihu.com