תגובות לתוסף הסתרת תצאות חסומות בנטפרי
-
@yossboss כתב בתוסף גוגל נטפרי:
אפשר להגיב כאן
בגלל שהתגובות חסומות במרחב הפרטי, אני מגיב פה.
תוסף יפה!עברתי על הקוד ושיפרתי אותו מעט, הנה:
if (location.host == 'www.google.com') { let is = false const list = [] function delVideo() { const videos = document.getElementsByTagName('video-voyager') for (const video of videos) if (!video.getAttribute('data-netfree')) { video.setAttribute('data-netfree', 'true') const link = video.getElementsByTagName('a') fetch('https://www.google.com/~netfree/test-url?u=' + link[0].href).then(x => x.json()).then(x => { if (json.block == 'error') { list.push(video) video.style.display = 'none' } }); } } function del() { const t1 = document.querySelectorAll('.ULSxyf,.hlcw0c,.MjjYud'); for (const t of t1) if (t.innerText.includes('x-x-x-x-x-x-x')) { t.style.display = 'none'; list.push(t); } } window.onload = function () { delVideo() setInterval(() => { if (!is) del(); }, 1000); } const div = document.createElement('div') div.className = 'netfreebuttons' document.getElementById('hdtb-msb').appendChild(div) const button = document.createElement('button') button.className = 'buttonnetfree' button.innerHTML = 'הצג גם חסום' div.appendChild(button) button.onclick = function () { let css; if (!is) { is = true; button.innerHTML = 'הצג רק דפים שפתוחים בנטפרי'; list.forEach(x => x.style.display = 'block'); } else { is = false; button.innerHTML = 'הצג גם חסום'; list.forEach(x => x.style.display = 'none'); } } } if (location.host == 'www.youtube.com') { if (location.search.includes('?search_query=')) setInterval(() => location.href = 'https://www.google.com/search?safe=active&q=site:youtube.com%20' + location.search.substring(14), 3000); } -
@yossboss כתב בתוסף גוגל נטפרי:
אפשר להגיב כאן
בגלל שהתגובות חסומות במרחב הפרטי, אני מגיב פה.
תוסף יפה!עברתי על הקוד ושיפרתי אותו מעט, הנה:
if (location.host == 'www.google.com') { let is = false const list = [] function delVideo() { const videos = document.getElementsByTagName('video-voyager') for (const video of videos) if (!video.getAttribute('data-netfree')) { video.setAttribute('data-netfree', 'true') const link = video.getElementsByTagName('a') fetch('https://www.google.com/~netfree/test-url?u=' + link[0].href).then(x => x.json()).then(x => { if (json.block == 'error') { list.push(video) video.style.display = 'none' } }); } } function del() { const t1 = document.querySelectorAll('.ULSxyf,.hlcw0c,.MjjYud'); for (const t of t1) if (t.innerText.includes('x-x-x-x-x-x-x')) { t.style.display = 'none'; list.push(t); } } window.onload = function () { delVideo() setInterval(() => { if (!is) del(); }, 1000); } const div = document.createElement('div') div.className = 'netfreebuttons' document.getElementById('hdtb-msb').appendChild(div) const button = document.createElement('button') button.className = 'buttonnetfree' button.innerHTML = 'הצג גם חסום' div.appendChild(button) button.onclick = function () { let css; if (!is) { is = true; button.innerHTML = 'הצג רק דפים שפתוחים בנטפרי'; list.forEach(x => x.style.display = 'block'); } else { is = false; button.innerHTML = 'הצג גם חסום'; list.forEach(x => x.style.display = 'none'); } } } if (location.host == 'www.youtube.com') { if (location.search.includes('?search_query=')) setInterval(() => location.href = 'https://www.google.com/search?safe=active&q=site:youtube.com%20' + location.search.substring(14), 3000); } -
@yossboss כתב בתוסף גוגל נטפרי:
אפשר להגיב כאן
בגלל שהתגובות חסומות במרחב הפרטי, אני מגיב פה.
תוסף יפה!עברתי על הקוד ושיפרתי אותו מעט, הנה:
if (location.host == 'www.google.com') { let is = false const list = [] function delVideo() { const videos = document.getElementsByTagName('video-voyager') for (const video of videos) if (!video.getAttribute('data-netfree')) { video.setAttribute('data-netfree', 'true') const link = video.getElementsByTagName('a') fetch('https://www.google.com/~netfree/test-url?u=' + link[0].href).then(x => x.json()).then(x => { if (json.block == 'error') { list.push(video) video.style.display = 'none' } }); } } function del() { const t1 = document.querySelectorAll('.ULSxyf,.hlcw0c,.MjjYud'); for (const t of t1) if (t.innerText.includes('x-x-x-x-x-x-x')) { t.style.display = 'none'; list.push(t); } } window.onload = function () { delVideo() setInterval(() => { if (!is) del(); }, 1000); } const div = document.createElement('div') div.className = 'netfreebuttons' document.getElementById('hdtb-msb').appendChild(div) const button = document.createElement('button') button.className = 'buttonnetfree' button.innerHTML = 'הצג גם חסום' div.appendChild(button) button.onclick = function () { let css; if (!is) { is = true; button.innerHTML = 'הצג רק דפים שפתוחים בנטפרי'; list.forEach(x => x.style.display = 'block'); } else { is = false; button.innerHTML = 'הצג גם חסום'; list.forEach(x => x.style.display = 'none'); } } } if (location.host == 'www.youtube.com') { if (location.search.includes('?search_query=')) setInterval(() => location.href = 'https://www.google.com/search?safe=active&q=site:youtube.com%20' + location.search.substring(14), 3000); } -
@yossboss כתב בתוסף גוגל נטפרי:
אפשר להגיב כאן
בגלל שהתגובות חסומות במרחב הפרטי, אני מגיב פה.
תוסף יפה!עברתי על הקוד ושיפרתי אותו מעט, הנה:
if (location.host == 'www.google.com') { let is = false const list = [] function delVideo() { const videos = document.getElementsByTagName('video-voyager') for (const video of videos) if (!video.getAttribute('data-netfree')) { video.setAttribute('data-netfree', 'true') const link = video.getElementsByTagName('a') fetch('https://www.google.com/~netfree/test-url?u=' + link[0].href).then(x => x.json()).then(x => { if (json.block == 'error') { list.push(video) video.style.display = 'none' } }); } } function del() { const t1 = document.querySelectorAll('.ULSxyf,.hlcw0c,.MjjYud'); for (const t of t1) if (t.innerText.includes('x-x-x-x-x-x-x')) { t.style.display = 'none'; list.push(t); } } window.onload = function () { delVideo() setInterval(() => { if (!is) del(); }, 1000); } const div = document.createElement('div') div.className = 'netfreebuttons' document.getElementById('hdtb-msb').appendChild(div) const button = document.createElement('button') button.className = 'buttonnetfree' button.innerHTML = 'הצג גם חסום' div.appendChild(button) button.onclick = function () { let css; if (!is) { is = true; button.innerHTML = 'הצג רק דפים שפתוחים בנטפרי'; list.forEach(x => x.style.display = 'block'); } else { is = false; button.innerHTML = 'הצג גם חסום'; list.forEach(x => x.style.display = 'none'); } } } if (location.host == 'www.youtube.com') { if (location.search.includes('?search_query=')) setInterval(() => location.href = 'https://www.google.com/search?safe=active&q=site:youtube.com%20' + location.search.substring(14), 3000); } -
-
יש אפציה להתקין את התוסף על דפדפן פיירפוקס
אם כן אשמח לשמוע איך -
יש אפציה להתקין את התוסף על דפדפן פיירפוקס
אם כן אשמח לשמוע איך -
יש אפציה להתקין את התוסף על דפדפן פיירפוקס
אם כן אשמח לשמוע איך -
@יעקב-מ-פינס @יעקב-מ-פינס אבל זה כמו כל תוסף כרום אתה יכול לבדוק עם אפשר לתקין תוסף כרום בדפדפן פיירפוקס
@yossboss
תודה על המענה המהיר לפיירפוקס יש תוספים עם סיומת שונה ככה שהתוסף במצבו הנוכחי לא מתאים לפיירפוקס אולי יש אופציה לבנות תוסף גם לפיירפוקס ואז תוכל להעלות אותו באתר המעולה שלך! -
@yossboss
תודה על המענה המהיר לפיירפוקס יש תוספים עם סיומת שונה ככה שהתוסף במצבו הנוכחי לא מתאים לפיירפוקס אולי יש אופציה לבנות תוסף גם לפיירפוקס ואז תוכל להעלות אותו באתר המעולה שלך! -
@פלורידה
תודה רבה אבל זה לא ממש עזר לי
יש לך אולי להפנות אותי למקום שבו יש הדרכה אין בונים תוספות לפיירפוקס? -
שלום! נראה שהשיחה הזו מעניינת אותך, אבל עדיין אין לך חשבון.
נמאס לכם לגלול בין אותם הפוסטים בכל ביקור? כשנרשמים לחשבון, תמיד תחזרו בדיוק למקום שבו הייתם קודם, ותוכלו לבחור לקבל התראות על תגובות חדשות (בין אם במייל, ובין אם בהתראת פוש). תוכלו גם לשמור סימניות ולפרגן ב-upvote לפוסטים כדי להביע הערכה לחברי קהילה אחרים.
בעזרת התרומה שלך, הפוסט הזה יכול להיות אפילו טוב יותר 💗
הרשמה התחברות
