【Steem指南】用requestly绕过*.steemit.com

in #steempress6 years ago

绕过*.steemit.com的策略:客户端选择API Server

在前文【Steem指南】用eSteem Surfer发帖提到过解决部分地区无法访问*.steemit.com的几种策略。其中提到过开发者可以“创建浏览器插件,重定向api.steemit.com到别的api server,如api.steem.house”

昨天根据这一策略,我用GreaseMonkey(TamperMonkey)创建了重定向XHR和Fetch的脚本,将api.steem.com的请求重定向到别的API Server,基本可以正常浏览busy和steempeak的feed等。但在用steemconnect登录时会遇到"content-security-policy"的问题,所以登录仍然存在一些问题。

用requestly绕过*.steemit.com

今早看到 @liuzhixiang 发布的基于requestly的不翻墙使用busy.org的方法,我们测试后发现基本可以正常使用busy,并且也解决了steemconnect登录时时的"content-security-policy"问题,非常棒👍 对用户很有价值,非常感谢!


image source: http://www.requestly.in/

我们体验后发现配置的步骤略有一些繁琐,所以这里对步骤做了一些简化,帮助对浏览器插件经验较少用户更快上手。

第一步:安装浏览器插件requestly

@liuzhixiang 在文中使用的工具requestly(http://www.requestly.in/),相比其他很多浏览器扩展,功能更灵活全面。

安装扩展常见的两种方法如下,对于不能-翻.&墙的用户可以参考方法二。

  • 方法一:对于Chrome或者Firefox浏览器,打开requestly官网(http://www.requestly.in/),点击安装(install),根据步骤完成安装。
  • 方法二:对于无法访问Chrome Store的Chrome用户,点击这里下载crx文件。用浏览器打开扩展管理页面 chrome://extensions/,打开开发者模式(Developer mode),将下载完成的crx文件拖入当前浏览器窗口,完成安装。

第二步:上传requestly规则

安装完毕后,可以直接上传requestly规则,而不用手动配置。

  1. 这里下载requestly规则文件;
  2. 点击requestly按钮,打开requestly的本地配置页面(https://app.requestly.in/rules/),点击上传规则按钮,选择刚才下载的规则文件,完成规则上传。会看到下面列表中多出3条规则。

image source: https://app.requestly.in/rules/

在规则中,我们使用了anyx.io作为默认的服务器,之前的测试中该服务器访问速度较其他服务器稍快。

第三步:开始使用busy

打开或刷新busy.org页面,开始使用。经测试,feed、power up等功能都可正常使用。

说明

  1. 再次感谢 @liuzhixiang 的工作,对于不能-翻.&墙的用户有相当的帮助。本文仅是对原文的文档进行了简化。
  2. 当前的方法也有一些不足,例如,当前的requestly规则支持busy较为稳定,对steempeak等存在问题。可以在之后改进或完善。
  3. 接下来可能可以开展的工作包括:封装成extension、进一步支持steempeak、自动选择或手动配置API server节点等。


Posted from my blog with SteemPress : https://robertyan.000webhostapp.com/2019/02/%e3%80%90steem%e6%8c%87%e5%8d%97%e3%80%91%e7%94%a8requestly%e7%bb%95%e8%bf%87-steemit-com
Sort:  




This post has been voted on by the SteemSTEM curation team and voting trail in collaboration with @curie.

If you appreciate the work we are doing then consider voting both projects for witness by selecting stem.witness and curie!

For additional information please join us on the SteemSTEM discord and to get to know the rest of the community!

谢谢阿盐~ 相信通过我们CN区自己的努力,可以打破这道墙的!
@teamcn-shop

哈哈,其实墙的部分价值我是认可的。

Steem和Medium有一些很重要的区别,大家应该也都清楚的,所以让现有的用户能继续访问不困难。

但要大规模推广的话可能就会形成和墙的过分博弈,反而适得其反。可能需要社区达成共识,韬光养晦、能进能退。

嗯,所以wherein走的是轻博路线,便于未来审查。

@ericet给您叫了一份外卖!

@cherryzz 阿紫 迎着暴雨 开着宝马给您送来
新手村合成团 祝你新年快乐!

吃饱了吗?跟我猜拳吧! 石头,剪刀,布~

如果您对我的服务满意,请不要吝啬您的点赞~
@onepagex

Congratulations @robertyan! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You received more than 2000 upvotes. Your next target is to reach 3000 upvotes.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:

Valentine challenge - Love is in the air!

Support SteemitBoard's project! Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.028
BTC 63768.57
ETH 2478.16
USDT 1.00
SBD 2.54