国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

首頁 web前端 html教程 92cc.com腳本:一鍵點贊;一鍵留言板或回復(fù);群發(fā)私信;全站廣告攔截;美化92cc.com歌曲播放頁面_html/css_WEB-ITnose

92cc.com腳本:一鍵點贊;一鍵留言板或回復(fù);群發(fā)私信;全站廣告攔截;美化92cc.com歌曲播放頁面_html/css_WEB-ITnose

Jun 24, 2016 am 11:50 AM

// ==UserScript==// @name           92cc.com重排版// @namespace      gsf@92cc.com// @author	       xinggsf~gmail。com// @description    一鍵點贊;一鍵留言板或回復(fù);群發(fā)私信;全站廣告攔截;美化92cc.com歌曲播放頁面// @description:en Set css sytle on 92cc.com site// @license        GPL version 3// @include        http://*.92cc.com/*// @homepageURL    https://greasyfork.org/scripts/6562// @updateURL       https://greasyfork.org/scripts/6562/code/92cccom.user.js// @downloadURL     https://greasyfork.org/scripts/6562/code/92cccom.user.js// @version        0.2.23// @encoding       utf-8// @modified       01/28/2015// @run-at         document-body// @grant          none// ==/UserScript==window._92cc_Utils = {	jsAddrinfo: '嗨友必備??嵘衿鱘n??https://greasyfork.org/zh-CN/scripts/6562\n',	frCount: 0,	failGetList: false,	frList: [],	callBack: null,//響應(yīng)事件	iTimer: null,	infoIndex: 0,	info:'',	page: 1,	pTimer: null,	praiseIndex: 0,//輪詢計數(shù)		getInput: function (aTitle) {		var res = '',		x = '<div class="msg_dialog_send">
<div class="title"></div>
<div class="main">
<div class="message"><div id="fnote" contenteditable="true" class="send" name="fnote"></div></div>
<div id="emot_fnote" class="emot" to="fnote"></div>
</div>
</div><script type="text/javascript">setTimeout(null,99);$("#fnote").emotEditor({emot:true, newLine:true});</script>';		$.dialog({			id:'sendMsg', title: aTitle,			width:'360px', lock:true, content: x, okValue: '確認',			ok: function() {				var s, $fnote = $("#fnote");				s = $.trim($fnote.emotEditor("content"));				s = (s=="")? '請輸入內(nèi)容' :					(s.length > 470)? '您寫多了!' : '';				if (s==='') {					res = $.trim($fnote.emotEditor("content"));					return true;				}				$.tipMessage(s, 1, 1000);				$fnote.focus();				return false;			},			cancelValue: '取消',			cancel:function() {}		});		return res;	},	//解析HTML	parseHtml: function(resp) {		var s, me = _92cc_Utils;		me.failGetList = false;		if (0 === me.frCount) {			s = resp.match(/<em title='\"總數(shù)量\"'>(\d+)/);			if (null === s) {				me.failGetList = true;				$.tipMessage('網(wǎng)絡(luò)錯誤或解析失??!', 2, 3000);				return;			}			me.frCount = 0 | s[1];			//console.log(me.frCount);			if (0 === me.frCount) {				me.failGetList = true;				$.tipMessage('你沒有加關(guān)注的朋友!', 2, 3000);				return;			}		}		s = resp.match(/\d+(?=\/" +?class="user_card">)/g);		//s = resp.split(/uid="(\d+)"/);		//if (0 === s.length)		if (!s) {			me.failGetList = true;			$.tipMessage('網(wǎng)絡(luò)錯誤或解析失?。?, 2, 3000);			return;		}		//console.log(s.length);		if (me.frList.length === 0)			me.frList = s;		else			s.push.apply(me.frList, s);		if (me.callBack) {			//me.callBack();			me.callBack = null;		}		if (me.frCount > me.frList.length) {			me.page += 1;			setTimeout('_92cc_Utils.getFriendList();', 1222);		}	},	getFriendList: function () {		if (this.frCount === 0 || this.frCount > this.frList.length) {			var s = (this.page === 1) ? "/relation?a=following" :				"/relation?a=following&currPage=" + this.page;			this.failGetList = false;			$.get(s, this.parseHtml, "html");		}	},	doPraise: function() {		var me = _92cc_Utils;		if (me.callBack) return;		if (me.frCount === me.praiseIndex ||		(me.failGetList && me.frList.length === me.praiseIndex)) {			clearInterval(me.pTimer);			me.pTimer = null;			$.tipMessage('已點贊了你所有的朋友!共 '+			me.praiseIndex + ' 個!', 0, 3000);			return;		}		if (0 === me.frList.length || me.frList.length === me.praiseIndex)			return;//等待數(shù)據(jù)		$.post("/user?a=doUserPraiseUpdate&uid="+ me.frList[me.praiseIndex]);		me.praiseIndex++;	},	praiseAllFriend: function() {		if (this.pTimer) {			$.tipMessage('今天已點贊!', 1, 3000);			return;		}		this.praiseIndex = 0;		this.getFriendList();		this.callBack = this.frCount === 0;		this.pTimer = setInterval(_92cc_Utils.doPraise, 100);		$.tipMessage('正在點贊!請稍候......', 0, 3000);	},	doSendInfo: function() {		var me = _92cc_Utils;		if (me.callBack) return;		if (me.frCount === me.infoIndex ||			(me.failGetList && me.frList.length === me.infoIndex))		{			clearInterval(me.iTimer);			me.iTimer = null;			$.tipMessage(me.infoIndex + ' 條私信已全部發(fā)出!', 0, 3000);			return;		}		if (0 === me.frList.length ||			me.frList.length === me.infoIndex)			return;//等待數(shù)據(jù)		$.post("/message?a=doMsgAdd",			  {"uid": me.frList[me.infoIndex], "note": me.info},			  "text"		);		me.infoIndex++;	},	sendAllInfo: function() {		if (this.iTimer) {			$.tipMessage('還有私信正在發(fā)送,請稍候......', 1, 3000);			return;		}		var s = this.getInput('請輸入對所有朋友發(fā)送的私信');		if (s === '') return;		this.info = this.jsAddrinfo + s;		this.infoIndex = 0;		this.callBack = this.frCount === 0;		this.getFriendList();		//if (this.failGetList) return;		this.iTimer = setInterval(_92cc_Utils.doSendInfo, 200);		$.tipMessage('正在發(fā)送私信!請稍候......', 0, 3000);	},	init: function() {		this.getFriendList();	},	unInit: function() {		// for (let i in this.timers) {			// clearInterval(this.timers[i]);		// }	}};(function () {	var s, x, addr;	//要刪除的元素列表,填入css選擇器	s = ['script[src^="http://cbjs.baidu.com/"]',	'script[src^="http://cb.baidu.com/"]',	'script[src*=".baidustatic.com/"]',	'script[src*=".#/"]',	'[id^="BAIDU_"]',	'#mp_banner_top', 	'.player > h1',	'.logo',	'.header+.play_content',	'.banner_text'];	//用原生API querySelectorAll加快速度	addr = s.forEach;	s.forEach(function (o) {		x = document.querySelectorAll(o);		if (x.length > 0)		addr.call(x, function (e) {			e.parentNode.removeChild(e);		});	});	s = null;	x = $('script[src*="/new/recommend/player"]');	if (x.length > 0) {		var src = x.attr('src');		//console.log(src);		//刪除低效的內(nèi)容生成JS,和可能已經(jīng)生成的內(nèi)容		s = x.parent().empty();		x = null;		$.get(src, function (res) {			var t = res.replace(/document\.writeln\("(.+?)"\);/g, '$1')			//刪除多加在雙引號前的斜線號				.replace(/\\"/g, '\"');			//console.log(t);			s.html(t); //替換內(nèi)容生成JS			s = null;			//重新綁定事件			mPlayer.addList();			mPlayer.selectDanceAll();		}, 'text');	}	addr = document.URL.toLowerCase();	if (/^http:\/\/www\.92cc\.com\/p\d+\.html/.test(addr)) {		x = $(".play_content > .right_bot");		$(".play_content > .right").replaceWith(x);		x.css({			'right' : '0',			'float' : 'right'		});		x.children(':gt(0)').css('margin-top', '-12px');		x = null;		$(".header").css('height', '55px');		$(".content").css('top', '-15px');		$(".play_content").css('top', '-9px');		//刪除div.banner內(nèi)的廣告;并用鏈式語法設(shè)定高度		$(".banner").empty().css('height', '3px');	}	//會員功能	else if (document.userInfo && 0 === addr	.indexOf('http://i.92cc.com/')) {	//添加按鈕	}})();</em>

本站聲明
本文內(nèi)容由網(wǎng)友自發(fā)貢獻,版權(quán)歸原作者所有,本站不承擔相應(yīng)法律責任。如您發(fā)現(xiàn)有涉嫌抄襲侵權(quán)的內(nèi)容,請聯(lián)系admin@php.cn

熱AI工具

Undress AI Tool

Undress AI Tool

免費脫衣服圖片

Undresser.AI Undress

Undresser.AI Undress

人工智能驅(qū)動的應(yīng)用程序,用于創(chuàng)建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用于從照片中去除衣服的在線人工智能工具。

Clothoff.io

Clothoff.io

AI脫衣機

Video Face Swap

Video Face Swap

使用我們完全免費的人工智能換臉工具輕松在任何視頻中換臉!

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的代碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

功能強大的PHP集成開發(fā)環(huán)境

Dreamweaver CS6

Dreamweaver CS6

視覺化網(wǎng)頁開發(fā)工具

SublimeText3 Mac版

SublimeText3 Mac版

神級代碼編輯軟件(SublimeText3)

我如何了解最新的HTML標準和最佳實踐? 我如何了解最新的HTML標準和最佳實踐? Jun 20, 2025 am 08:33 AM

要跟上HTML標準和最佳實踐,關(guān)鍵在于有意為之而非盲目追隨。首先,關(guān)注官方來源如WHATWG和W3C的摘要或更新日志,了解新標簽(如)和屬性,將其作為參考解決疑難問題;其次,訂閱可信的網(wǎng)頁開發(fā)新聞通訊和博客,每周花10-15分鐘瀏覽更新,關(guān)注實際用例而非僅收藏文章;再次,使用開發(fā)者工具和linters如HTMLHint,通過即時反饋優(yōu)化代碼結(jié)構(gòu);最后,與開發(fā)者社區(qū)互動,分享經(jīng)驗并學習他人實戰(zhàn)技巧,從而持續(xù)提升HTML技能。

如何使用元素來表示文檔的主要內(nèi)容? 如何使用元素來表示文檔的主要內(nèi)容? Jun 19, 2025 pm 11:09 PM

使用標簽的原因是提升網(wǎng)頁的語義化結(jié)構(gòu)和可訪問性,使屏幕閱讀器和搜索引擎更易理解頁面內(nèi)容,并允許用戶快速跳轉(zhuǎn)至核心內(nèi)容。以下是關(guān)鍵要點:1.每個頁面應(yīng)僅包含一個元素;2.不應(yīng)包括跨頁面重復(fù)的內(nèi)容(如側(cè)邊欄或頁腳);3.可與ARIA屬性結(jié)合使用以增強無障礙體驗。通常位于和之后、之前,用于包裹唯一的頁面內(nèi)容,例如文章、表單或產(chǎn)品詳情,并應(yīng)避免嵌套在、或中;為提高輔助功能,可使用aria-labelledby或aria-label明確標識部分。

如何創(chuàng)建基本的HTML文檔? 如何創(chuàng)建基本的HTML文檔? Jun 19, 2025 pm 11:01 PM

要創(chuàng)建一個基本的HTML文檔,首先需要了解其基本結(jié)構(gòu)并按照標準格式編寫代碼。1.開始時使用聲明文檔類型;2.使用標簽包裹整個內(nèi)容;3.在其中包含和兩個主要部分,用于存放元數(shù)據(jù)如標題、樣式表鏈接等,而則包含用戶可見的內(nèi)容如標題、段落、圖片和鏈接;4.保存文件為.html格式并在瀏覽器中打開查看效果;5.隨后可逐步添加更多元素以豐富頁面內(nèi)容。遵循這些步驟即可快速構(gòu)建一個基礎(chǔ)網(wǎng)頁。

如何使用 如何使用 Jun 19, 2025 pm 11:41 PM

要創(chuàng)建HTML復(fù)選框,需使用type屬性設(shè)為checkbox的元素。1.基本結(jié)構(gòu)包含id、name和label標簽,確保點擊文字可切換選項;2.多個相關(guān)復(fù)選框應(yīng)使用相同name但不同value,并用fieldset包裹提升可訪問性;3.自定義樣式時隱藏原生控件并用CSS設(shè)計替代元素,同時保持功能完整;4.確??捎眯?,配對label、支持鍵盤導(dǎo)航且避免僅依賴視覺提示。以上步驟能幫助開發(fā)者正確實現(xiàn)兼具功能與美觀的復(fù)選框組件。

如何最小化HTML文件的大?。? />
								</a>
								<a href=如何最小化HTML文件的大??? Jun 24, 2025 am 12:53 AM

要減小HTML文件大小需清理冗余代碼、壓縮內(nèi)容并優(yōu)化結(jié)構(gòu)。 1.刪??除未使用的標簽、注釋和多余空白以減少體積;2.將內(nèi)聯(lián)CSS和JavaScript移至外部文件并合并多個腳本或樣式塊;3.在不影響解析的前提下簡化標簽語法,如省略可選閉合標簽或使用簡短屬性;4.清理后啟用Gzip或Brotli等服務(wù)器端壓縮技術(shù)進一步縮減傳輸體積。這些步驟可在不犧牲功能的前提下顯著提升頁面加載性能。

隨著時間的流逝,HTML如何發(fā)展,其歷史上的關(guān)鍵里程碑是什么? 隨著時間的流逝,HTML如何發(fā)展,其歷史上的關(guān)鍵里程碑是什么? Jun 24, 2025 am 12:54 AM

htmlhasevolvedscreatscreationtomeetthegrowingdemandsofwebdevelopersandusers.inatelyallyasimplemarkuplanguageforsharingdocuments,ithasundergonemajorupdates,包括html.2.0,包括wheintrodistusefforms;

如何使用元素代表文檔或部分的頁腳? 如何使用元素代表文檔或部分的頁腳? Jun 25, 2025 am 12:57 AM

是HTML5中用于定義頁面或內(nèi)容區(qū)塊底部的語義化標簽,通常包含版權(quán)信息、聯(lián)系方式或?qū)Ш芥溄拥?;它可置于頁面底部或嵌套在、等標簽?nèi)作為區(qū)塊尾部;使用時應(yīng)注意避免重復(fù)濫用及放入無關(guān)內(nèi)容。

如何使用元素將視頻嵌入HTML中? 如何使用元素將視頻嵌入HTML中? Jun 20, 2025 am 10:09 AM

要在HTML中嵌入視頻,需使用標簽并指定視頻源與屬性。1.使用src屬性或元素定義視頻路徑和格式;2.添加controls、width、height等基本屬性;3.為兼容不同瀏覽器,可列舉MP4、WebM、Ogg等多種格式;4.使用controls、autoplay、muted、loop、preload等屬性控制播放行為;5.通過CSS實現(xiàn)響應(yīng)式布局,確保適配不同屏幕。正確結(jié)構(gòu)與屬性組合能確保視頻良好顯示與功能支持。

See all articles