前几天在论坛看到华为云活动, **【华为云学堂】云计算新手入门集证有礼,热门认证1元购**,今天弄了下,挺顺利的,过程写下来顺便加个aff分享。
活动链接aff:
主要有二个活动可以领取代金券:
**邀请好友**:就像上面我分享的链接
**考试认证**:这是主要要写的,总共有22个考试,价格分别是28/48/700,因为现在可以领取7张优惠27元的优惠券,每个考试给2个积分,所以我们需要参加7个考试,每个考试有五次机会,按顺序选就行,不建议参加第四个考试 **华为云存储服务实践**,AI做了五次才过。
过程
领取代金券
点击链接进入网页
点击这些超链接,虽然说是要通过微认证后才能领取,但是直接点也能领到,两张代金券的就点两次,直到点进去显示次数已用完就可以了,反正算下来领了五张,考完试是10个积分,可以兑换500的代金券。
上面还有个说明,意思是7.1之前领取的可以补零,点两次又能领取两张,但是他针对的是7.1之前就领取过代金券的用户,我之前没领取过,也领取成功了,不知道会不会影响积分发放,反正我领了。
买认证
选择下面的认证,买价格28的,随便买7个就行,可以一次买完,也可以买一个考完 再买,付款的时候记得使用代金券。
考试
最后就是考试了,进控制台,会有个华为云微认证,进去点击前台地址,选择我的微认证,就可以看到买的考试了,进去在线考试就可以了。
我是用的油猴插件/copyfish ocr 识别和Gemini,油猴插件就是之前坛子分享的这个:
// ==UserScript==
// @name jijiguowang
// @namespace
// @version 2025-07-02
// @description 仅用作学习用途,请勿转载
// @match
// @icon
// @grant none
// ==/UserScript==
(function() {
'use strict';
const targetUrl = '
let capturedData = null;
// 创建浮动按钮
function createFloatingButton() {
const btn = document.createElement('button');
btn.id = 'api-capture-btn';
btn.style.cssText = 'position:fixed;top:50%;right:20px;transform:translateY(-50%);width:80px;height:80px;background:#dc3545;color:white;border:none;border-radius:50%;cursor
ointer;z-index:9999;display:none;box-shadow:0 2px 10px rgba(0,0,0,0.3);font-size:14px;font-weight:bold;line-height:1.2';
btn.textContent = '试题JSON';
btn.onclick = () => capturedData && createPopup(capturedData);
document.body.appendChild(btn);
return btn;
}
function createPopup(response) {
// 创建遮罩和弹窗
const overlay = document.createElement('div');
overlay.style.cssText = 'position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:9999';
const popup = document.createElement('div');
popup.style.cssText = 'position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:80%;max-width:600px;height:70%;background:white;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,0.3);z-index:10000;display:flex;flex-direction:column';
// 头部
const header = document.createElement('div');
header.style.cssText = 'padding:15px 20px;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;align-items:center';
header.innerHTML = '<h3 style="margin:0">JSON</h3><button style="border:none;background:none;font-size:24px;cursor
ointer">×</button>';
// 内容区
const content = document.createElement('div');
content.style.cssText = 'flex:1;padding:20px;overflow-y:auto';
const pre = document.createElement('pre');
pre.style.cssText = 'background:#f5f5f5;padding:15px;border-radius:4px;overflow-x:auto;white-space
re-wrap;word-wrap:break-word;margin:0';
pre.textContent = typeof response === 'string' ? JSON.stringify(JSON.parse(response), null, 2) : JSON.stringify(response, null, 2);
content.appendChild(pre);
// 底部按钮
const footer = document.createElement('div');
footer.style.cssText = 'padding:15px 20px;border-top:1px solid #ddd;text-align:right';
const copyBtn = document.createElement('button');
copyBtn.style.cssText = 'padding:8px 20px;background:#007bff;color:white;border:none;border-radius:4px;cursor
ointer';
copyBtn.textContent = '复制到剪贴板';
copyBtn.onclick = () => {
navigator.clipboard.writeText(pre.textContent).then(() => {
copyBtn.textContent = '已复制!';
setTimeout(() => {copyBtn.textContent = '复制到剪贴板';}, 2000);
});
};
footer.appendChild(copyBtn);
// 组装
popup.appendChild(header);
popup.appendChild(content);
popup.appendChild(footer);
document.body.appendChild(overlay);
document.body.appendChild(popup);
// 关闭功能
const close = () => {
overlay.remove();
popup.remove();
};
header.querySelector('button').onclick = close;
overlay.onclick = close;
}
// 初始化按钮
const floatingBtn = createFloatingButton();
// 拦截请求
const originalSend = XMLHttpRequest.prototype.send;
XMLHttpRequest.prototype.send = function(data) {
const self = this;
this.addEventListener('readystatechange', function() {
if (self.readyState === 4 && self.status === 200 && self.responseURL === targetUrl) {
capturedData = self.responseText;
floatingBtn.style.display = 'block';
}
});
originalSend.call(this, data);
};
const originalFetch = window.fetch;
window.fetch = function(url, ...args) {
if (url === targetUrl) {
return originalFetch.apply(this, arguments).then(response => {
response.clone().text().then(data => {
capturedData = data;
floatingBtn.style.display = 'block';
});
return response;
});
}
return originalFetch.apply(this, arguments);
};
})();
复制代码
Tips:
参加考试是需要绑定邮箱的,如果之前没有绑定邮箱,现绑的话需要三天才能生效~
精彩评论
活动链接aff:
主要有二个活动可以领取代金券:
**邀请好友**:就像上面我分享的链接
**考试认证**:这是主要要写的,总共有22个考试,价格分别是28/48/700,因为现在可以领取7张优惠27元的优惠券,每个考试给2个积分,所以我们需要参加7个考试,每个考试有五次机会,按顺序选就行,不建议参加第四个考试 **华为云存储服务实践**,AI做了五次才过。
过程
领取代金券
点击链接进入网页
点击这些超链接,虽然说是要通过微认证后才能领取,但是直接点也能领到,两张代金券的就点两次,直到点进去显示次数已用完就可以了,反正算下来领了五张,考完试是10个积分,可以兑换500的代金券。
上面还有个说明,意思是7.1之前领取的可以补零,点两次又能领取两张,但是他针对的是7.1之前就领取过代金券的用户,我之前没领取过,也领取成功了,不知道会不会影响积分发放,反正我领了。
买认证
选择下面的认证,买价格28的,随便买7个就行,可以一次买完,也可以买一个考完 再买,付款的时候记得使用代金券。
考试
最后就是考试了,进控制台,会有个华为云微认证,进去点击前台地址,选择我的微认证,就可以看到买的考试了,进去在线考试就可以了。
我是用的油猴插件/copyfish ocr 识别和Gemini,油猴插件就是之前坛子分享的这个:
// ==UserScript==
// @name jijiguowang
// @namespace
// @version 2025-07-02
// @description 仅用作学习用途,请勿转载
// @match
// @icon
// @grant none
// ==/UserScript==
(function() {
'use strict';
const targetUrl = '
let capturedData = null;
// 创建浮动按钮
function createFloatingButton() {
const btn = document.createElement('button');
btn.id = 'api-capture-btn';
btn.style.cssText = 'position:fixed;top:50%;right:20px;transform:translateY(-50%);width:80px;height:80px;background:#dc3545;color:white;border:none;border-radius:50%;cursor

btn.textContent = '试题JSON';
btn.onclick = () => capturedData && createPopup(capturedData);
document.body.appendChild(btn);
return btn;
}
function createPopup(response) {
// 创建遮罩和弹窗
const overlay = document.createElement('div');
overlay.style.cssText = 'position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:9999';
const popup = document.createElement('div');
popup.style.cssText = 'position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:80%;max-width:600px;height:70%;background:white;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,0.3);z-index:10000;display:flex;flex-direction:column';
// 头部
const header = document.createElement('div');
header.style.cssText = 'padding:15px 20px;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;align-items:center';
header.innerHTML = '<h3 style="margin:0">JSON</h3><button style="border:none;background:none;font-size:24px;cursor

// 内容区
const content = document.createElement('div');
content.style.cssText = 'flex:1;padding:20px;overflow-y:auto';
const pre = document.createElement('pre');
pre.style.cssText = 'background:#f5f5f5;padding:15px;border-radius:4px;overflow-x:auto;white-space

pre.textContent = typeof response === 'string' ? JSON.stringify(JSON.parse(response), null, 2) : JSON.stringify(response, null, 2);
content.appendChild(pre);
// 底部按钮
const footer = document.createElement('div');
footer.style.cssText = 'padding:15px 20px;border-top:1px solid #ddd;text-align:right';
const copyBtn = document.createElement('button');
copyBtn.style.cssText = 'padding:8px 20px;background:#007bff;color:white;border:none;border-radius:4px;cursor

copyBtn.textContent = '复制到剪贴板';
copyBtn.onclick = () => {
navigator.clipboard.writeText(pre.textContent).then(() => {
copyBtn.textContent = '已复制!';
setTimeout(() => {copyBtn.textContent = '复制到剪贴板';}, 2000);
});
};
footer.appendChild(copyBtn);
// 组装
popup.appendChild(header);
popup.appendChild(content);
popup.appendChild(footer);
document.body.appendChild(overlay);
document.body.appendChild(popup);
// 关闭功能
const close = () => {
overlay.remove();
popup.remove();
};
header.querySelector('button').onclick = close;
overlay.onclick = close;
}
// 初始化按钮
const floatingBtn = createFloatingButton();
// 拦截请求
const originalSend = XMLHttpRequest.prototype.send;
XMLHttpRequest.prototype.send = function(data) {
const self = this;
this.addEventListener('readystatechange', function() {
if (self.readyState === 4 && self.status === 200 && self.responseURL === targetUrl) {
capturedData = self.responseText;
floatingBtn.style.display = 'block';
}
});
originalSend.call(this, data);
};
const originalFetch = window.fetch;
window.fetch = function(url, ...args) {
if (url === targetUrl) {
return originalFetch.apply(this, arguments).then(response => {
response.clone().text().then(data => {
capturedData = data;
floatingBtn.style.display = 'block';
});
return response;
});
}
return originalFetch.apply(this, arguments);
};
})();
复制代码
Tips:
参加考试是需要绑定邮箱的,如果之前没有绑定邮箱,现绑的话需要三天才能生效~
精彩评论
NEXT666 发表于7 分钟前
帮顶,考了七个,等明天问卷优惠卷到账继续考