מדריך | אשכול מתעדכן לסימניות חכמות בכרום
-
במדריך זה ריכזתי למעלה מ-15 סקריפטים שימושיים, שניתן לשמור כסימניות חכמות בדפדפן כרום, ולשדרג את חוויית הגלישה בלחיצת כפתור
אתם מוזמנים להוסיף קודים משלכם ולהעשיר את המאגר!
כדי לשמור על המאגר נקי, אנא הוסיפו כאן רק קודים. לשאלות דיונים והערות – פשוט פתחו אשכול חדש.
מהן סימניות חכמות?
סימניות חכמות (Bookmarklets) אלו קטעי קוד קטנים ששומרים בסימניות, והופכים את סרגל הסימניות שלכם לארגז כלים עוצמתי. כל לחיצה על סימנייה כזו מפעילה פעולה חכמה – בלי צורך בתוסף, התקנה או הרשאות מיוחדות.
️ איך מוסיפים סימנייה חכמה? (זה לוקח 10 שניות)
- לחצו קליק ימני על סרגל הסימניות ובחרו "הוספת דף..." (Add page).
- בשדה "שם" (Name) – תנו לסימנייה שם שקל לזכור (לדוגמה: "תיקון ג'יבריש" או "תרגום מהיר").
- בשדה "כתובת אתר" (URL) – הדביקו את קוד הסקריפט המלא מהמדריך.
- לחצו על "שמירה" (Save) – והסימנייה החדשה שלכם מוכנה לפעולה!
טיפ: אפשר לתת לסימנייה שם שהוא רק אימוג'י – זה חוסך מקום. תוכלו לבחור אימוג'ים מתוך הרשימה שערך @ע-ה-דכו-ע בהמשך.
כעת, כל לחיצה על הסימנייה תפעיל את הקוד הרצוי בדף האינטרנט שבו אתם נמצאים.
️ דגשים חשובים לפני השימוש
- הצגת סרגל הסימניות: כדי להשתמש בסימנייה, סרגל הסימניות חייב להיות גלוי. אם הוא לא מופיע, לחצו
Ctrl+Shift+B
כדי להציג אותו. - שימוש בדף פעיל: הסימניות פועלות רק כאשר אתם נמצאים בדף אינטרנט פעיל (עם כתובת URL), ולא בכרטיסייה חדשה וריקה.
- סינון אינטרנט: סקריפטים המבוססים על בינה מלאכותית (AI) עשויים להיות מושפעים מרמת הסינון של חיבור האינטרנט שלכם.
🧠 אודות הסקריפטים
אוסף הסקריפטים כאן נבנה הודות לקהילת 'מתמחים טופ' המוכשרת שלנו.
רובם נערכו בשיתוף עם כלי בינה מלאכותית (AI).
השתדלתי לתת קרדיט (גם לעצמי) בכל מקום.
אם יש לכם מידע נוסף אתם מוזמנים לעדכן.
איך מתאימים קוד JavaScript לסימנייה חכמה?
הקוד של סימנייה חכמה נכתב ב-JavaScript, ופועל ישירות על הדף הפתוח בדפדפן. אבל לא ניתן פשוט להעתיק קוד רגיל ולהדביק אותו בשדה הכתובת של סימנייה – משום שהשדה הזה לא תומך במעברי שורה, וחלק מהתווים עלולים להשתבש. לכן נדרש לעבד את הקוד מראש לפורמט שמתאים לסימנייה.
הדרך הפשוטה לעשות זאת: משתמשים בכלי ייעודי כמו: Bookmarklet Maker מדביקים בו את קוד ה-JavaScript המקורי (עם כל המבנה והעימוד), והוא ממיר אותו אוטומטית לשורת קוד אחת, נקייה ודחוסה. את השורה הזאת מעתיקים – ויוצרים איתה סימנייה חדשה בדפדפן.
קרדיט: @ע-ה-דכו-ע
יש לכם קוד שימושי שכתבתם או מצאתם? שתפו אותו בתגובות! כולנו נרוויח מזה
פעולות מהירות על טקסט
תיקון פריסת מקלדת: עברית
אנגלית
מתקן באופן מיידי טקסט מסומן שנכתב בפריסת מקלדת שגויה (לדוגמה, "akuo" במקום "שלום"). פתרון יעיל לתיקון 'ג'יבריש' בלחיצה אחת, החוסך את הצורך למחוק את הטקסט ולהקליד אותו מחדש.
javascript:(function(){ const engToHeb = { 'a':'ש','b':'נ','c':'ב','d':'ג','e':'ק','f':'כ','g':'ע','h':'י', 'i':'ן','j':'ח','k':'ל','l':'ך','m':'צ','n':'מ','o':'ם','p':'פ', 'q':'/','r':'ר','s':'ד','t':'א','u':'ו','v':'ה','w':'\'','x':'ס', 'y':'ט','z':'ז','A':'ש','B':'נ','C':'ב','D':'ג','E':'ק','F':'כ', 'G':'ע','H':'י','I':'ן','J':'ח','K':'ל','L':'ך','M':'צ','N':'מ', 'O':'ם','P':'פ','Q':'/','R':'ר','S':'ד','T':'א','U':'ו','V':'ה', 'W':'\'','X':'ס','Y':'ט','Z':'ז',',':'ת','.':'ץ' }; const selection = window.getSelection(); if (!selection.rangeCount) return; const range = selection.getRangeAt(0); const text = selection.toString(); if (!text) return; const converted = [...text].map(c => engToHeb[c] || c).join(''); range.deleteContents(); range.insertNode(document.createTextNode(converted)); })();
מרכז כלים לטקסט שנבחר
הופך כל טקסט שמסמנים בדף למרכז פעולות חכם. לאחר סימון הטקסט ולחיצה על הסימנייה, נפתח חלון עם מגוון פעולות: העתקה, חיפוש (בגוגל, ויקיפדיה), שליחה ל-ChatGPT, תרגום, הדפסה, שמירה כ-PDF ועוד. כלי עוצמתי המרכז את כל הפעולות הנפוצות וחוסך מעבר בין חלונות.
javascript:(function(){ let selection = window.getSelection().toString(); if (!selection) { alert("%E2%9A%A0%EF%B8%8F %D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98. %D7%A1%D7%9E%D7%9F %D7%98%D7%A7%D7%A1%D7%98 %D7%A7%D7%95%D7%93%D7%9D!"); return; } let url = "https://yosef.jewtech.co.il/%D7%AA%D7%95%D7%A1%D7%A3/text-tool-pro-max-plus.html?text=%22%20+%20encodeURIComponent(selection);%20%20window.open(url,%20%22_blank%22,%20%22width=800,height=800,top=100,left=200%22);})();
תרגום מהיר: בחלון קופץ
פותח חלון קופץ להזנת טקסט לתרגום בין עברית לאנגלית, שולח את הטקסט למילון פנימי ייעודי לצורך קבלת תרגום מיידי, ומציג את התרגום בחלון קופץ – מבלי לנטוש את הדף. אם לא נמצאה התאמה, הכלי מפנה אוטומטית ל-Google Translate.
javascript:(function(){var text=prompt('אנא הקלד את המילה לתרגום');fetch("https://scripts.xn--5dbha.com/trans/s.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:text})}).then(response=>response.json()).then(data=>{if(data[1]){var decoder=document.createElement('textarea');decoder.innerHTML=data[0];alert(decoder.value);}else{window.open('https://translate.google.co.il/?hl=iw&sl=iw&tl=en&text='+encodeURIComponent(text)+'&op=translate');}}).catch(error=>{console.error("Error:",error);});})();
קרדיט: @LEVI-H ו @ראובן-שבתי - https://mitmachim.top/post/911756
תרגום מהיר: בכרטיסייה חדשה
מבצע תרגום מיידי לטקסט שנבחר בין עברית לאנגלית, ופותח את התוצאה ב-Google Translate. אם לא נבחר טקסט, ייפתח חלון להזנת טקסט ידנית. פתרון יעיל לתרגום דו-כיווני בלחיצה אחת.
javascript:(function(){function detectLang(t){return /[\u0590-\u05FF]/.test(t)?"he":"en"}let t=window.getSelection().toString().trim();function go(text){if(!text)return;let from=detectLang(text),to=from==="he"?"en":"he",url="https://translate.google.com/?sl="+from+"&tl="+to+"&text="+encodeURIComponent(text);window.open(url,"_blank")}t?go(t):(t=prompt("לא נבחר טקסט. הזן טקסט לתרגום:"),t&&go(t.trim()))})();
קרדיט: @I-believe
זיהוי מספר טלפון ב-Truecaller
פותח כל מספר טלפון מסומן ישירות לחיפוש באתר Truecaller. הפעולה מאפשרת זיהוי מהיר של מתקשרים וחוסכת את הצורך בהעתקה והקלדה ידנית של המספר.
javascript:(function f(){var selectedText = window.getSelection().toString(); if(selectedText) { window.open("https://www.truecaller.com/search/il/" + selectedText); } else { alert("%D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98 %D7%9C%D7%97%D7%99%D7%A4%D7%95%D7%A9 %D7%94%D7%9E%D7%A1%D7%A4%D7%A8 %D7%91%D7%AA%D7%95%D7%9B%D7%A0%D7%AA Truecaller"); } })()
פעולות על אתר האינטרנט
בדיקת אבטחת אתר עם Sucuri
מבצע סריקת אבטחה לאתר הנוכחי דרך Sucuri. מאפשר לוודא במהירות אם האתר נגוע, מסוכן או ברשימות שחורות (Blacklists). שימושי במיוחד לפני הזנת פרטים או סיסמאות.
javascript:(function() { const url = 'https://labs.sucuri.net/details.php?domain=%27%20+%20location.hostname;%20%20window.open(url,%20%27_blank%27);})();
קרדיט: @I-believe . מבוסס על @אי-אם - https://mitmachim.top/post/345366
חיפוש גוגל מהיר: באתר או בדף הנוכחי
מאפשר לבצע חיפוש מהיר בגוגל ישירות מהאתר שבו אתם גולשים. בלחיצה אחת, נפתחת חלונית המציעה שתי אפשרויות: חיפוש בכל האתר, או חיפוש ממוקד בתוך הדף הנוכחי בלבד.
javascript:void%20function(){(function(){function%20t(){document.head.removeChild(a),document.body.removeChild(o),document.body.removeChild(n)}var%20e=%22.modal-backdrop%20{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.5);z-index:2000;}.modal-container%20{position:fixed;top:10%25;left:50%25;transform:translateX(-50%25);width:500px;height:200px;background:%23fff;border-radius:6px;box-shadow:0%204px%2012px%20rgba(0,0,0,0.15);display:flex;flex-direction:column;direction:rtl;text-align:right;z-index:2001;}.modal-header%20{height:55px;padding:12px%2016px;border-bottom:1px%20solid%20%23e9ecef;display:flex;align-items:center;justify-content:space-between;}.modal-header%20.close-btn%20{background:none;border:none;font-size:1.3rem;cursor:pointer;opacity:0.6;}.modal-body%20{flex:0%200%20auto;height:60px;padding:8px%2016px;overflow:hidden;}.modal-body%20input%20{width:100%25;padding:8px;font-size:20px;border:1px%20solid%20%23ccc;border-radius:4px;box-sizing:border-box;line-height:1;}.modal-footer%20{padding:4px%2016px;border-top:1px%20solid%20%23e9ecef;display:flex;justify-content:flex-end;}.modal-footer%20button%20{margin-left:8px;padding:6px%2012px;font-size:0.9rem;border:none;border-radius:4px;cursor:pointer;}.btn-primary%20{background-color:%23007bff;color:%23fff;}.btn-secondary%20{background-color:%236c757d;color:%23fff;}.btn-cancel%20{background-color:%23f8f9fa;color:%23212529;border:1px%20solid%20%23ccc;}%22,a=document.createElement(%22style%22);a.textContent=e,document.head.appendChild(a);var%20n=document.createElement(%22div%22);n.className=%22modal-backdrop%22,document.body.appendChild(n);var%20o=document.createElement(%22div%22);o.className=%22modal-container%22,document.body.appendChild(o);var%20l=document.createElement(%22div%22);l.className=%22modal-header%22;var%20r=document.createElement(%22div%22);r.innerHTML='%3Csvg%20height=%2230%22%20viewBox=%220%200%2092%2030%22%20width=%22450%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M38.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23EA4335%22%3E%3C/path%3E%3Cpath%20d=%22M11.96%2022.98C5.63%2022.98.31%2017.83.31%2011.5S5.63.02%2011.96.02c3.5%200%205.99%201.37%207.87%203.16L17.62%205.4c-1.34-1.26-3.16-2.24-5.66-2.24-4.62%200-8.23%203.72-8.23%208.34%200%204.62%203.61%208.34%208.23%208.34%203%200%204.7-1.2%205.79-2.3.9-.9%201.49-2.2%201.74-4.17H12v-3.14h10.52c.11.56.17%201.23.17%201.96%200%202.35-.64%205.49-2.72%207.56-2.02%202.11-4.59%203.23-8.01%203.23z%22%20fill=%22%234285F4%22%3E%3C/path%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(15,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(30,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(45,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(60,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(75,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(90,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(105,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(120,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(135,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M70%208.56v13.27c0%205.46-3.05%207.7-6.86%207.7-3.58%200-5.74-2.41-6.55-4.37l2.83-1.18c.5%201.2%201.74%202.63%203.72%202.63%202.44%200%203.78-1.51%203.78-4.34v-1.06h-.11c-.73.9-2.04%201.68-3.81%201.68-3.7%200-7-3.22-7-7.36%200-4.17%203.3-7.42%207-7.42%201.76%200%203.08.78%203.81%201.65h.11v-1.2H70zm-2.86%206.97c0-2.6-1.74-4.51-3.95-4.51-2.24%200-3.95%201.9-3.95%204.51%200%202.58%201.71%204.45%203.95%204.45%202.22.01%203.95-1.87%203.95-4.45z%22%20fill=%22%234285F4%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M75%201.17V22.9h-3V1.17h3z%22%20fill=%22%2334A853%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M87.5%2017.94l2.48%201.68c-.8%201.2-2.73%203.28-6.06%203.28-4.13%200-7.22-3.25-7.22-7.39%200-4.4%203.11-7.39%206.86-7.39%203.78%200%205.62%203.05%206.23%204.7l.31.85-9.71%204.08c.74%201.48%201.9%202.24%203.53%202.24s2.76-.82%203.58-2.05zm-7.63-2.66l6.5-2.74c-.36-.92-1.43-1.57-2.7-1.57-1.62%200-3.88%201.46-3.8%204.31z%22%20fill=%22%23EA4335%22%3E%3C/path%3E%3C/g%3E%3C/svg%3E',l.appendChild(r);var%20d=document.createElement(%22button%22);d.className=%22close-btn%22,d.textContent=%22×%22,d.onclick=t,l.appendChild(d),o.appendChild(l);var%20c=document.createElement(%22div%22);c.className=%22modal-body%22;var%20s=document.createElement(%22input%22);s.id=%22bb-inp%22,s.placeholder=%22כתוב%20מילים%20לחיפוש%20בגוגל%22,c.appendChild(s),o.appendChild(c);var%20p=document.createElement(%22div%22);p.className=%22modal-footer%22;var%20i=document.createElement(%22button%22);i.className=%22btn-primary%22,i.textContent=%22חיפוש%20באתר%20נוכחי%22,i.onclick=function(){var%20e=s.value.trim();e%26%26window.open(%22https://www.google.co.il/search%3Fq=site:%22+location.hostname+%22%2520%22+encodeURIComponent(e),%22_blank%22),t()};var%20m=document.createElement(%22button%22);m.className=%22btn-secondary%22,m.textContent=%22חיפוש%20בדף%20נוכחי%22,m.onclick=function(){var%20e=s.value.trim();e%26%26window.open(%22https://www.google.co.il/search%3Fq=site:%22+location.hostname+location.pathname+%22%2520%22+encodeURIComponent(e),%22_blank%22),t()};var%20h=document.createElement(%22button%22);h.className=%22btn-cancel%22,h.textContent=%22ביטול%22,h.onclick=t,p.appendChild(i),p.appendChild(m),p.appendChild(h),o.appendChild(p),s.focus(),s.addEventListener(%22keydown%22,function(t){%22Enter%22===t.key%26%26(t.preventDefault(),i.click())})})()}();
פתח ב-Microsoft Edge
פותח את הדף הנוכחי ישירות בדפדפן Microsoft Edge. הפעולה מאפשרת לנצל בקלות תכונות ייחודיות לדפדפן זה או לעבור לאתרים הדורשים תאימות טובה יותר.
javascript:(function(){ if (window.location.href.startsWith('http:') || window.location.href.startsWith('https:')) { window.location.href = 'microsoft-edge:' + window.location.href; } else { alert('לא ניתן לפתוח כתובת זו (למשל דף פנימי של הדפדפן) באדג\'.'); }})();
קרדיט: @לאצי - https://mitmachim.top/post/947899
כלי מפתחים: F12 בכל דפדפן
מוסיף לדף האינטרנט חלונית כלי מפתחים (בדומה ל-F12), הפועלת בכל דפדפן במחשב ובאנדרואיד. לאחר ההפעלה יופיע סמל הגדרות קטן בפינה הימנית-תחתונה. לחיצה עליו פותחת את החלונית, המאפשרת לבדוק קוד (HTML/CSS), לעקוב אחר תעבורת הרשת ולהשתמש במסוף. לחיצה נוספת תסגור את החלונית. הכלי ייעלם ברענון הדף.
javascript:void%20function(){(function(){var%20n=document.createElement(%22script%22);n.src=%22https://cdn.jsdelivr.net/npm/eruda%22,document.body.appendChild(n),n.onload=function(){eruda.init()}})()}();
שליטה בתצוגה ועריכת תוכן
שינוי כיוון התצוגה: ימין
שמאל
הופך את כיוון התצוגה של דפי אינטרנט (מימין לשמאל ולהפך). פתרון יעיל למקרים בהם דפדפן כרום מציג אתרים לועזיים מתורגמים לעברית בכיווניות שגויה. בניגוד לכרום, דפדפן Edge בדרך כלל מתמודד עם סוגיה זו באופן תקין.
javascript: (() => { const doc = document.body.style; if (doc.direction === 'rtl') { doc.direction = 'ltr'; doc.textAlign = 'left'; } else { doc.direction = 'rtl'; doc.textAlign = 'right'; } const codes = document.querySelectorAll('pre,code'); for (const code of codes) { code.dir = 'ltr'; code.style.textAlign = 'left'; }})();
קרדיט: @ב.ל - https://mitmachim.top/post/288295
שחרור חסימת העתקת טקסט
מאפשר להעתיק ולבחור טקסט באתרים שחוסמים פעולות אלו. לחיצה אחת על הסימנייה מנטרלת את החסימה ומפעילה מחדש את אפשרויות העכבר, לחיצה נוספת מחזירה את המצב לקדמותו.
javascript:(function(){const STYLE_ID='unblock-selection-style';const HANDLER_ID='_unblock_handler';const MSG_ID='selection-msg';const FLAG='_selectionUnblocked';const showMessage=(t,bg='#333',c='#fff')=%3E{const%20o=document.getElementById(MSG_ID);if(o)o.remove();const%20d=document.createElement('div');d.id=MSG_ID;d.textContent=t;Object.assign(d.style,{position:'fixed',top:'20px',left:'50%',transform:'translateX(-50%)',background:bg,color:c,padding:'10px%2020px',fontSize:'16px',borderRadius:'8px',zIndex:999999,fontFamily:'sans-serif',boxShadow:'0%202px%206px%20rgba(0,0,0,0.3)',opacity:'0.95'});document.body.appendChild(d);setTimeout(()=%3Ed.remove(),2500);};const%20isReallyBlocked=()=%3E{const%20test=document.createElement('div');test.textContent='%D7%91%D7%93%D7%99%D7%A7%D7%94';test.style.cssText='position:fixed;top:-9999px;left:-9999px;user-select:auto;-webkit-user-select:auto;';document.body.appendChild(test);const%20r=document.createRange();r.selectNodeContents(test);const%20s=window.getSelection();s.removeAllRanges();s.addRange(r);const%20txt=s.toString();test.remove();const%20b=document.body;return%20!txt||getComputedStyle(b).userSelect==='none'||b.style.userSelect==='none'||b.onselectstart||b.onmousedown||b.oncontextmenu;};if(window[FLAG]){const%20existing=document.getElementById(STYLE_ID);if(existing)existing.remove();['copy','cut','contextmenu','selectstart','mousedown','mouseup','keydown'].forEach(t=%3Ewindow.removeEventListener(t,window[HANDLER_ID],true));delete%20window[HANDLER_ID];document.body.style.userSelect='';document.body.onselectstart=null;document.body.onmousedown=null;document.body.oncontextmenu=null;window[FLAG]=false;showMessage('%F0%9F%9A%AB%20%D7%94%D7%97%D7%A1%D7%99%D7%9E%D7%94%20%D7%A9%D7%95%D7%97%D7%96%D7%A8%D7%94','#cc0000');}else{if(!isReallyBlocked()){showMessage('%E2%84%B9%EF%B8%8F%20%D7%90%D7%99%D7%9F%20%D7%97%D7%A1%D7%99%D7%9E%D7%94%20%D7%9C%D7%96%D7%99%D7%94%D7%95%D7%99,%20%D7%9C%D7%90%20%D7%A0%D7%A2%D7%A9%D7%94%20%D7%A9%D7%99%D7%A0%D7%95%D7%99','#666','#fff');return;}const%20css='*{-webkit-user-select:text%20!important;-moz-user-select:text%20!important;-ms-user-select:text%20!important;user-select:text%20!important;}';const%20style=document.createElement('style');style.id=STYLE_ID;style.textContent=css;document.head.appendChild(style);window[HANDLER_ID]=e=%3Ee.stopPropagation();['copy','cut','contextmenu','selectstart','mousedown','mouseup','keydown'].forEach(t=%3Ewindow.addEventListener(t,window[HANDLER_ID],true));document.body.style.userSelect='text';document.body.onselectstart=null;document.body.onmousedown=null;document.body.oncontextmenu=null;window[FLAG]=true;showMessage('%E2%9C%85%20%D7%94%D7%91%D7%97%D7%99%D7%A8%D7%94%20%D7%95%D7%94%D7%94%D7%A2%D7%AA%D7%A7%D7%94%20%D7%A9%D7%95%D7%97%D7%A8%D7%A8%D7%95','#006600');}})();
קרדיט: @I-believe
טשטוש טקסט: הסתרת מידע רגיש
מאפשר לטשטש מילים או ביטויים ספציפיים בעמוד האינטרנט. לאחר סימון המילה הרצויה ולחיצה על הסימנייה, כל המופעים של אותה מילה בעמוד יוחלפו בתו טשטוש. פתרון מצוין לצילומי מסך או להצגת דפים מבלי לחשוף מידע רגיש. השינוי זמני ויבוטל ברענון הדף.
javascript:(function(){const s=window.getSelection().toString().trim();if(!s){alert("%D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98 %D7%9C%D7%98%D7%A9%D7%98%D7%95%D7%A9.");return;}const b=prompt("%D7%91%D7%90%D7%99%D7%96%D7%94 %D7%AA%D7%95 %D7%AA%D7%A8%D7%A6%D7%94 %D7%9C%D7%98%D7%A9%D7%98%D7%A9?%20(%D7%9C%D7%9E%D7%A9%D7%9C:%20*,%20_,%20#)%22);if(!b)return;const%20e=document.getElementsByTagName(%22*%22);for(let%20i=0;i%3Ce.length;i++){const%20el=e[i];for(let%20j=0;j%3Cel.childNodes.length;j++){const%20n=el.childNodes[j];if(n.nodeType===3){const%20t=n.data;const%20r=new%20RegExp(s,%22gi%22);n.data=t.replace(r,m=%3Em.replace(/./g,b));}}}})();
קרדיט: @I-believe . מבוסס על @cannon - https://mitmachim.top/post/864268
עריכה ישירה של דף אינטרנט
מאפשר עריכה חיה של טקסטים ותכנים ישירות על גבי דף האינטרנט הנוכחי. פתרון אידיאלי להתאמת צילומי מסך או הסתרת מידע לפני שיתוף. השינויים הם זמניים ויבוטלו ברענון הדף או בלחיצה חוזרת על הכפתור.
javascript:function setDesignMode(){if(document.designMode=='off'){document.designMode='on';alert('%D7%9E%D7%A6%D7%91 %D7%A2%D7%A8%D7%99%D7%9B%D7%94 %D7%A4%D7%A2%D7%99%D7%9C!');}else{document.designMode='off';alert('%D7%9E%D7%A6%D7%91 %D7%A2%D7%A8%D7%99%D7%9B%D7%94 %D7%9B%D7%91%D7%95%D7%99!');} }setDesignMode();
קרדיט @I-believe . מבוסס על @Men770 - https://mitmachim.top/topic/2781.
הסרת רכיבים מדף אינטרנט
כלי משלים לפקודת העריכה הקודמת, מאפשר להסיר בלחיצה כל רכיב מדף האינטרנט. פתרון אידיאלי לניקוי התצוגה לצורך צילום מסך או להסרת הסחות דעת. השינויים הם זמניים ויבוטלו ברענון הדף או בלחיצה חוזרת על הכפתור.
javascript:(function() { if (window._removeMode) { window._removeMode = false; document.removeEventListener("click", window._removeElementOnClick, true); alert("%D7%9E%D7%A6%D7%91 %D7%9E%D7%97%D7%99%D7%A7%D7%94 %D7%9B%D7%91%D7%95%D7%99!"); } else { window._removeMode = true; window._removeElementOnClick = function(event) { event.preventDefault(); event.stopPropagation(); event.target.remove(); }; document.addEventListener("click", window._removeElementOnClick, true); alert("%D7%9E%D7%A6%D7%91 %D7%9E%D7%97%D7%99%D7%A7%D7%94 %D7%A4%D7%A2%D7%99%D7%9C!"); }})();
מסך מלא אוניברסלי: לדף אינטרנט או לווידאו
מאפשר כניסה מהירה למסך מלא ועוקף את הצורך להשתמש בתפריט הדפדפן ("שלוש הנקודות"). הכלי פועל באופן אוניברסלי לדפי אינטרנט ולווידאו. פתרון יעיל המספק קיצור דרך אחיד למסך מלא, שפועל בכל אתר ובכל מצב.
javascript:document.documentElement.requestFullscreen().catch(()=>alert('לא ניתן להפעיל מסך מלא!'));
קרדיט: @I-believe
כלי בינה מלאכותית (AI) לגלישה יעילה
צ'אט מהיר עם AI
פותח חלונית לשליחת שאלה לבינה מלאכותית, כשמיד לאחר שליחתה תוחזר תשובה מהירה וישירה. אידיאלי לקבלת מידע נקודתי, הגדרות, או מענה לשאלות פשוטות תוך כדי עבודה.
javascript:text = prompt('הקלד טקסט לשליחה לai');if(text == null || text.trim() !== ''){ fetch('https://scripts.xn--5dbha.com/ai/ai.php', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ text })}).then(response => response.json()).then(data => { if (data && data.text) { alert(data.text); } else { console.error("לא התקבלה תשובה תקינה מהשרת."); }}).catch(error => { console.error("שגיאה בבקשת fetch:", error);}); }
קרדיט: @LEVI-H - https://mitmachim.top/post/947347
סיכום מהיר של הדף
מפיק סיכום תמציתי של דף האינטרנט הנוכחי באמצעות בינה מלאכותית. פתרון מושלם להבנת הנקודות העיקריות של מאמר או כתבה בזמן קצר.
javascript:(function(){const pageText='סכם את הדף הנוכחי בצורה ארוכה: '+document.body.innerText;fetch('https://scripts.xn--5dbha.com/ai/ai.php',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({text:pageText})}).then(response=>response.json()).then(data=>{if(data&&data.text){alert(data.text);}else{console.error("לא התקבלה תשובה תקינה מהשרת.");}}).catch(error=>{console.error("שגיאה בבקשת fetch:",error);});})();
סיכום מפורט של הדף
מפיק סיכום מפורט ומעמיק של דף האינטרנט הנוכחי, כולל ניתוח ודגשים. אידיאלי ללמידה, מחקר, או לקבלת הבנה מקיפה של הנושא מבלי לקרוא את הטקסט המלא.
javascript:(function(){const showProcessingUI=()=>{const e=document.createElement("style");e.textContent=`body{direction:rtl;overflow-y:scroll;}.custom-scroll{position:fixed;top:0;right:0;width:100%;height:100%;overflow-y:auto;background:rgba(255,255,255,0.95);padding-right:15px;}.processing-banner{position:fixed;top:0;right:0;width:100%;background:linear-gradient(135deg,#1e3a8a,#3b82f6);color:white;text-align:center;padding:12px;font-size:18px;font-weight:600;z-index:9999;font-family:'Inter',sans-serif;box-shadow:0 4px 12px rgba(0,0,0,0.3);animation:slideIn 0.4s ease-out;}.progress-container{position:fixed;top:52px;right:0;width:100%;height:6px;background:rgba(255,255,255,0.1);z-index:9998;overflow:hidden;border-radius:6px;}.progress-bar{height:100%;width:0%;background:linear-gradient(90deg,#60a5fa,#3b82f6,#1e40af);background-size:200% 100%;animation:gradientFlow 1.5s linear infinite;transition:width 0.3s ease-in-out;border-radius:6px;box-shadow:0 0 12px rgba(59,130,246,0.6);}.progress-tip{position:fixed;top:64px;right:50%;transform:translateX(50%);color:#000000;font-size:16px;font-weight:800;font-family:'Inter',sans-serif;z-index:9999;text-shadow:0 0 6px #000000;}.popup-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn 0.3s ease;}.popup{background:#E1F5FE;color:#1f2937;padding:32px;border-radius:24px;box-shadow:0 12px 48px rgba(0,0,0,0.3);max-width:90vw;max-height:85vh;overflow-y:auto;font-family:'Inter',sans-serif;direction:ltr;text-align:right;position:relative;transition:transform 0.3s ease;animation:popupFade 0.4s ease-out;padding-top:60px;}.popup .popup-actions{position:absolute;top:12px;right:12px;display:flex;gap:10px;z-index:2;}.popup .popup-actions button{border:none;background:none;cursor:pointer;font-size:20px;padding:6px;border-radius:8px;transition:background 0.2s ease;}.popup .popup-actions button:hover{background:rgba(0,0,0,0.1);}.popup .popup-actions .close{color:#ef4444;}.popup .popup-actions .copy-btn{color:#3b82f6;}.popup .popup-actions .continue-btn{color:#10B981;}.popup pre.code-snippet{background:#1f1f1f;color:#eee;padding:12px;border-radius:10px;margin:12px 0;overflow-x:auto;direction:ltr;}@keyframes gradientFlow{0%{background-position:0% 50%;}100%{background-position:200% 50%;}}@keyframes slideIn{from{transform:translateY(-100%);opacity:0;}to{transform:translateY(0);opacity:1;}}@keyframes popupFade{from{opacity:0;transform:scale(0.95);}to{opacity:1;transform:scale(1);}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}`,document.head.appendChild(e);const t=document.createElement("div");t.className="processing-banner",t.innerText="מעבד נתונים...",document.body.appendChild(t);const o=document.createElement("div");o.className="progress-container";const n=document.createElement("div");n.className="progress-bar",o.appendChild(n),document.body.appendChild(o);const a=document.createElement("div");a.className="progress-tip",a.innerText="שיפור חווית הקריאה...",document.body.appendChild(a);const i=["מסכם עבורך מידע חשוב...","חושב איך לנסח את זה בצורה נגישה...","עובד על הצגת מידע ברור ותמציתי...","שואל את השאלות הנכונות...","שומר על שפה רהוטה ומקצועית..."];let r=Date.now(),c=setInterval(()=>{let e=Math.min(100,(Date.now()-r)/60);n.style.width=e+"%",e>20&&e<80&&(a.innerText=i[Math.floor(Math.random()*i.length)])},100);return()=>{clearInterval(c),t.remove(),o.remove(),a.remove()}};const showPopup=e=>{const t=document.createElement("div");t.className="popup-overlay";const o=document.createElement("div");o.className="popup";const n=document.createElement("div");n.style.direction="rtl",n.innerHTML=e.replace(/%60%60%60([\s\S]*?)%60%60%60/g,'<pre class="code-snippet">$1</pre>').replace(/%60([^%60]+)%60/g,'<span class="inline-code">$1</span>').replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>").replace(/(<br>){2,}/g,"<br><br>"),o.appendChild(n);const a=document.createElement("div");a.className="popup-actions";const i=document.createElement("button");i.className="close",i.innerHTML="✖",i.title="סגור חלון",i.onclick=()=>document.body.removeChild(t);const r=document.createElement("button");r.className="copy-btn",r.innerHTML="📋",r.title="העתק תוכן",r.onclick=()=>{navigator.clipboard.writeText(n.innerText),r.innerHTML="✅",setTimeout(()=>r.innerHTML="📋",2e3)};const c=document.createElement("button");c.className="continue-btn",c.innerHTML="המשך שיחה⏩",c.title="המשך שיחה",c.onclick=()=>{window.open("https://php-render-test.onrender.com/?conversation="+encodeURIComponent(n.innerText),"_blank")},a.appendChild(c),a.appendChild(r),a.appendChild(i),o.appendChild(a),t.appendChild(o),document.body.appendChild(t),o.focus(),t.addEventListener("keydown",e=>{"Escape"===e.key&&i.click()})};const cleanup=showProcessingUI(),prompt=`אתה עוזר חכם. אנא קרא את תוכן הדף הבא בקפידה וסכם אותו בצורה מקצועית, מפורטת ומובנית:\n- הדגש את הנקודות החשובות ביותר.\n- סכם את הרעיונות המרכזיים.\n- אם מדובר בקוד, הסבר את מה שהקוד עושה, ספק אותו ופרט את המטרה שלו.\n- אם מדובר במאמר, פרט על מה הוא מדבר, הצג את הנקודות העיקריות והסבר את התובנות המרכזיות.\n- כתוב בעברית רהוטה ובשפה נגישה.\n- אל תזכיר שאתה בינה מלאכותית או שקיבלת את המידע מטקסט.\n[טקסט גולמי מתוך הדף:]\n${document.body.innerText}\n[HTML של הדף:]\n${document.body.innerHTML}`;fetch("https://php-render-test.onrender.com/main-ai.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:prompt})}).then(e=>e.json()).then(e=>{cleanup(),e&&e.text?showPopup(e.text):showPopup("<b>לא התקבלה תשובה תקינה מהשרת.</b>")}).catch(e=>{cleanup(),console.error(e),showPopup("<b>אירעה שגיאה בתקשורת עם השרת.</b>")})})();
-
במדריך זה ריכזתי למעלה מ-15 סקריפטים שימושיים, שניתן לשמור כסימניות חכמות בדפדפן כרום, ולשדרג את חוויית הגלישה בלחיצת כפתור
אתם מוזמנים להוסיף קודים משלכם ולהעשיר את המאגר!
כדי לשמור על המאגר נקי, אנא הוסיפו כאן רק קודים. לשאלות דיונים והערות – פשוט פתחו אשכול חדש.
מהן סימניות חכמות?
סימניות חכמות (Bookmarklets) אלו קטעי קוד קטנים ששומרים בסימניות, והופכים את סרגל הסימניות שלכם לארגז כלים עוצמתי. כל לחיצה על סימנייה כזו מפעילה פעולה חכמה – בלי צורך בתוסף, התקנה או הרשאות מיוחדות.
️ איך מוסיפים סימנייה חכמה? (זה לוקח 10 שניות)
- לחצו קליק ימני על סרגל הסימניות ובחרו "הוספת דף..." (Add page).
- בשדה "שם" (Name) – תנו לסימנייה שם שקל לזכור (לדוגמה: "תיקון ג'יבריש" או "תרגום מהיר").
- בשדה "כתובת אתר" (URL) – הדביקו את קוד הסקריפט המלא מהמדריך.
- לחצו על "שמירה" (Save) – והסימנייה החדשה שלכם מוכנה לפעולה!
טיפ: אפשר לתת לסימנייה שם שהוא רק אימוג'י – זה חוסך מקום. תוכלו לבחור אימוג'ים מתוך הרשימה שערך @ע-ה-דכו-ע בהמשך.
כעת, כל לחיצה על הסימנייה תפעיל את הקוד הרצוי בדף האינטרנט שבו אתם נמצאים.
️ דגשים חשובים לפני השימוש
- הצגת סרגל הסימניות: כדי להשתמש בסימנייה, סרגל הסימניות חייב להיות גלוי. אם הוא לא מופיע, לחצו
Ctrl+Shift+B
כדי להציג אותו. - שימוש בדף פעיל: הסימניות פועלות רק כאשר אתם נמצאים בדף אינטרנט פעיל (עם כתובת URL), ולא בכרטיסייה חדשה וריקה.
- סינון אינטרנט: סקריפטים המבוססים על בינה מלאכותית (AI) עשויים להיות מושפעים מרמת הסינון של חיבור האינטרנט שלכם.
🧠 אודות הסקריפטים
אוסף הסקריפטים כאן נבנה הודות לקהילת 'מתמחים טופ' המוכשרת שלנו.
רובם נערכו בשיתוף עם כלי בינה מלאכותית (AI).
השתדלתי לתת קרדיט (גם לעצמי) בכל מקום.
אם יש לכם מידע נוסף אתם מוזמנים לעדכן.
איך מתאימים קוד JavaScript לסימנייה חכמה?
הקוד של סימנייה חכמה נכתב ב-JavaScript, ופועל ישירות על הדף הפתוח בדפדפן. אבל לא ניתן פשוט להעתיק קוד רגיל ולהדביק אותו בשדה הכתובת של סימנייה – משום שהשדה הזה לא תומך במעברי שורה, וחלק מהתווים עלולים להשתבש. לכן נדרש לעבד את הקוד מראש לפורמט שמתאים לסימנייה.
הדרך הפשוטה לעשות זאת: משתמשים בכלי ייעודי כמו: Bookmarklet Maker מדביקים בו את קוד ה-JavaScript המקורי (עם כל המבנה והעימוד), והוא ממיר אותו אוטומטית לשורת קוד אחת, נקייה ודחוסה. את השורה הזאת מעתיקים – ויוצרים איתה סימנייה חדשה בדפדפן.
קרדיט: @ע-ה-דכו-ע
יש לכם קוד שימושי שכתבתם או מצאתם? שתפו אותו בתגובות! כולנו נרוויח מזה
פעולות מהירות על טקסט
תיקון פריסת מקלדת: עברית
אנגלית
מתקן באופן מיידי טקסט מסומן שנכתב בפריסת מקלדת שגויה (לדוגמה, "akuo" במקום "שלום"). פתרון יעיל לתיקון 'ג'יבריש' בלחיצה אחת, החוסך את הצורך למחוק את הטקסט ולהקליד אותו מחדש.
javascript:(function(){ const engToHeb = { 'a':'ש','b':'נ','c':'ב','d':'ג','e':'ק','f':'כ','g':'ע','h':'י', 'i':'ן','j':'ח','k':'ל','l':'ך','m':'צ','n':'מ','o':'ם','p':'פ', 'q':'/','r':'ר','s':'ד','t':'א','u':'ו','v':'ה','w':'\'','x':'ס', 'y':'ט','z':'ז','A':'ש','B':'נ','C':'ב','D':'ג','E':'ק','F':'כ', 'G':'ע','H':'י','I':'ן','J':'ח','K':'ל','L':'ך','M':'צ','N':'מ', 'O':'ם','P':'פ','Q':'/','R':'ר','S':'ד','T':'א','U':'ו','V':'ה', 'W':'\'','X':'ס','Y':'ט','Z':'ז',',':'ת','.':'ץ' }; const selection = window.getSelection(); if (!selection.rangeCount) return; const range = selection.getRangeAt(0); const text = selection.toString(); if (!text) return; const converted = [...text].map(c => engToHeb[c] || c).join(''); range.deleteContents(); range.insertNode(document.createTextNode(converted)); })();
מרכז כלים לטקסט שנבחר
הופך כל טקסט שמסמנים בדף למרכז פעולות חכם. לאחר סימון הטקסט ולחיצה על הסימנייה, נפתח חלון עם מגוון פעולות: העתקה, חיפוש (בגוגל, ויקיפדיה), שליחה ל-ChatGPT, תרגום, הדפסה, שמירה כ-PDF ועוד. כלי עוצמתי המרכז את כל הפעולות הנפוצות וחוסך מעבר בין חלונות.
javascript:(function(){ let selection = window.getSelection().toString(); if (!selection) { alert("%E2%9A%A0%EF%B8%8F %D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98. %D7%A1%D7%9E%D7%9F %D7%98%D7%A7%D7%A1%D7%98 %D7%A7%D7%95%D7%93%D7%9D!"); return; } let url = "https://yosef.jewtech.co.il/%D7%AA%D7%95%D7%A1%D7%A3/text-tool-pro-max-plus.html?text=%22%20+%20encodeURIComponent(selection);%20%20window.open(url,%20%22_blank%22,%20%22width=800,height=800,top=100,left=200%22);})();
תרגום מהיר: בחלון קופץ
פותח חלון קופץ להזנת טקסט לתרגום בין עברית לאנגלית, שולח את הטקסט למילון פנימי ייעודי לצורך קבלת תרגום מיידי, ומציג את התרגום בחלון קופץ – מבלי לנטוש את הדף. אם לא נמצאה התאמה, הכלי מפנה אוטומטית ל-Google Translate.
javascript:(function(){var text=prompt('אנא הקלד את המילה לתרגום');fetch("https://scripts.xn--5dbha.com/trans/s.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:text})}).then(response=>response.json()).then(data=>{if(data[1]){var decoder=document.createElement('textarea');decoder.innerHTML=data[0];alert(decoder.value);}else{window.open('https://translate.google.co.il/?hl=iw&sl=iw&tl=en&text='+encodeURIComponent(text)+'&op=translate');}}).catch(error=>{console.error("Error:",error);});})();
קרדיט: @LEVI-H ו @ראובן-שבתי - https://mitmachim.top/post/911756
תרגום מהיר: בכרטיסייה חדשה
מבצע תרגום מיידי לטקסט שנבחר בין עברית לאנגלית, ופותח את התוצאה ב-Google Translate. אם לא נבחר טקסט, ייפתח חלון להזנת טקסט ידנית. פתרון יעיל לתרגום דו-כיווני בלחיצה אחת.
javascript:(function(){function detectLang(t){return /[\u0590-\u05FF]/.test(t)?"he":"en"}let t=window.getSelection().toString().trim();function go(text){if(!text)return;let from=detectLang(text),to=from==="he"?"en":"he",url="https://translate.google.com/?sl="+from+"&tl="+to+"&text="+encodeURIComponent(text);window.open(url,"_blank")}t?go(t):(t=prompt("לא נבחר טקסט. הזן טקסט לתרגום:"),t&&go(t.trim()))})();
קרדיט: @I-believe
זיהוי מספר טלפון ב-Truecaller
פותח כל מספר טלפון מסומן ישירות לחיפוש באתר Truecaller. הפעולה מאפשרת זיהוי מהיר של מתקשרים וחוסכת את הצורך בהעתקה והקלדה ידנית של המספר.
javascript:(function f(){var selectedText = window.getSelection().toString(); if(selectedText) { window.open("https://www.truecaller.com/search/il/" + selectedText); } else { alert("%D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98 %D7%9C%D7%97%D7%99%D7%A4%D7%95%D7%A9 %D7%94%D7%9E%D7%A1%D7%A4%D7%A8 %D7%91%D7%AA%D7%95%D7%9B%D7%A0%D7%AA Truecaller"); } })()
פעולות על אתר האינטרנט
בדיקת אבטחת אתר עם Sucuri
מבצע סריקת אבטחה לאתר הנוכחי דרך Sucuri. מאפשר לוודא במהירות אם האתר נגוע, מסוכן או ברשימות שחורות (Blacklists). שימושי במיוחד לפני הזנת פרטים או סיסמאות.
javascript:(function() { const url = 'https://labs.sucuri.net/details.php?domain=%27%20+%20location.hostname;%20%20window.open(url,%20%27_blank%27);})();
קרדיט: @I-believe . מבוסס על @אי-אם - https://mitmachim.top/post/345366
חיפוש גוגל מהיר: באתר או בדף הנוכחי
מאפשר לבצע חיפוש מהיר בגוגל ישירות מהאתר שבו אתם גולשים. בלחיצה אחת, נפתחת חלונית המציעה שתי אפשרויות: חיפוש בכל האתר, או חיפוש ממוקד בתוך הדף הנוכחי בלבד.
javascript:void%20function(){(function(){function%20t(){document.head.removeChild(a),document.body.removeChild(o),document.body.removeChild(n)}var%20e=%22.modal-backdrop%20{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.5);z-index:2000;}.modal-container%20{position:fixed;top:10%25;left:50%25;transform:translateX(-50%25);width:500px;height:200px;background:%23fff;border-radius:6px;box-shadow:0%204px%2012px%20rgba(0,0,0,0.15);display:flex;flex-direction:column;direction:rtl;text-align:right;z-index:2001;}.modal-header%20{height:55px;padding:12px%2016px;border-bottom:1px%20solid%20%23e9ecef;display:flex;align-items:center;justify-content:space-between;}.modal-header%20.close-btn%20{background:none;border:none;font-size:1.3rem;cursor:pointer;opacity:0.6;}.modal-body%20{flex:0%200%20auto;height:60px;padding:8px%2016px;overflow:hidden;}.modal-body%20input%20{width:100%25;padding:8px;font-size:20px;border:1px%20solid%20%23ccc;border-radius:4px;box-sizing:border-box;line-height:1;}.modal-footer%20{padding:4px%2016px;border-top:1px%20solid%20%23e9ecef;display:flex;justify-content:flex-end;}.modal-footer%20button%20{margin-left:8px;padding:6px%2012px;font-size:0.9rem;border:none;border-radius:4px;cursor:pointer;}.btn-primary%20{background-color:%23007bff;color:%23fff;}.btn-secondary%20{background-color:%236c757d;color:%23fff;}.btn-cancel%20{background-color:%23f8f9fa;color:%23212529;border:1px%20solid%20%23ccc;}%22,a=document.createElement(%22style%22);a.textContent=e,document.head.appendChild(a);var%20n=document.createElement(%22div%22);n.className=%22modal-backdrop%22,document.body.appendChild(n);var%20o=document.createElement(%22div%22);o.className=%22modal-container%22,document.body.appendChild(o);var%20l=document.createElement(%22div%22);l.className=%22modal-header%22;var%20r=document.createElement(%22div%22);r.innerHTML='%3Csvg%20height=%2230%22%20viewBox=%220%200%2092%2030%22%20width=%22450%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M38.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23EA4335%22%3E%3C/path%3E%3Cpath%20d=%22M11.96%2022.98C5.63%2022.98.31%2017.83.31%2011.5S5.63.02%2011.96.02c3.5%200%205.99%201.37%207.87%203.16L17.62%205.4c-1.34-1.26-3.16-2.24-5.66-2.24-4.62%200-8.23%203.72-8.23%208.34%200%204.62%203.61%208.34%208.23%208.34%203%200%204.7-1.2%205.79-2.3.9-.9%201.49-2.2%201.74-4.17H12v-3.14h10.52c.11.56.17%201.23.17%201.96%200%202.35-.64%205.49-2.72%207.56-2.02%202.11-4.59%203.23-8.01%203.23z%22%20fill=%22%234285F4%22%3E%3C/path%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(15,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(30,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(45,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(60,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(75,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(90,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(105,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(120,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(135,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M70%208.56v13.27c0%205.46-3.05%207.7-6.86%207.7-3.58%200-5.74-2.41-6.55-4.37l2.83-1.18c.5%201.2%201.74%202.63%203.72%202.63%202.44%200%203.78-1.51%203.78-4.34v-1.06h-.11c-.73.9-2.04%201.68-3.81%201.68-3.7%200-7-3.22-7-7.36%200-4.17%203.3-7.42%207-7.42%201.76%200%203.08.78%203.81%201.65h.11v-1.2H70zm-2.86%206.97c0-2.6-1.74-4.51-3.95-4.51-2.24%200-3.95%201.9-3.95%204.51%200%202.58%201.71%204.45%203.95%204.45%202.22.01%203.95-1.87%203.95-4.45z%22%20fill=%22%234285F4%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M75%201.17V22.9h-3V1.17h3z%22%20fill=%22%2334A853%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M87.5%2017.94l2.48%201.68c-.8%201.2-2.73%203.28-6.06%203.28-4.13%200-7.22-3.25-7.22-7.39%200-4.4%203.11-7.39%206.86-7.39%203.78%200%205.62%203.05%206.23%204.7l.31.85-9.71%204.08c.74%201.48%201.9%202.24%203.53%202.24s2.76-.82%203.58-2.05zm-7.63-2.66l6.5-2.74c-.36-.92-1.43-1.57-2.7-1.57-1.62%200-3.88%201.46-3.8%204.31z%22%20fill=%22%23EA4335%22%3E%3C/path%3E%3C/g%3E%3C/svg%3E',l.appendChild(r);var%20d=document.createElement(%22button%22);d.className=%22close-btn%22,d.textContent=%22×%22,d.onclick=t,l.appendChild(d),o.appendChild(l);var%20c=document.createElement(%22div%22);c.className=%22modal-body%22;var%20s=document.createElement(%22input%22);s.id=%22bb-inp%22,s.placeholder=%22כתוב%20מילים%20לחיפוש%20בגוגל%22,c.appendChild(s),o.appendChild(c);var%20p=document.createElement(%22div%22);p.className=%22modal-footer%22;var%20i=document.createElement(%22button%22);i.className=%22btn-primary%22,i.textContent=%22חיפוש%20באתר%20נוכחי%22,i.onclick=function(){var%20e=s.value.trim();e%26%26window.open(%22https://www.google.co.il/search%3Fq=site:%22+location.hostname+%22%2520%22+encodeURIComponent(e),%22_blank%22),t()};var%20m=document.createElement(%22button%22);m.className=%22btn-secondary%22,m.textContent=%22חיפוש%20בדף%20נוכחי%22,m.onclick=function(){var%20e=s.value.trim();e%26%26window.open(%22https://www.google.co.il/search%3Fq=site:%22+location.hostname+location.pathname+%22%2520%22+encodeURIComponent(e),%22_blank%22),t()};var%20h=document.createElement(%22button%22);h.className=%22btn-cancel%22,h.textContent=%22ביטול%22,h.onclick=t,p.appendChild(i),p.appendChild(m),p.appendChild(h),o.appendChild(p),s.focus(),s.addEventListener(%22keydown%22,function(t){%22Enter%22===t.key%26%26(t.preventDefault(),i.click())})})()}();
פתח ב-Microsoft Edge
פותח את הדף הנוכחי ישירות בדפדפן Microsoft Edge. הפעולה מאפשרת לנצל בקלות תכונות ייחודיות לדפדפן זה או לעבור לאתרים הדורשים תאימות טובה יותר.
javascript:(function(){ if (window.location.href.startsWith('http:') || window.location.href.startsWith('https:')) { window.location.href = 'microsoft-edge:' + window.location.href; } else { alert('לא ניתן לפתוח כתובת זו (למשל דף פנימי של הדפדפן) באדג\'.'); }})();
קרדיט: @לאצי - https://mitmachim.top/post/947899
כלי מפתחים: F12 בכל דפדפן
מוסיף לדף האינטרנט חלונית כלי מפתחים (בדומה ל-F12), הפועלת בכל דפדפן במחשב ובאנדרואיד. לאחר ההפעלה יופיע סמל הגדרות קטן בפינה הימנית-תחתונה. לחיצה עליו פותחת את החלונית, המאפשרת לבדוק קוד (HTML/CSS), לעקוב אחר תעבורת הרשת ולהשתמש במסוף. לחיצה נוספת תסגור את החלונית. הכלי ייעלם ברענון הדף.
javascript:void%20function(){(function(){var%20n=document.createElement(%22script%22);n.src=%22https://cdn.jsdelivr.net/npm/eruda%22,document.body.appendChild(n),n.onload=function(){eruda.init()}})()}();
שליטה בתצוגה ועריכת תוכן
שינוי כיוון התצוגה: ימין
שמאל
הופך את כיוון התצוגה של דפי אינטרנט (מימין לשמאל ולהפך). פתרון יעיל למקרים בהם דפדפן כרום מציג אתרים לועזיים מתורגמים לעברית בכיווניות שגויה. בניגוד לכרום, דפדפן Edge בדרך כלל מתמודד עם סוגיה זו באופן תקין.
javascript: (() => { const doc = document.body.style; if (doc.direction === 'rtl') { doc.direction = 'ltr'; doc.textAlign = 'left'; } else { doc.direction = 'rtl'; doc.textAlign = 'right'; } const codes = document.querySelectorAll('pre,code'); for (const code of codes) { code.dir = 'ltr'; code.style.textAlign = 'left'; }})();
קרדיט: @ב.ל - https://mitmachim.top/post/288295
שחרור חסימת העתקת טקסט
מאפשר להעתיק ולבחור טקסט באתרים שחוסמים פעולות אלו. לחיצה אחת על הסימנייה מנטרלת את החסימה ומפעילה מחדש את אפשרויות העכבר, לחיצה נוספת מחזירה את המצב לקדמותו.
javascript:(function(){const STYLE_ID='unblock-selection-style';const HANDLER_ID='_unblock_handler';const MSG_ID='selection-msg';const FLAG='_selectionUnblocked';const showMessage=(t,bg='#333',c='#fff')=%3E{const%20o=document.getElementById(MSG_ID);if(o)o.remove();const%20d=document.createElement('div');d.id=MSG_ID;d.textContent=t;Object.assign(d.style,{position:'fixed',top:'20px',left:'50%',transform:'translateX(-50%)',background:bg,color:c,padding:'10px%2020px',fontSize:'16px',borderRadius:'8px',zIndex:999999,fontFamily:'sans-serif',boxShadow:'0%202px%206px%20rgba(0,0,0,0.3)',opacity:'0.95'});document.body.appendChild(d);setTimeout(()=%3Ed.remove(),2500);};const%20isReallyBlocked=()=%3E{const%20test=document.createElement('div');test.textContent='%D7%91%D7%93%D7%99%D7%A7%D7%94';test.style.cssText='position:fixed;top:-9999px;left:-9999px;user-select:auto;-webkit-user-select:auto;';document.body.appendChild(test);const%20r=document.createRange();r.selectNodeContents(test);const%20s=window.getSelection();s.removeAllRanges();s.addRange(r);const%20txt=s.toString();test.remove();const%20b=document.body;return%20!txt||getComputedStyle(b).userSelect==='none'||b.style.userSelect==='none'||b.onselectstart||b.onmousedown||b.oncontextmenu;};if(window[FLAG]){const%20existing=document.getElementById(STYLE_ID);if(existing)existing.remove();['copy','cut','contextmenu','selectstart','mousedown','mouseup','keydown'].forEach(t=%3Ewindow.removeEventListener(t,window[HANDLER_ID],true));delete%20window[HANDLER_ID];document.body.style.userSelect='';document.body.onselectstart=null;document.body.onmousedown=null;document.body.oncontextmenu=null;window[FLAG]=false;showMessage('%F0%9F%9A%AB%20%D7%94%D7%97%D7%A1%D7%99%D7%9E%D7%94%20%D7%A9%D7%95%D7%97%D7%96%D7%A8%D7%94','#cc0000');}else{if(!isReallyBlocked()){showMessage('%E2%84%B9%EF%B8%8F%20%D7%90%D7%99%D7%9F%20%D7%97%D7%A1%D7%99%D7%9E%D7%94%20%D7%9C%D7%96%D7%99%D7%94%D7%95%D7%99,%20%D7%9C%D7%90%20%D7%A0%D7%A2%D7%A9%D7%94%20%D7%A9%D7%99%D7%A0%D7%95%D7%99','#666','#fff');return;}const%20css='*{-webkit-user-select:text%20!important;-moz-user-select:text%20!important;-ms-user-select:text%20!important;user-select:text%20!important;}';const%20style=document.createElement('style');style.id=STYLE_ID;style.textContent=css;document.head.appendChild(style);window[HANDLER_ID]=e=%3Ee.stopPropagation();['copy','cut','contextmenu','selectstart','mousedown','mouseup','keydown'].forEach(t=%3Ewindow.addEventListener(t,window[HANDLER_ID],true));document.body.style.userSelect='text';document.body.onselectstart=null;document.body.onmousedown=null;document.body.oncontextmenu=null;window[FLAG]=true;showMessage('%E2%9C%85%20%D7%94%D7%91%D7%97%D7%99%D7%A8%D7%94%20%D7%95%D7%94%D7%94%D7%A2%D7%AA%D7%A7%D7%94%20%D7%A9%D7%95%D7%97%D7%A8%D7%A8%D7%95','#006600');}})();
קרדיט: @I-believe
טשטוש טקסט: הסתרת מידע רגיש
מאפשר לטשטש מילים או ביטויים ספציפיים בעמוד האינטרנט. לאחר סימון המילה הרצויה ולחיצה על הסימנייה, כל המופעים של אותה מילה בעמוד יוחלפו בתו טשטוש. פתרון מצוין לצילומי מסך או להצגת דפים מבלי לחשוף מידע רגיש. השינוי זמני ויבוטל ברענון הדף.
javascript:(function(){const s=window.getSelection().toString().trim();if(!s){alert("%D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98 %D7%9C%D7%98%D7%A9%D7%98%D7%95%D7%A9.");return;}const b=prompt("%D7%91%D7%90%D7%99%D7%96%D7%94 %D7%AA%D7%95 %D7%AA%D7%A8%D7%A6%D7%94 %D7%9C%D7%98%D7%A9%D7%98%D7%A9?%20(%D7%9C%D7%9E%D7%A9%D7%9C:%20*,%20_,%20#)%22);if(!b)return;const%20e=document.getElementsByTagName(%22*%22);for(let%20i=0;i%3Ce.length;i++){const%20el=e[i];for(let%20j=0;j%3Cel.childNodes.length;j++){const%20n=el.childNodes[j];if(n.nodeType===3){const%20t=n.data;const%20r=new%20RegExp(s,%22gi%22);n.data=t.replace(r,m=%3Em.replace(/./g,b));}}}})();
קרדיט: @I-believe . מבוסס על @cannon - https://mitmachim.top/post/864268
עריכה ישירה של דף אינטרנט
מאפשר עריכה חיה של טקסטים ותכנים ישירות על גבי דף האינטרנט הנוכחי. פתרון אידיאלי להתאמת צילומי מסך או הסתרת מידע לפני שיתוף. השינויים הם זמניים ויבוטלו ברענון הדף או בלחיצה חוזרת על הכפתור.
javascript:function setDesignMode(){if(document.designMode=='off'){document.designMode='on';alert('%D7%9E%D7%A6%D7%91 %D7%A2%D7%A8%D7%99%D7%9B%D7%94 %D7%A4%D7%A2%D7%99%D7%9C!');}else{document.designMode='off';alert('%D7%9E%D7%A6%D7%91 %D7%A2%D7%A8%D7%99%D7%9B%D7%94 %D7%9B%D7%91%D7%95%D7%99!');} }setDesignMode();
קרדיט @I-believe . מבוסס על @Men770 - https://mitmachim.top/topic/2781.
הסרת רכיבים מדף אינטרנט
כלי משלים לפקודת העריכה הקודמת, מאפשר להסיר בלחיצה כל רכיב מדף האינטרנט. פתרון אידיאלי לניקוי התצוגה לצורך צילום מסך או להסרת הסחות דעת. השינויים הם זמניים ויבוטלו ברענון הדף או בלחיצה חוזרת על הכפתור.
javascript:(function() { if (window._removeMode) { window._removeMode = false; document.removeEventListener("click", window._removeElementOnClick, true); alert("%D7%9E%D7%A6%D7%91 %D7%9E%D7%97%D7%99%D7%A7%D7%94 %D7%9B%D7%91%D7%95%D7%99!"); } else { window._removeMode = true; window._removeElementOnClick = function(event) { event.preventDefault(); event.stopPropagation(); event.target.remove(); }; document.addEventListener("click", window._removeElementOnClick, true); alert("%D7%9E%D7%A6%D7%91 %D7%9E%D7%97%D7%99%D7%A7%D7%94 %D7%A4%D7%A2%D7%99%D7%9C!"); }})();
מסך מלא אוניברסלי: לדף אינטרנט או לווידאו
מאפשר כניסה מהירה למסך מלא ועוקף את הצורך להשתמש בתפריט הדפדפן ("שלוש הנקודות"). הכלי פועל באופן אוניברסלי לדפי אינטרנט ולווידאו. פתרון יעיל המספק קיצור דרך אחיד למסך מלא, שפועל בכל אתר ובכל מצב.
javascript:document.documentElement.requestFullscreen().catch(()=>alert('לא ניתן להפעיל מסך מלא!'));
קרדיט: @I-believe
כלי בינה מלאכותית (AI) לגלישה יעילה
צ'אט מהיר עם AI
פותח חלונית לשליחת שאלה לבינה מלאכותית, כשמיד לאחר שליחתה תוחזר תשובה מהירה וישירה. אידיאלי לקבלת מידע נקודתי, הגדרות, או מענה לשאלות פשוטות תוך כדי עבודה.
javascript:text = prompt('הקלד טקסט לשליחה לai');if(text == null || text.trim() !== ''){ fetch('https://scripts.xn--5dbha.com/ai/ai.php', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ text })}).then(response => response.json()).then(data => { if (data && data.text) { alert(data.text); } else { console.error("לא התקבלה תשובה תקינה מהשרת."); }}).catch(error => { console.error("שגיאה בבקשת fetch:", error);}); }
קרדיט: @LEVI-H - https://mitmachim.top/post/947347
סיכום מהיר של הדף
מפיק סיכום תמציתי של דף האינטרנט הנוכחי באמצעות בינה מלאכותית. פתרון מושלם להבנת הנקודות העיקריות של מאמר או כתבה בזמן קצר.
javascript:(function(){const pageText='סכם את הדף הנוכחי בצורה ארוכה: '+document.body.innerText;fetch('https://scripts.xn--5dbha.com/ai/ai.php',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({text:pageText})}).then(response=>response.json()).then(data=>{if(data&&data.text){alert(data.text);}else{console.error("לא התקבלה תשובה תקינה מהשרת.");}}).catch(error=>{console.error("שגיאה בבקשת fetch:",error);});})();
סיכום מפורט של הדף
מפיק סיכום מפורט ומעמיק של דף האינטרנט הנוכחי, כולל ניתוח ודגשים. אידיאלי ללמידה, מחקר, או לקבלת הבנה מקיפה של הנושא מבלי לקרוא את הטקסט המלא.
javascript:(function(){const showProcessingUI=()=>{const e=document.createElement("style");e.textContent=`body{direction:rtl;overflow-y:scroll;}.custom-scroll{position:fixed;top:0;right:0;width:100%;height:100%;overflow-y:auto;background:rgba(255,255,255,0.95);padding-right:15px;}.processing-banner{position:fixed;top:0;right:0;width:100%;background:linear-gradient(135deg,#1e3a8a,#3b82f6);color:white;text-align:center;padding:12px;font-size:18px;font-weight:600;z-index:9999;font-family:'Inter',sans-serif;box-shadow:0 4px 12px rgba(0,0,0,0.3);animation:slideIn 0.4s ease-out;}.progress-container{position:fixed;top:52px;right:0;width:100%;height:6px;background:rgba(255,255,255,0.1);z-index:9998;overflow:hidden;border-radius:6px;}.progress-bar{height:100%;width:0%;background:linear-gradient(90deg,#60a5fa,#3b82f6,#1e40af);background-size:200% 100%;animation:gradientFlow 1.5s linear infinite;transition:width 0.3s ease-in-out;border-radius:6px;box-shadow:0 0 12px rgba(59,130,246,0.6);}.progress-tip{position:fixed;top:64px;right:50%;transform:translateX(50%);color:#000000;font-size:16px;font-weight:800;font-family:'Inter',sans-serif;z-index:9999;text-shadow:0 0 6px #000000;}.popup-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn 0.3s ease;}.popup{background:#E1F5FE;color:#1f2937;padding:32px;border-radius:24px;box-shadow:0 12px 48px rgba(0,0,0,0.3);max-width:90vw;max-height:85vh;overflow-y:auto;font-family:'Inter',sans-serif;direction:ltr;text-align:right;position:relative;transition:transform 0.3s ease;animation:popupFade 0.4s ease-out;padding-top:60px;}.popup .popup-actions{position:absolute;top:12px;right:12px;display:flex;gap:10px;z-index:2;}.popup .popup-actions button{border:none;background:none;cursor:pointer;font-size:20px;padding:6px;border-radius:8px;transition:background 0.2s ease;}.popup .popup-actions button:hover{background:rgba(0,0,0,0.1);}.popup .popup-actions .close{color:#ef4444;}.popup .popup-actions .copy-btn{color:#3b82f6;}.popup .popup-actions .continue-btn{color:#10B981;}.popup pre.code-snippet{background:#1f1f1f;color:#eee;padding:12px;border-radius:10px;margin:12px 0;overflow-x:auto;direction:ltr;}@keyframes gradientFlow{0%{background-position:0% 50%;}100%{background-position:200% 50%;}}@keyframes slideIn{from{transform:translateY(-100%);opacity:0;}to{transform:translateY(0);opacity:1;}}@keyframes popupFade{from{opacity:0;transform:scale(0.95);}to{opacity:1;transform:scale(1);}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}`,document.head.appendChild(e);const t=document.createElement("div");t.className="processing-banner",t.innerText="מעבד נתונים...",document.body.appendChild(t);const o=document.createElement("div");o.className="progress-container";const n=document.createElement("div");n.className="progress-bar",o.appendChild(n),document.body.appendChild(o);const a=document.createElement("div");a.className="progress-tip",a.innerText="שיפור חווית הקריאה...",document.body.appendChild(a);const i=["מסכם עבורך מידע חשוב...","חושב איך לנסח את זה בצורה נגישה...","עובד על הצגת מידע ברור ותמציתי...","שואל את השאלות הנכונות...","שומר על שפה רהוטה ומקצועית..."];let r=Date.now(),c=setInterval(()=>{let e=Math.min(100,(Date.now()-r)/60);n.style.width=e+"%",e>20&&e<80&&(a.innerText=i[Math.floor(Math.random()*i.length)])},100);return()=>{clearInterval(c),t.remove(),o.remove(),a.remove()}};const showPopup=e=>{const t=document.createElement("div");t.className="popup-overlay";const o=document.createElement("div");o.className="popup";const n=document.createElement("div");n.style.direction="rtl",n.innerHTML=e.replace(/%60%60%60([\s\S]*?)%60%60%60/g,'<pre class="code-snippet">$1</pre>').replace(/%60([^%60]+)%60/g,'<span class="inline-code">$1</span>').replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>").replace(/(<br>){2,}/g,"<br><br>"),o.appendChild(n);const a=document.createElement("div");a.className="popup-actions";const i=document.createElement("button");i.className="close",i.innerHTML="✖",i.title="סגור חלון",i.onclick=()=>document.body.removeChild(t);const r=document.createElement("button");r.className="copy-btn",r.innerHTML="📋",r.title="העתק תוכן",r.onclick=()=>{navigator.clipboard.writeText(n.innerText),r.innerHTML="✅",setTimeout(()=>r.innerHTML="📋",2e3)};const c=document.createElement("button");c.className="continue-btn",c.innerHTML="המשך שיחה⏩",c.title="המשך שיחה",c.onclick=()=>{window.open("https://php-render-test.onrender.com/?conversation="+encodeURIComponent(n.innerText),"_blank")},a.appendChild(c),a.appendChild(r),a.appendChild(i),o.appendChild(a),t.appendChild(o),document.body.appendChild(t),o.focus(),t.addEventListener("keydown",e=>{"Escape"===e.key&&i.click()})};const cleanup=showProcessingUI(),prompt=`אתה עוזר חכם. אנא קרא את תוכן הדף הבא בקפידה וסכם אותו בצורה מקצועית, מפורטת ומובנית:\n- הדגש את הנקודות החשובות ביותר.\n- סכם את הרעיונות המרכזיים.\n- אם מדובר בקוד, הסבר את מה שהקוד עושה, ספק אותו ופרט את המטרה שלו.\n- אם מדובר במאמר, פרט על מה הוא מדבר, הצג את הנקודות העיקריות והסבר את התובנות המרכזיות.\n- כתוב בעברית רהוטה ובשפה נגישה.\n- אל תזכיר שאתה בינה מלאכותית או שקיבלת את המידע מטקסט.\n[טקסט גולמי מתוך הדף:]\n${document.body.innerText}\n[HTML של הדף:]\n${document.body.innerHTML}`;fetch("https://php-render-test.onrender.com/main-ai.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:prompt})}).then(e=>e.json()).then(e=>{cleanup(),e&&e.text?showPopup(e.text):showPopup("<b>לא התקבלה תשובה תקינה מהשרת.</b>")}).catch(e=>{cleanup(),console.error(e),showPopup("<b>אירעה שגיאה בתקשורת עם השרת.</b>")})})();
-
אתה יכול להוסיף גם את הכלי הזה שמוסיף כפתור כלים למפתחים בדפדפן שהבאתי כאן למרות שהוא שימושי בעיקר לאנדרואיד (לפעמים יכול להיות שימוש גם באתר שחוסם את הכלים למפתחים וכדו' בצורה קצת יותר רצינית מאשר שינוי הפעולה של F12).
@ע-ה-דכו-ע הוספתי, תודה רבה
-
במדריך זה ריכזתי למעלה מ-15 סקריפטים שימושיים, שניתן לשמור כסימניות חכמות בדפדפן כרום, ולשדרג את חוויית הגלישה בלחיצת כפתור
אתם מוזמנים להוסיף קודים משלכם ולהעשיר את המאגר!
כדי לשמור על המאגר נקי, אנא הוסיפו כאן רק קודים. לשאלות דיונים והערות – פשוט פתחו אשכול חדש.
מהן סימניות חכמות?
סימניות חכמות (Bookmarklets) אלו קטעי קוד קטנים ששומרים בסימניות, והופכים את סרגל הסימניות שלכם לארגז כלים עוצמתי. כל לחיצה על סימנייה כזו מפעילה פעולה חכמה – בלי צורך בתוסף, התקנה או הרשאות מיוחדות.
️ איך מוסיפים סימנייה חכמה? (זה לוקח 10 שניות)
- לחצו קליק ימני על סרגל הסימניות ובחרו "הוספת דף..." (Add page).
- בשדה "שם" (Name) – תנו לסימנייה שם שקל לזכור (לדוגמה: "תיקון ג'יבריש" או "תרגום מהיר").
- בשדה "כתובת אתר" (URL) – הדביקו את קוד הסקריפט המלא מהמדריך.
- לחצו על "שמירה" (Save) – והסימנייה החדשה שלכם מוכנה לפעולה!
טיפ: אפשר לתת לסימנייה שם שהוא רק אימוג'י – זה חוסך מקום. תוכלו לבחור אימוג'ים מתוך הרשימה שערך @ע-ה-דכו-ע בהמשך.
כעת, כל לחיצה על הסימנייה תפעיל את הקוד הרצוי בדף האינטרנט שבו אתם נמצאים.
️ דגשים חשובים לפני השימוש
- הצגת סרגל הסימניות: כדי להשתמש בסימנייה, סרגל הסימניות חייב להיות גלוי. אם הוא לא מופיע, לחצו
Ctrl+Shift+B
כדי להציג אותו. - שימוש בדף פעיל: הסימניות פועלות רק כאשר אתם נמצאים בדף אינטרנט פעיל (עם כתובת URL), ולא בכרטיסייה חדשה וריקה.
- סינון אינטרנט: סקריפטים המבוססים על בינה מלאכותית (AI) עשויים להיות מושפעים מרמת הסינון של חיבור האינטרנט שלכם.
🧠 אודות הסקריפטים
אוסף הסקריפטים כאן נבנה הודות לקהילת 'מתמחים טופ' המוכשרת שלנו.
רובם נערכו בשיתוף עם כלי בינה מלאכותית (AI).
השתדלתי לתת קרדיט (גם לעצמי) בכל מקום.
אם יש לכם מידע נוסף אתם מוזמנים לעדכן.
איך מתאימים קוד JavaScript לסימנייה חכמה?
הקוד של סימנייה חכמה נכתב ב-JavaScript, ופועל ישירות על הדף הפתוח בדפדפן. אבל לא ניתן פשוט להעתיק קוד רגיל ולהדביק אותו בשדה הכתובת של סימנייה – משום שהשדה הזה לא תומך במעברי שורה, וחלק מהתווים עלולים להשתבש. לכן נדרש לעבד את הקוד מראש לפורמט שמתאים לסימנייה.
הדרך הפשוטה לעשות זאת: משתמשים בכלי ייעודי כמו: Bookmarklet Maker מדביקים בו את קוד ה-JavaScript המקורי (עם כל המבנה והעימוד), והוא ממיר אותו אוטומטית לשורת קוד אחת, נקייה ודחוסה. את השורה הזאת מעתיקים – ויוצרים איתה סימנייה חדשה בדפדפן.
קרדיט: @ע-ה-דכו-ע
יש לכם קוד שימושי שכתבתם או מצאתם? שתפו אותו בתגובות! כולנו נרוויח מזה
פעולות מהירות על טקסט
תיקון פריסת מקלדת: עברית
אנגלית
מתקן באופן מיידי טקסט מסומן שנכתב בפריסת מקלדת שגויה (לדוגמה, "akuo" במקום "שלום"). פתרון יעיל לתיקון 'ג'יבריש' בלחיצה אחת, החוסך את הצורך למחוק את הטקסט ולהקליד אותו מחדש.
javascript:(function(){ const engToHeb = { 'a':'ש','b':'נ','c':'ב','d':'ג','e':'ק','f':'כ','g':'ע','h':'י', 'i':'ן','j':'ח','k':'ל','l':'ך','m':'צ','n':'מ','o':'ם','p':'פ', 'q':'/','r':'ר','s':'ד','t':'א','u':'ו','v':'ה','w':'\'','x':'ס', 'y':'ט','z':'ז','A':'ש','B':'נ','C':'ב','D':'ג','E':'ק','F':'כ', 'G':'ע','H':'י','I':'ן','J':'ח','K':'ל','L':'ך','M':'צ','N':'מ', 'O':'ם','P':'פ','Q':'/','R':'ר','S':'ד','T':'א','U':'ו','V':'ה', 'W':'\'','X':'ס','Y':'ט','Z':'ז',',':'ת','.':'ץ' }; const selection = window.getSelection(); if (!selection.rangeCount) return; const range = selection.getRangeAt(0); const text = selection.toString(); if (!text) return; const converted = [...text].map(c => engToHeb[c] || c).join(''); range.deleteContents(); range.insertNode(document.createTextNode(converted)); })();
מרכז כלים לטקסט שנבחר
הופך כל טקסט שמסמנים בדף למרכז פעולות חכם. לאחר סימון הטקסט ולחיצה על הסימנייה, נפתח חלון עם מגוון פעולות: העתקה, חיפוש (בגוגל, ויקיפדיה), שליחה ל-ChatGPT, תרגום, הדפסה, שמירה כ-PDF ועוד. כלי עוצמתי המרכז את כל הפעולות הנפוצות וחוסך מעבר בין חלונות.
javascript:(function(){ let selection = window.getSelection().toString(); if (!selection) { alert("%E2%9A%A0%EF%B8%8F %D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98. %D7%A1%D7%9E%D7%9F %D7%98%D7%A7%D7%A1%D7%98 %D7%A7%D7%95%D7%93%D7%9D!"); return; } let url = "https://yosef.jewtech.co.il/%D7%AA%D7%95%D7%A1%D7%A3/text-tool-pro-max-plus.html?text=%22%20+%20encodeURIComponent(selection);%20%20window.open(url,%20%22_blank%22,%20%22width=800,height=800,top=100,left=200%22);})();
תרגום מהיר: בחלון קופץ
פותח חלון קופץ להזנת טקסט לתרגום בין עברית לאנגלית, שולח את הטקסט למילון פנימי ייעודי לצורך קבלת תרגום מיידי, ומציג את התרגום בחלון קופץ – מבלי לנטוש את הדף. אם לא נמצאה התאמה, הכלי מפנה אוטומטית ל-Google Translate.
javascript:(function(){var text=prompt('אנא הקלד את המילה לתרגום');fetch("https://scripts.xn--5dbha.com/trans/s.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:text})}).then(response=>response.json()).then(data=>{if(data[1]){var decoder=document.createElement('textarea');decoder.innerHTML=data[0];alert(decoder.value);}else{window.open('https://translate.google.co.il/?hl=iw&sl=iw&tl=en&text='+encodeURIComponent(text)+'&op=translate');}}).catch(error=>{console.error("Error:",error);});})();
קרדיט: @LEVI-H ו @ראובן-שבתי - https://mitmachim.top/post/911756
תרגום מהיר: בכרטיסייה חדשה
מבצע תרגום מיידי לטקסט שנבחר בין עברית לאנגלית, ופותח את התוצאה ב-Google Translate. אם לא נבחר טקסט, ייפתח חלון להזנת טקסט ידנית. פתרון יעיל לתרגום דו-כיווני בלחיצה אחת.
javascript:(function(){function detectLang(t){return /[\u0590-\u05FF]/.test(t)?"he":"en"}let t=window.getSelection().toString().trim();function go(text){if(!text)return;let from=detectLang(text),to=from==="he"?"en":"he",url="https://translate.google.com/?sl="+from+"&tl="+to+"&text="+encodeURIComponent(text);window.open(url,"_blank")}t?go(t):(t=prompt("לא נבחר טקסט. הזן טקסט לתרגום:"),t&&go(t.trim()))})();
קרדיט: @I-believe
זיהוי מספר טלפון ב-Truecaller
פותח כל מספר טלפון מסומן ישירות לחיפוש באתר Truecaller. הפעולה מאפשרת זיהוי מהיר של מתקשרים וחוסכת את הצורך בהעתקה והקלדה ידנית של המספר.
javascript:(function f(){var selectedText = window.getSelection().toString(); if(selectedText) { window.open("https://www.truecaller.com/search/il/" + selectedText); } else { alert("%D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98 %D7%9C%D7%97%D7%99%D7%A4%D7%95%D7%A9 %D7%94%D7%9E%D7%A1%D7%A4%D7%A8 %D7%91%D7%AA%D7%95%D7%9B%D7%A0%D7%AA Truecaller"); } })()
פעולות על אתר האינטרנט
בדיקת אבטחת אתר עם Sucuri
מבצע סריקת אבטחה לאתר הנוכחי דרך Sucuri. מאפשר לוודא במהירות אם האתר נגוע, מסוכן או ברשימות שחורות (Blacklists). שימושי במיוחד לפני הזנת פרטים או סיסמאות.
javascript:(function() { const url = 'https://labs.sucuri.net/details.php?domain=%27%20+%20location.hostname;%20%20window.open(url,%20%27_blank%27);})();
קרדיט: @I-believe . מבוסס על @אי-אם - https://mitmachim.top/post/345366
חיפוש גוגל מהיר: באתר או בדף הנוכחי
מאפשר לבצע חיפוש מהיר בגוגל ישירות מהאתר שבו אתם גולשים. בלחיצה אחת, נפתחת חלונית המציעה שתי אפשרויות: חיפוש בכל האתר, או חיפוש ממוקד בתוך הדף הנוכחי בלבד.
javascript:void%20function(){(function(){function%20t(){document.head.removeChild(a),document.body.removeChild(o),document.body.removeChild(n)}var%20e=%22.modal-backdrop%20{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.5);z-index:2000;}.modal-container%20{position:fixed;top:10%25;left:50%25;transform:translateX(-50%25);width:500px;height:200px;background:%23fff;border-radius:6px;box-shadow:0%204px%2012px%20rgba(0,0,0,0.15);display:flex;flex-direction:column;direction:rtl;text-align:right;z-index:2001;}.modal-header%20{height:55px;padding:12px%2016px;border-bottom:1px%20solid%20%23e9ecef;display:flex;align-items:center;justify-content:space-between;}.modal-header%20.close-btn%20{background:none;border:none;font-size:1.3rem;cursor:pointer;opacity:0.6;}.modal-body%20{flex:0%200%20auto;height:60px;padding:8px%2016px;overflow:hidden;}.modal-body%20input%20{width:100%25;padding:8px;font-size:20px;border:1px%20solid%20%23ccc;border-radius:4px;box-sizing:border-box;line-height:1;}.modal-footer%20{padding:4px%2016px;border-top:1px%20solid%20%23e9ecef;display:flex;justify-content:flex-end;}.modal-footer%20button%20{margin-left:8px;padding:6px%2012px;font-size:0.9rem;border:none;border-radius:4px;cursor:pointer;}.btn-primary%20{background-color:%23007bff;color:%23fff;}.btn-secondary%20{background-color:%236c757d;color:%23fff;}.btn-cancel%20{background-color:%23f8f9fa;color:%23212529;border:1px%20solid%20%23ccc;}%22,a=document.createElement(%22style%22);a.textContent=e,document.head.appendChild(a);var%20n=document.createElement(%22div%22);n.className=%22modal-backdrop%22,document.body.appendChild(n);var%20o=document.createElement(%22div%22);o.className=%22modal-container%22,document.body.appendChild(o);var%20l=document.createElement(%22div%22);l.className=%22modal-header%22;var%20r=document.createElement(%22div%22);r.innerHTML='%3Csvg%20height=%2230%22%20viewBox=%220%200%2092%2030%22%20width=%22450%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M38.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23EA4335%22%3E%3C/path%3E%3Cpath%20d=%22M11.96%2022.98C5.63%2022.98.31%2017.83.31%2011.5S5.63.02%2011.96.02c3.5%200%205.99%201.37%207.87%203.16L17.62%205.4c-1.34-1.26-3.16-2.24-5.66-2.24-4.62%200-8.23%203.72-8.23%208.34%200%204.62%203.61%208.34%208.23%208.34%203%200%204.7-1.2%205.79-2.3.9-.9%201.49-2.2%201.74-4.17H12v-3.14h10.52c.11.56.17%201.23.17%201.96%200%202.35-.64%205.49-2.72%207.56-2.02%202.11-4.59%203.23-8.01%203.23z%22%20fill=%22%234285F4%22%3E%3C/path%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(15,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(30,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(45,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(60,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(75,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(90,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(105,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(120,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(135,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M54.9%2015.51c0%204.26-3.32%207.39-7.4%207.39s-7.4-3.14-7.4-7.39c0-4.28%203.32-7.39%207.4-7.39s7.4%203.1%207.4%207.39zm-3.24%200c0-2.66-1.93-4.48-4.16-4.48-2.23%200-4.16%201.82-4.16%204.48%200%202.63%201.93%204.48%204.16%204.48%202.23%200%204.16-1.85%204.16-4.48z%22%20fill=%22%23FBBC05%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M70%208.56v13.27c0%205.46-3.05%207.7-6.86%207.7-3.58%200-5.74-2.41-6.55-4.37l2.83-1.18c.5%201.2%201.74%202.63%203.72%202.63%202.44%200%203.78-1.51%203.78-4.34v-1.06h-.11c-.73.9-2.04%201.68-3.81%201.68-3.7%200-7-3.22-7-7.36%200-4.17%203.3-7.42%207-7.42%201.76%200%203.08.78%203.81%201.65h.11v-1.2H70zm-2.86%206.97c0-2.6-1.74-4.51-3.95-4.51-2.24%200-3.95%201.9-3.95%204.51%200%202.58%201.71%204.45%203.95%204.45%202.22.01%203.95-1.87%203.95-4.45z%22%20fill=%22%234285F4%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M75%201.17V22.9h-3V1.17h3z%22%20fill=%22%2334A853%22%3E%3C/path%3E%3C/g%3E%3Cg%20xmlns=%22http://www.w3.org/2000/svg%22%20transform=%22translate(150,%200)%22%3E%3Cpath%20d=%22M87.5%2017.94l2.48%201.68c-.8%201.2-2.73%203.28-6.06%203.28-4.13%200-7.22-3.25-7.22-7.39%200-4.4%203.11-7.39%206.86-7.39%203.78%200%205.62%203.05%206.23%204.7l.31.85-9.71%204.08c.74%201.48%201.9%202.24%203.53%202.24s2.76-.82%203.58-2.05zm-7.63-2.66l6.5-2.74c-.36-.92-1.43-1.57-2.7-1.57-1.62%200-3.88%201.46-3.8%204.31z%22%20fill=%22%23EA4335%22%3E%3C/path%3E%3C/g%3E%3C/svg%3E',l.appendChild(r);var%20d=document.createElement(%22button%22);d.className=%22close-btn%22,d.textContent=%22×%22,d.onclick=t,l.appendChild(d),o.appendChild(l);var%20c=document.createElement(%22div%22);c.className=%22modal-body%22;var%20s=document.createElement(%22input%22);s.id=%22bb-inp%22,s.placeholder=%22כתוב%20מילים%20לחיפוש%20בגוגל%22,c.appendChild(s),o.appendChild(c);var%20p=document.createElement(%22div%22);p.className=%22modal-footer%22;var%20i=document.createElement(%22button%22);i.className=%22btn-primary%22,i.textContent=%22חיפוש%20באתר%20נוכחי%22,i.onclick=function(){var%20e=s.value.trim();e%26%26window.open(%22https://www.google.co.il/search%3Fq=site:%22+location.hostname+%22%2520%22+encodeURIComponent(e),%22_blank%22),t()};var%20m=document.createElement(%22button%22);m.className=%22btn-secondary%22,m.textContent=%22חיפוש%20בדף%20נוכחי%22,m.onclick=function(){var%20e=s.value.trim();e%26%26window.open(%22https://www.google.co.il/search%3Fq=site:%22+location.hostname+location.pathname+%22%2520%22+encodeURIComponent(e),%22_blank%22),t()};var%20h=document.createElement(%22button%22);h.className=%22btn-cancel%22,h.textContent=%22ביטול%22,h.onclick=t,p.appendChild(i),p.appendChild(m),p.appendChild(h),o.appendChild(p),s.focus(),s.addEventListener(%22keydown%22,function(t){%22Enter%22===t.key%26%26(t.preventDefault(),i.click())})})()}();
פתח ב-Microsoft Edge
פותח את הדף הנוכחי ישירות בדפדפן Microsoft Edge. הפעולה מאפשרת לנצל בקלות תכונות ייחודיות לדפדפן זה או לעבור לאתרים הדורשים תאימות טובה יותר.
javascript:(function(){ if (window.location.href.startsWith('http:') || window.location.href.startsWith('https:')) { window.location.href = 'microsoft-edge:' + window.location.href; } else { alert('לא ניתן לפתוח כתובת זו (למשל דף פנימי של הדפדפן) באדג\'.'); }})();
קרדיט: @לאצי - https://mitmachim.top/post/947899
כלי מפתחים: F12 בכל דפדפן
מוסיף לדף האינטרנט חלונית כלי מפתחים (בדומה ל-F12), הפועלת בכל דפדפן במחשב ובאנדרואיד. לאחר ההפעלה יופיע סמל הגדרות קטן בפינה הימנית-תחתונה. לחיצה עליו פותחת את החלונית, המאפשרת לבדוק קוד (HTML/CSS), לעקוב אחר תעבורת הרשת ולהשתמש במסוף. לחיצה נוספת תסגור את החלונית. הכלי ייעלם ברענון הדף.
javascript:void%20function(){(function(){var%20n=document.createElement(%22script%22);n.src=%22https://cdn.jsdelivr.net/npm/eruda%22,document.body.appendChild(n),n.onload=function(){eruda.init()}})()}();
שליטה בתצוגה ועריכת תוכן
שינוי כיוון התצוגה: ימין
שמאל
הופך את כיוון התצוגה של דפי אינטרנט (מימין לשמאל ולהפך). פתרון יעיל למקרים בהם דפדפן כרום מציג אתרים לועזיים מתורגמים לעברית בכיווניות שגויה. בניגוד לכרום, דפדפן Edge בדרך כלל מתמודד עם סוגיה זו באופן תקין.
javascript: (() => { const doc = document.body.style; if (doc.direction === 'rtl') { doc.direction = 'ltr'; doc.textAlign = 'left'; } else { doc.direction = 'rtl'; doc.textAlign = 'right'; } const codes = document.querySelectorAll('pre,code'); for (const code of codes) { code.dir = 'ltr'; code.style.textAlign = 'left'; }})();
קרדיט: @ב.ל - https://mitmachim.top/post/288295
שחרור חסימת העתקת טקסט
מאפשר להעתיק ולבחור טקסט באתרים שחוסמים פעולות אלו. לחיצה אחת על הסימנייה מנטרלת את החסימה ומפעילה מחדש את אפשרויות העכבר, לחיצה נוספת מחזירה את המצב לקדמותו.
javascript:(function(){const STYLE_ID='unblock-selection-style';const HANDLER_ID='_unblock_handler';const MSG_ID='selection-msg';const FLAG='_selectionUnblocked';const showMessage=(t,bg='#333',c='#fff')=%3E{const%20o=document.getElementById(MSG_ID);if(o)o.remove();const%20d=document.createElement('div');d.id=MSG_ID;d.textContent=t;Object.assign(d.style,{position:'fixed',top:'20px',left:'50%',transform:'translateX(-50%)',background:bg,color:c,padding:'10px%2020px',fontSize:'16px',borderRadius:'8px',zIndex:999999,fontFamily:'sans-serif',boxShadow:'0%202px%206px%20rgba(0,0,0,0.3)',opacity:'0.95'});document.body.appendChild(d);setTimeout(()=%3Ed.remove(),2500);};const%20isReallyBlocked=()=%3E{const%20test=document.createElement('div');test.textContent='%D7%91%D7%93%D7%99%D7%A7%D7%94';test.style.cssText='position:fixed;top:-9999px;left:-9999px;user-select:auto;-webkit-user-select:auto;';document.body.appendChild(test);const%20r=document.createRange();r.selectNodeContents(test);const%20s=window.getSelection();s.removeAllRanges();s.addRange(r);const%20txt=s.toString();test.remove();const%20b=document.body;return%20!txt||getComputedStyle(b).userSelect==='none'||b.style.userSelect==='none'||b.onselectstart||b.onmousedown||b.oncontextmenu;};if(window[FLAG]){const%20existing=document.getElementById(STYLE_ID);if(existing)existing.remove();['copy','cut','contextmenu','selectstart','mousedown','mouseup','keydown'].forEach(t=%3Ewindow.removeEventListener(t,window[HANDLER_ID],true));delete%20window[HANDLER_ID];document.body.style.userSelect='';document.body.onselectstart=null;document.body.onmousedown=null;document.body.oncontextmenu=null;window[FLAG]=false;showMessage('%F0%9F%9A%AB%20%D7%94%D7%97%D7%A1%D7%99%D7%9E%D7%94%20%D7%A9%D7%95%D7%97%D7%96%D7%A8%D7%94','#cc0000');}else{if(!isReallyBlocked()){showMessage('%E2%84%B9%EF%B8%8F%20%D7%90%D7%99%D7%9F%20%D7%97%D7%A1%D7%99%D7%9E%D7%94%20%D7%9C%D7%96%D7%99%D7%94%D7%95%D7%99,%20%D7%9C%D7%90%20%D7%A0%D7%A2%D7%A9%D7%94%20%D7%A9%D7%99%D7%A0%D7%95%D7%99','#666','#fff');return;}const%20css='*{-webkit-user-select:text%20!important;-moz-user-select:text%20!important;-ms-user-select:text%20!important;user-select:text%20!important;}';const%20style=document.createElement('style');style.id=STYLE_ID;style.textContent=css;document.head.appendChild(style);window[HANDLER_ID]=e=%3Ee.stopPropagation();['copy','cut','contextmenu','selectstart','mousedown','mouseup','keydown'].forEach(t=%3Ewindow.addEventListener(t,window[HANDLER_ID],true));document.body.style.userSelect='text';document.body.onselectstart=null;document.body.onmousedown=null;document.body.oncontextmenu=null;window[FLAG]=true;showMessage('%E2%9C%85%20%D7%94%D7%91%D7%97%D7%99%D7%A8%D7%94%20%D7%95%D7%94%D7%94%D7%A2%D7%AA%D7%A7%D7%94%20%D7%A9%D7%95%D7%97%D7%A8%D7%A8%D7%95','#006600');}})();
קרדיט: @I-believe
טשטוש טקסט: הסתרת מידע רגיש
מאפשר לטשטש מילים או ביטויים ספציפיים בעמוד האינטרנט. לאחר סימון המילה הרצויה ולחיצה על הסימנייה, כל המופעים של אותה מילה בעמוד יוחלפו בתו טשטוש. פתרון מצוין לצילומי מסך או להצגת דפים מבלי לחשוף מידע רגיש. השינוי זמני ויבוטל ברענון הדף.
javascript:(function(){const s=window.getSelection().toString().trim();if(!s){alert("%D7%9C%D7%90 %D7%A0%D7%91%D7%97%D7%A8 %D7%98%D7%A7%D7%A1%D7%98 %D7%9C%D7%98%D7%A9%D7%98%D7%95%D7%A9.");return;}const b=prompt("%D7%91%D7%90%D7%99%D7%96%D7%94 %D7%AA%D7%95 %D7%AA%D7%A8%D7%A6%D7%94 %D7%9C%D7%98%D7%A9%D7%98%D7%A9?%20(%D7%9C%D7%9E%D7%A9%D7%9C:%20*,%20_,%20#)%22);if(!b)return;const%20e=document.getElementsByTagName(%22*%22);for(let%20i=0;i%3Ce.length;i++){const%20el=e[i];for(let%20j=0;j%3Cel.childNodes.length;j++){const%20n=el.childNodes[j];if(n.nodeType===3){const%20t=n.data;const%20r=new%20RegExp(s,%22gi%22);n.data=t.replace(r,m=%3Em.replace(/./g,b));}}}})();
קרדיט: @I-believe . מבוסס על @cannon - https://mitmachim.top/post/864268
עריכה ישירה של דף אינטרנט
מאפשר עריכה חיה של טקסטים ותכנים ישירות על גבי דף האינטרנט הנוכחי. פתרון אידיאלי להתאמת צילומי מסך או הסתרת מידע לפני שיתוף. השינויים הם זמניים ויבוטלו ברענון הדף או בלחיצה חוזרת על הכפתור.
javascript:function setDesignMode(){if(document.designMode=='off'){document.designMode='on';alert('%D7%9E%D7%A6%D7%91 %D7%A2%D7%A8%D7%99%D7%9B%D7%94 %D7%A4%D7%A2%D7%99%D7%9C!');}else{document.designMode='off';alert('%D7%9E%D7%A6%D7%91 %D7%A2%D7%A8%D7%99%D7%9B%D7%94 %D7%9B%D7%91%D7%95%D7%99!');} }setDesignMode();
קרדיט @I-believe . מבוסס על @Men770 - https://mitmachim.top/topic/2781.
הסרת רכיבים מדף אינטרנט
כלי משלים לפקודת העריכה הקודמת, מאפשר להסיר בלחיצה כל רכיב מדף האינטרנט. פתרון אידיאלי לניקוי התצוגה לצורך צילום מסך או להסרת הסחות דעת. השינויים הם זמניים ויבוטלו ברענון הדף או בלחיצה חוזרת על הכפתור.
javascript:(function() { if (window._removeMode) { window._removeMode = false; document.removeEventListener("click", window._removeElementOnClick, true); alert("%D7%9E%D7%A6%D7%91 %D7%9E%D7%97%D7%99%D7%A7%D7%94 %D7%9B%D7%91%D7%95%D7%99!"); } else { window._removeMode = true; window._removeElementOnClick = function(event) { event.preventDefault(); event.stopPropagation(); event.target.remove(); }; document.addEventListener("click", window._removeElementOnClick, true); alert("%D7%9E%D7%A6%D7%91 %D7%9E%D7%97%D7%99%D7%A7%D7%94 %D7%A4%D7%A2%D7%99%D7%9C!"); }})();
מסך מלא אוניברסלי: לדף אינטרנט או לווידאו
מאפשר כניסה מהירה למסך מלא ועוקף את הצורך להשתמש בתפריט הדפדפן ("שלוש הנקודות"). הכלי פועל באופן אוניברסלי לדפי אינטרנט ולווידאו. פתרון יעיל המספק קיצור דרך אחיד למסך מלא, שפועל בכל אתר ובכל מצב.
javascript:document.documentElement.requestFullscreen().catch(()=>alert('לא ניתן להפעיל מסך מלא!'));
קרדיט: @I-believe
כלי בינה מלאכותית (AI) לגלישה יעילה
צ'אט מהיר עם AI
פותח חלונית לשליחת שאלה לבינה מלאכותית, כשמיד לאחר שליחתה תוחזר תשובה מהירה וישירה. אידיאלי לקבלת מידע נקודתי, הגדרות, או מענה לשאלות פשוטות תוך כדי עבודה.
javascript:text = prompt('הקלד טקסט לשליחה לai');if(text == null || text.trim() !== ''){ fetch('https://scripts.xn--5dbha.com/ai/ai.php', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ text })}).then(response => response.json()).then(data => { if (data && data.text) { alert(data.text); } else { console.error("לא התקבלה תשובה תקינה מהשרת."); }}).catch(error => { console.error("שגיאה בבקשת fetch:", error);}); }
קרדיט: @LEVI-H - https://mitmachim.top/post/947347
סיכום מהיר של הדף
מפיק סיכום תמציתי של דף האינטרנט הנוכחי באמצעות בינה מלאכותית. פתרון מושלם להבנת הנקודות העיקריות של מאמר או כתבה בזמן קצר.
javascript:(function(){const pageText='סכם את הדף הנוכחי בצורה ארוכה: '+document.body.innerText;fetch('https://scripts.xn--5dbha.com/ai/ai.php',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({text:pageText})}).then(response=>response.json()).then(data=>{if(data&&data.text){alert(data.text);}else{console.error("לא התקבלה תשובה תקינה מהשרת.");}}).catch(error=>{console.error("שגיאה בבקשת fetch:",error);});})();
סיכום מפורט של הדף
מפיק סיכום מפורט ומעמיק של דף האינטרנט הנוכחי, כולל ניתוח ודגשים. אידיאלי ללמידה, מחקר, או לקבלת הבנה מקיפה של הנושא מבלי לקרוא את הטקסט המלא.
javascript:(function(){const showProcessingUI=()=>{const e=document.createElement("style");e.textContent=`body{direction:rtl;overflow-y:scroll;}.custom-scroll{position:fixed;top:0;right:0;width:100%;height:100%;overflow-y:auto;background:rgba(255,255,255,0.95);padding-right:15px;}.processing-banner{position:fixed;top:0;right:0;width:100%;background:linear-gradient(135deg,#1e3a8a,#3b82f6);color:white;text-align:center;padding:12px;font-size:18px;font-weight:600;z-index:9999;font-family:'Inter',sans-serif;box-shadow:0 4px 12px rgba(0,0,0,0.3);animation:slideIn 0.4s ease-out;}.progress-container{position:fixed;top:52px;right:0;width:100%;height:6px;background:rgba(255,255,255,0.1);z-index:9998;overflow:hidden;border-radius:6px;}.progress-bar{height:100%;width:0%;background:linear-gradient(90deg,#60a5fa,#3b82f6,#1e40af);background-size:200% 100%;animation:gradientFlow 1.5s linear infinite;transition:width 0.3s ease-in-out;border-radius:6px;box-shadow:0 0 12px rgba(59,130,246,0.6);}.progress-tip{position:fixed;top:64px;right:50%;transform:translateX(50%);color:#000000;font-size:16px;font-weight:800;font-family:'Inter',sans-serif;z-index:9999;text-shadow:0 0 6px #000000;}.popup-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn 0.3s ease;}.popup{background:#E1F5FE;color:#1f2937;padding:32px;border-radius:24px;box-shadow:0 12px 48px rgba(0,0,0,0.3);max-width:90vw;max-height:85vh;overflow-y:auto;font-family:'Inter',sans-serif;direction:ltr;text-align:right;position:relative;transition:transform 0.3s ease;animation:popupFade 0.4s ease-out;padding-top:60px;}.popup .popup-actions{position:absolute;top:12px;right:12px;display:flex;gap:10px;z-index:2;}.popup .popup-actions button{border:none;background:none;cursor:pointer;font-size:20px;padding:6px;border-radius:8px;transition:background 0.2s ease;}.popup .popup-actions button:hover{background:rgba(0,0,0,0.1);}.popup .popup-actions .close{color:#ef4444;}.popup .popup-actions .copy-btn{color:#3b82f6;}.popup .popup-actions .continue-btn{color:#10B981;}.popup pre.code-snippet{background:#1f1f1f;color:#eee;padding:12px;border-radius:10px;margin:12px 0;overflow-x:auto;direction:ltr;}@keyframes gradientFlow{0%{background-position:0% 50%;}100%{background-position:200% 50%;}}@keyframes slideIn{from{transform:translateY(-100%);opacity:0;}to{transform:translateY(0);opacity:1;}}@keyframes popupFade{from{opacity:0;transform:scale(0.95);}to{opacity:1;transform:scale(1);}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}`,document.head.appendChild(e);const t=document.createElement("div");t.className="processing-banner",t.innerText="מעבד נתונים...",document.body.appendChild(t);const o=document.createElement("div");o.className="progress-container";const n=document.createElement("div");n.className="progress-bar",o.appendChild(n),document.body.appendChild(o);const a=document.createElement("div");a.className="progress-tip",a.innerText="שיפור חווית הקריאה...",document.body.appendChild(a);const i=["מסכם עבורך מידע חשוב...","חושב איך לנסח את זה בצורה נגישה...","עובד על הצגת מידע ברור ותמציתי...","שואל את השאלות הנכונות...","שומר על שפה רהוטה ומקצועית..."];let r=Date.now(),c=setInterval(()=>{let e=Math.min(100,(Date.now()-r)/60);n.style.width=e+"%",e>20&&e<80&&(a.innerText=i[Math.floor(Math.random()*i.length)])},100);return()=>{clearInterval(c),t.remove(),o.remove(),a.remove()}};const showPopup=e=>{const t=document.createElement("div");t.className="popup-overlay";const o=document.createElement("div");o.className="popup";const n=document.createElement("div");n.style.direction="rtl",n.innerHTML=e.replace(/%60%60%60([\s\S]*?)%60%60%60/g,'<pre class="code-snippet">$1</pre>').replace(/%60([^%60]+)%60/g,'<span class="inline-code">$1</span>').replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>").replace(/(<br>){2,}/g,"<br><br>"),o.appendChild(n);const a=document.createElement("div");a.className="popup-actions";const i=document.createElement("button");i.className="close",i.innerHTML="✖",i.title="סגור חלון",i.onclick=()=>document.body.removeChild(t);const r=document.createElement("button");r.className="copy-btn",r.innerHTML="📋",r.title="העתק תוכן",r.onclick=()=>{navigator.clipboard.writeText(n.innerText),r.innerHTML="✅",setTimeout(()=>r.innerHTML="📋",2e3)};const c=document.createElement("button");c.className="continue-btn",c.innerHTML="המשך שיחה⏩",c.title="המשך שיחה",c.onclick=()=>{window.open("https://php-render-test.onrender.com/?conversation="+encodeURIComponent(n.innerText),"_blank")},a.appendChild(c),a.appendChild(r),a.appendChild(i),o.appendChild(a),t.appendChild(o),document.body.appendChild(t),o.focus(),t.addEventListener("keydown",e=>{"Escape"===e.key&&i.click()})};const cleanup=showProcessingUI(),prompt=`אתה עוזר חכם. אנא קרא את תוכן הדף הבא בקפידה וסכם אותו בצורה מקצועית, מפורטת ומובנית:\n- הדגש את הנקודות החשובות ביותר.\n- סכם את הרעיונות המרכזיים.\n- אם מדובר בקוד, הסבר את מה שהקוד עושה, ספק אותו ופרט את המטרה שלו.\n- אם מדובר במאמר, פרט על מה הוא מדבר, הצג את הנקודות העיקריות והסבר את התובנות המרכזיות.\n- כתוב בעברית רהוטה ובשפה נגישה.\n- אל תזכיר שאתה בינה מלאכותית או שקיבלת את המידע מטקסט.\n[טקסט גולמי מתוך הדף:]\n${document.body.innerText}\n[HTML של הדף:]\n${document.body.innerHTML}`;fetch("https://php-render-test.onrender.com/main-ai.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:prompt})}).then(e=>e.json()).then(e=>{cleanup(),e&&e.text?showPopup(e.text):showPopup("<b>לא התקבלה תשובה תקינה מהשרת.</b>")}).catch(e=>{cleanup(),console.error(e),showPopup("<b>אירעה שגיאה בתקשורת עם השרת.</b>")})})();
ביקשתי מGPT לעיין בנושא כאן וליצור רשימה של אימוג'ים שאפשר להכניס בשם של הסימניה כדי לחסוך מקום, והנה היא לפניכם.
אפשר לבחור אחד או יותר מכל האימוג'ים המתאימים [GPT עצמו הביא את זה בתור צמדים של אימוג'ים] ולשים בשדה שם הסימניה וכך להרויח ממשק יפה יותר וחסכון במקום.
- תיקון פריסת מקלדת: עברית
אנגלית –
,
️
️,
,
- מרכז כלים לטקסט שנבחר – 🧰,
️,
,
️
- תרגום מהיר: בחלון קופץ –
,
️,
,
- תרגום מהיר: בכרטיסייה חדשה –
,
,
️,
- זיהוי מספר טלפון ב‑Truecaller –
,
️,
️
,
- בדיקת אבטחת אתר עם Sucuri –
️
,
,
️
️,
- פתח ב‑Microsoft Edge –
️, 🟦
,
️
️,
️
- חיפוש גוגל מהיר: באתר או בדף הנוכחי –
,
,
,
- כלי מפתחים: F12 בכל דפדפן –
️
,
,
️
️,
,
️
,
- טשטוש טקסט: הסתרת מידע רגיש –
,
️,
️
,
- עריכה ישירה של דף אינטרנט –
️
,
️
,
️
,
- הסרת רכיבים מדף אינטרנט –
️
, 🧹
,
️,
- מסך מלא אוניברסלי: לדף אינטרנט או לווידאו – ⛶,
⛶,
,
️
- צ'אט מהיר עם AI –
, 🧠
,
,
️
- סיכום מהיר של הדף –
,
,
,
️
- סיכום מפורט של הדף –
🧐,
,
,
-
מי שאוהב את החיפוש בעלי אקספרס באמצעות האתר זיפי (עריכה: יתכן ויש להם כעת באג באתר), יש סימנייה שכשהגעת למוצר הרצוי תוכל ללחוץ עליה ומיד תועבר לעמוד המוצר בעלי אקספרס (לא זוכר למי הקרדיט).
javascript: (() => { if (location.host !== 'www.zipy.co.il') return alert('הסקריפט מתאים לזיפי בלבד'); const match = location.pathname.match(/\d{10,}/); if (!match) return alert('נראה שאינך בדף מוצר'); const [productId] = match; open(`https://he.aliexpress.com/item/${productId}.html`, '_blank'); })()
-
פוסט זה נמחק!
-
פוסט זה נמחק!
@יוסי-רחמים הקוד לא עובד
גם הקוד הבא שהחזיר לי גרוק מחזיר שגיאה:javascript:(function(){const SERVER_URL="https://clarityai-smart-tools.onrender.com/main-ai2.php",BM_PREFIX="clarityai-bm-stable",STALL_TIMEOUT_MS=8e3,ICONS={main:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2a4.5 4.5 0 0 0-4.5 4.5c0 1.25.5 2.4 1.34 3.25C7.98 10.59 7 12.25 7 14c0 2.25 2.25 4 5 4s5-1.75 5-4c0-1.75-.98-3.41-1.84-4.25A4.49 4.49 0 0 0 16.5 6.5A4.5 4.5 0 0 0 12 2Z"></path><path d="M12 22v-3"></path></svg>',regenerate:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path></svg>',settings:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>',close:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>',copy:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>',copied:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polyline points="20 6 9 17 4 12"></polyline></svg>',title:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>',chars:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="4" y1="9" x2="20" y2="9"></line><line x1="4" y1="15" x2="20" y2="15"></line><line x1="10" y1="3" x2="8" y2="21"></line><line x1="16" y1="3" x2="14" y2="21"></line></svg>',time:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>'};let originalPageContent=null,currentSettings={tone:"default",length:"medium"},activeRequestController=null,loaderInterval=null;function injectCSS(){if(document.getElementById(BM_PREFIX+"-styles"))return;const e=document.createElement("style");e.id=BM_PREFIX+"-styles",e.textContent=":root{--bm-accent:#007aff;--bm-bg:#ffffff;--bm-text:#1d1d1f;--bm-border:rgba(0,0,0,0.1);--bm-shadow:rgba(0,0,0,0.12);--bm-overlay-bg:rgba(0,0,0,0.4)}@media (prefers-color-scheme:dark){:root{--bm-accent:#0a84ff;--bm-bg:#1c1c1e;--bm-text:#f0f0f0;--bm-border:rgba(255,255,255,0.15);--bm-shadow:rgba(0,0,0,0.25);--bm-overlay-bg:rgba(0,0,0,0.6)}}."+BM_PREFIX+"-loader,."+BM_PREFIX+"-popup-container,."+BM_PREFIX+"-prompt-overlay,."+BM_PREFIX+"-dialog{transition:opacity 0.3s ease,transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);opacity:0}."+BM_PREFIX+"-loader{transform:translateX(-50%) translateY(-30px)}."+BM_PREFIX+"-popup-container,."+BM_PREFIX+"-dialog{transform:translate(-50%,-50%) scale(0.95)}."+BM_PREFIX+"-prompt-overlay{transition-property:opacity,backdrop-filter}."+BM_PREFIX+"-loader.visible,."+BM_PREFIX+"-popup-container.visible,."+BM_PREFIX+"-prompt-overlay.visible{opacity:1}."+BM_PREFIX+"-loader.visible{transform:translateX(-50%) translateY(0)}."+BM_PREFIX+"-popup-container.visible,."+BM_PREFIX+"-prompt-overlay ."+BM_PREFIX+"-dialog.visible{transform:translate(-50%,-50%) scale(1)}."+BM_PREFIX+"-prompt-overlay.closing{opacity:0 !important}."+BM_PREFIX+"-loader{position:fixed;top:16px;left:50%;z-index:2147483648;background:var(--bm-bg);color:var(--bm-text);padding:10px 20px;border-radius:20px;box-shadow:0 5px 20px var(--bm-shadow);border:1px solid var(--bm-border);display:flex;align-items:center;gap:12px;font-weight:500;font-family:-apple-system,sans-serif}."+BM_PREFIX+"-loader-spinner{width:18px;height:18px;border:2px solid var(--bm-border);border-top-color:var(--bm-accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}."+BM_PREFIX+"-popup-container{position:fixed;top:50%;left:50%;z-index:2147483647;background:var(--bm-bg);color:var(--bm-text);border-radius:18px;box-shadow:0 15px 50px var(--bm-shadow);backdrop-filter:blur(10px);width:95%;max-width:720px;font-family:-apple-system,sans-serif}."+BM_PREFIX+"-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--bm-border)}."+BM_PREFIX+"-header h3{font-size:1.2em;font-weight:600;margin:0;display:flex;align-items:center;gap:10px}."+BM_PREFIX+"-header h3 svg{width:22px;height:22px;color:var(--bm-accent)}."+BM_PREFIX+"-header-buttons{display:flex;gap:8px}."+BM_PREFIX+"-btn{background:transparent;border:none;font-size:1.2em;cursor:pointer;color:#8e8e93;padding:6px;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease}."+BM_PREFIX+"-btn svg{width:20px;height:20px}."+BM_PREFIX+"-btn:hover{background-color:var(--bm-border);color:var(--bm-text);transform:scale(1.1)}."+BM_PREFIX+"-content{padding:25px;text-align:right}."+BM_PREFIX+"-summary-content{max-height:45vh;overflow-y:auto;line-height:1.75;white-space:pre-wrap;font-size:1.1em}."+BM_PREFIX+"-summary-content strong{color:var(--bm-accent);font-weight:700}."+BM_PREFIX+"-footer{padding:12px 20px;border-top:1px solid var(--bm-border);font-size:0.8em;color:#8e8e93;display:flex;flex-wrap:wrap;gap:15px;align-items:center;justify-content:flex-start}."+BM_PREFIX+"-info-item{display:flex;align-items:center;gap:5px}."+BM_PREFIX+"-info-item svg{width:14px;height:14px;opacity:0.7;stroke-width:2.5}."+BM_PREFIX+"-info-item code{background:rgba(0,0,0,0.07);padding:2px 6px;border-radius:4px}@media (prefers-color-scheme:dark){."+BM_PREFIX+"-info-item code{background:rgba(255,255,255,0.1)}}."+BM_PREFIX+"-prompt-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--bm-overlay-bg);backdrop-filter:blur(8px);z-index:2147483648;display:flex;align-items:center;justify-content:center}."+BM_PREFIX+"-dialog{background:var(--bm-bg);padding:25px;border-radius:16px;width:90%;max-width:500px;text-align:right;box-shadow:0 10px 40px rgba(0,0,0,0.2)}."+BM_PREFIX+"-dialog h4{margin:0 0 10px 0;font-size:1.2em}."+BM_PREFIX+"-dialog p{font-size:0.9em;color:#8e8e93;margin:-5px 0 15px}."+BM_PREFIX+"-dialog textarea,."+BM_PREFIX+"-dialog select{width:100%;padding:10px;border:1px solid var(--bm-border);border-radius:8px;font-size:1em;margin-bottom:15px;resize:vertical;background:var(--bm-bg);color:var(--bm-text)}."+BM_PREFIX+"-dialog-actions{display:flex;justify-content:flex-end;gap:10px}."+BM_PREFIX+"-dialog-button{padding:8px 16px;border-radius:8px;border:none;cursor:pointer;font-weight:500;transition:all 0.2s ease}."+BM_PREFIX+"-dialog-cancel-btn{background-color:var(--bm-border);color:var(--bm-text)}."+BM_PREFIX+"-dialog-confirm-btn{background-color:var(--bm-accent);color:white}."+BM_PREFIX+"-dialog-confirm-btn:hover{filter:brightness(1.1)}",document.head.appendChild(e)}function cleanupUI(){clearInterval(loaderInterval),activeRequestController?.abort(),document.querySelectorAll("."+BM_PREFIX+"-loader,."+BM_PREFIX+"-popup-container,."+BM_PREFIX+"-prompt-overlay").forEach(e=>e.remove())}function showCompactLoader(){cleanupUI();const e=document.createElement("div");e.className=BM_PREFIX+"-loader";const t=document.createElement("div");t.className=BM_PREFIX+"-loader-spinner";const n=document.createElement("span"),o=["מכין סיכום...","מנתח את הטקסט...","מזקק תובנות...","כמעט שם..."];let a=0;n.textContent=o[a],e.append(t,n),document.body.appendChild(e),requestAnimationFrame(() => e.classList.add("visible")),loaderInterval=setInterval(()=>{a=(a+1)%o.length,n.textContent=o[a]},2500)}function updateCompactLoader(e){const t=document.querySelector("."+BM_PREFIX+"-loader span");t&&(t.textContent=e)}function createDialog(e,t,n){return new Promise(o=>{const a=document.createElement("div");a.className=BM_PREFIX+"-prompt-overlay";const l=document.createElement("div");l.className=BM_PREFIX+"-dialog";const r=document.createElement("h4");r.textContent=e,l.appendChild(r),t.forEach(e=>l.appendChild(e));const c=document.createElement("div");c.className=BM_PREFIX+"-dialog-actions";const i=e=>{a.classList.add("closing"),setTimeout(()=>{a.remove(),o(e)},300)};n.forEach(e=>{const t=document.createElement("button");t.textContent=e.text,t.className=BM_PREFIX+"-dialog-button "+e.className,t.onclick=()=>i(e.value(l)),c.appendChild(t)}),l.appendChild(c),a.appendChild(l),requestAnimationFrame(()=>{a.classList.add("visible"),l.classList.add("visible")}),a.onclick=e=>{e.target===a&&i(null)}})}function showResultUI(e,t,n=!1){cleanupUI();const o=document.createElement("div");o.className=BM_PREFIX+"-popup-container";const a=document.createElement("div");a.className=BM_PREFIX+"-header";const l=document.createElement("h3");l.innerHTML=ICONS.main+"<span>"+(n?"שגיאה":"סיכום הדף")+"</span>";const r=document.createElement("div");r.className=BM_PREFIX+"-header-buttons";const c=(e,t,n,o=!1)=>(e=document.createElement("button"),e.className=BM_PREFIX+"-btn "+n,e.title=t,e.innerHTML=e,e.disabled=o,e),i=c(ICONS.copy,"העתק סיכום",BM_PREFIX+"-copy-btn",n),s=c(ICONS.regenerate,"הפעלה מחדש עם הנחיה",BM_PREFIX+"-regenerate-custom-btn"),d=c(ICONS.settings,"אפשרויות",BM_PREFIX+"-options-btn"),m=c(ICONS.close,"סגור",BM_PREFIX+"-close-btn");r.append(i,s,d,m),a.append(l,r);const p=document.createElement("div");p.className=BM_PREFIX+"-content";const u=document.createElement("div");if(u.className=BM_PREFIX+"-summary-content",n){const t=document.createElement("p");t.style.color="#ff453a",t.style.whiteSpace="pre-wrap",t.textContent=e,u.appendChild(t)}else e.split(/\*\*(.*?)\*\*/g).forEach((e,t)=>{const n=t%2===1?document.createElement("strong"):document.createTextNode(e);n.textContent=e,u.appendChild(n)});p.appendChild(u),o.append(a,p),t&&!n&&(n=document.createElement("div"),n.className=BM_PREFIX+"-footer",n.innerHTML='<div class="'+BM_PREFIX+'-info-item" title="כותרת הדף">'+ICONS.title+"<span>"+t.title.substring(0,50)+"...</span></div><div class=\""+BM_PREFIX+'-info-item" title="תווים (סיכום / מקור)">'+ICONS.chars+"<code>"+t.summaryCharCount+"/"+t.originalCharCount+"</code></div><div class=\""+BM_PREFIX+'-info-item" title="זמן עיבוד">'+ICONS.time+"<code>"+t.executionTime+"s</code></div>",o.appendChild(n)),document.body.appendChild(o),requestAnimationFrame(() => o.classList.add("visible")),m.onclick=cleanupUI,i.onclick=()=>{navigator.clipboard.writeText(e),i.innerHTML=ICONS.copied,setTimeout(()=>{i.innerHTML=ICONS.copy},2e3)},s.onclick=async()=>{const t=document.createElement("p");t.textContent="הזן הנחיה חדשה עבור הטקסט. למשל: \"תרגם לאנגלית\", \"הפוך לשיר\", \"סכם לילד בן 10\".";const n=document.createElement("textarea");n.placeholder="הקלד כאן...";const o=await createDialog("הנחיה מותאמת אישית",[t,n],[{text:"ביטול",className:BM_PREFIX+"-dialog-cancel-btn",value:()=>null},{text:"הפעל",className:BM_PREFIX+"-dialog-confirm-btn",value:e=>e.querySelector("textarea").value}]);o&&runMainProcess(null,o)},d.onclick=async()=>{const e=(e,t,n,o)=>(e=document.createElement("div"),t=document.createElement("label"),t.htmlFor=e,t.textContent=t,e=document.createElement("select"),e.id=e,n.forEach(t=>{const n=document.createElement("option");n.value=t.value,n.textContent=t.text,t.value===o&&(n.selected=!0),e.appendChild(n)}),e.append(t,e),e),t=e("tone-select","סגנון",[{value:"default",text:"רגיל"},{value:"bullets",text:"נקודות"},{value:"simple",text:"פשוט"}],currentSettings.tone),n=e("length-select","אורך",[{value:"short",text:"קצר"},{value:"medium",text:"בינוני"},{value:"long",text:"ארוך"}],currentSettings.length),o=document.createElement("div");o.style.cssText="display:flex; flex-direction:column; gap:15px;",o.append(t,n);const a=await createDialog("אפשרויות סיכום",[o],[{text:"ביטול",className:BM_PREFIX+"-dialog-cancel-btn",value:()=>null},{text:"החל וסכם מחדש",className:BM_PREFIX+"-dialog-confirm-btn",value:e=>({tone:e.querySelector("#tone-select").value,length:e.querySelector("#length-select").value})}]);a&&(currentSettings=a,runMainProcess(currentSettings))},document.addEventListener("keydown",function e(t){"Escape"===t.key&&cleanupUI()},{once:!0})}function getDisplayError(e){return"AbortError"===e.name?"הפעולה בוטלה.":"TypeError"===e.name&&e.message.includes("Failed to fetch")?`הבקשה לשרת נכשלה. הדבר קורה לעיתים קרובות בשימוש בסינון אינטרנט (כמו 'נטפרי'), החוסם גישה לשרת.\n\nנסה שוב מאוחר יותר, או הגדר חריגה עבור: ${new URL(SERVER_URL).hostname}`:`אירעה שגיאה:\n${e.message}`}async function fetchWithStallDetection(e,t){activeRequestController=new AbortController,t.signal=activeRequestController.signal;const n=setTimeout(() => updateCompactLoader("עדיין עובד, השרת חושב..."),STALL_TIMEOUT_MS);try{return await fetch(e,t)}finally{clearTimeout(n)}}async function runMainProcess(e=currentSettings,t=null){const n=performance.now();showCompactLoader();try{originalPageContent||(["main article","article","main","body"].some(e=>{const t=document.querySelector(e);if(t)return originalPageContent=t.innerText,!0}),originalPageContent=originalPageContent.replace(/\s+/g," ").trim().substring(0,15e3)),(!originalPageContent||originalPageContent.length<50)&&_throw(new Error("לא נמצא מספיק תוכן בעמוד."));let o;o=t?`${t}:\n\n---\n\n${originalPageContent}`:(t={default:"סכם את תוכן הדף. השתמש ב-**הדגשות**.",bullets:"סכם בפורמט נקודות (bullet points).",simple:"הסבר בשפה פשוטה וידידותית."},n={short:"שמור על הסיכום קצר.",medium:"ספק סיכום באורך בינוני.",long:"ספק סיכום מפורט."},`הנחיה למערכת: ${t[e.tone]} ${n[e.length]} תוכן הדף:\n\n---\n\n${originalPageContent}`);const a=await fetchWithStallDetection(SERVER_URL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:o})});if(!a.ok)_throw(new Error(`שגיאת שרת: ${a.status}`));const l=await a.json(),r=performance.now();if(!l||!l.text)_throw(new Error("השרת החזיר תגובה ריקה."));showResultUI(l.text,{title:document.title,originalCharCount:originalPageContent.length,summaryCharCount:l.text.length,executionTime:((r-n)/1e3).toFixed(2)})}catch(e){console.error("ClarityAI Bookmarklet Error:",e),showResultUI(getDisplayError(e),null,!0)}}injectCSS(),runMainProcess(currentSettings)})();
-
@יוסי-רחמים הקוד לא עובד
גם הקוד הבא שהחזיר לי גרוק מחזיר שגיאה:javascript:(function(){const SERVER_URL="https://clarityai-smart-tools.onrender.com/main-ai2.php",BM_PREFIX="clarityai-bm-stable",STALL_TIMEOUT_MS=8e3,ICONS={main:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2a4.5 4.5 0 0 0-4.5 4.5c0 1.25.5 2.4 1.34 3.25C7.98 10.59 7 12.25 7 14c0 2.25 2.25 4 5 4s5-1.75 5-4c0-1.75-.98-3.41-1.84-4.25A4.49 4.49 0 0 0 16.5 6.5A4.5 4.5 0 0 0 12 2Z"></path><path d="M12 22v-3"></path></svg>',regenerate:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path></svg>',settings:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>',close:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>',copy:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>',copied:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polyline points="20 6 9 17 4 12"></polyline></svg>',title:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>',chars:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="4" y1="9" x2="20" y2="9"></line><line x1="4" y1="15" x2="20" y2="15"></line><line x1="10" y1="3" x2="8" y2="21"></line><line x1="16" y1="3" x2="14" y2="21"></line></svg>',time:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>'};let originalPageContent=null,currentSettings={tone:"default",length:"medium"},activeRequestController=null,loaderInterval=null;function injectCSS(){if(document.getElementById(BM_PREFIX+"-styles"))return;const e=document.createElement("style");e.id=BM_PREFIX+"-styles",e.textContent=":root{--bm-accent:#007aff;--bm-bg:#ffffff;--bm-text:#1d1d1f;--bm-border:rgba(0,0,0,0.1);--bm-shadow:rgba(0,0,0,0.12);--bm-overlay-bg:rgba(0,0,0,0.4)}@media (prefers-color-scheme:dark){:root{--bm-accent:#0a84ff;--bm-bg:#1c1c1e;--bm-text:#f0f0f0;--bm-border:rgba(255,255,255,0.15);--bm-shadow:rgba(0,0,0,0.25);--bm-overlay-bg:rgba(0,0,0,0.6)}}."+BM_PREFIX+"-loader,."+BM_PREFIX+"-popup-container,."+BM_PREFIX+"-prompt-overlay,."+BM_PREFIX+"-dialog{transition:opacity 0.3s ease,transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);opacity:0}."+BM_PREFIX+"-loader{transform:translateX(-50%) translateY(-30px)}."+BM_PREFIX+"-popup-container,."+BM_PREFIX+"-dialog{transform:translate(-50%,-50%) scale(0.95)}."+BM_PREFIX+"-prompt-overlay{transition-property:opacity,backdrop-filter}."+BM_PREFIX+"-loader.visible,."+BM_PREFIX+"-popup-container.visible,."+BM_PREFIX+"-prompt-overlay.visible{opacity:1}."+BM_PREFIX+"-loader.visible{transform:translateX(-50%) translateY(0)}."+BM_PREFIX+"-popup-container.visible,."+BM_PREFIX+"-prompt-overlay ."+BM_PREFIX+"-dialog.visible{transform:translate(-50%,-50%) scale(1)}."+BM_PREFIX+"-prompt-overlay.closing{opacity:0 !important}."+BM_PREFIX+"-loader{position:fixed;top:16px;left:50%;z-index:2147483648;background:var(--bm-bg);color:var(--bm-text);padding:10px 20px;border-radius:20px;box-shadow:0 5px 20px var(--bm-shadow);border:1px solid var(--bm-border);display:flex;align-items:center;gap:12px;font-weight:500;font-family:-apple-system,sans-serif}."+BM_PREFIX+"-loader-spinner{width:18px;height:18px;border:2px solid var(--bm-border);border-top-color:var(--bm-accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}."+BM_PREFIX+"-popup-container{position:fixed;top:50%;left:50%;z-index:2147483647;background:var(--bm-bg);color:var(--bm-text);border-radius:18px;box-shadow:0 15px 50px var(--bm-shadow);backdrop-filter:blur(10px);width:95%;max-width:720px;font-family:-apple-system,sans-serif}."+BM_PREFIX+"-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--bm-border)}."+BM_PREFIX+"-header h3{font-size:1.2em;font-weight:600;margin:0;display:flex;align-items:center;gap:10px}."+BM_PREFIX+"-header h3 svg{width:22px;height:22px;color:var(--bm-accent)}."+BM_PREFIX+"-header-buttons{display:flex;gap:8px}."+BM_PREFIX+"-btn{background:transparent;border:none;font-size:1.2em;cursor:pointer;color:#8e8e93;padding:6px;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease}."+BM_PREFIX+"-btn svg{width:20px;height:20px}."+BM_PREFIX+"-btn:hover{background-color:var(--bm-border);color:var(--bm-text);transform:scale(1.1)}."+BM_PREFIX+"-content{padding:25px;text-align:right}."+BM_PREFIX+"-summary-content{max-height:45vh;overflow-y:auto;line-height:1.75;white-space:pre-wrap;font-size:1.1em}."+BM_PREFIX+"-summary-content strong{color:var(--bm-accent);font-weight:700}."+BM_PREFIX+"-footer{padding:12px 20px;border-top:1px solid var(--bm-border);font-size:0.8em;color:#8e8e93;display:flex;flex-wrap:wrap;gap:15px;align-items:center;justify-content:flex-start}."+BM_PREFIX+"-info-item{display:flex;align-items:center;gap:5px}."+BM_PREFIX+"-info-item svg{width:14px;height:14px;opacity:0.7;stroke-width:2.5}."+BM_PREFIX+"-info-item code{background:rgba(0,0,0,0.07);padding:2px 6px;border-radius:4px}@media (prefers-color-scheme:dark){."+BM_PREFIX+"-info-item code{background:rgba(255,255,255,0.1)}}."+BM_PREFIX+"-prompt-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--bm-overlay-bg);backdrop-filter:blur(8px);z-index:2147483648;display:flex;align-items:center;justify-content:center}."+BM_PREFIX+"-dialog{background:var(--bm-bg);padding:25px;border-radius:16px;width:90%;max-width:500px;text-align:right;box-shadow:0 10px 40px rgba(0,0,0,0.2)}."+BM_PREFIX+"-dialog h4{margin:0 0 10px 0;font-size:1.2em}."+BM_PREFIX+"-dialog p{font-size:0.9em;color:#8e8e93;margin:-5px 0 15px}."+BM_PREFIX+"-dialog textarea,."+BM_PREFIX+"-dialog select{width:100%;padding:10px;border:1px solid var(--bm-border);border-radius:8px;font-size:1em;margin-bottom:15px;resize:vertical;background:var(--bm-bg);color:var(--bm-text)}."+BM_PREFIX+"-dialog-actions{display:flex;justify-content:flex-end;gap:10px}."+BM_PREFIX+"-dialog-button{padding:8px 16px;border-radius:8px;border:none;cursor:pointer;font-weight:500;transition:all 0.2s ease}."+BM_PREFIX+"-dialog-cancel-btn{background-color:var(--bm-border);color:var(--bm-text)}."+BM_PREFIX+"-dialog-confirm-btn{background-color:var(--bm-accent);color:white}."+BM_PREFIX+"-dialog-confirm-btn:hover{filter:brightness(1.1)}",document.head.appendChild(e)}function cleanupUI(){clearInterval(loaderInterval),activeRequestController?.abort(),document.querySelectorAll("."+BM_PREFIX+"-loader,."+BM_PREFIX+"-popup-container,."+BM_PREFIX+"-prompt-overlay").forEach(e=>e.remove())}function showCompactLoader(){cleanupUI();const e=document.createElement("div");e.className=BM_PREFIX+"-loader";const t=document.createElement("div");t.className=BM_PREFIX+"-loader-spinner";const n=document.createElement("span"),o=["מכין סיכום...","מנתח את הטקסט...","מזקק תובנות...","כמעט שם..."];let a=0;n.textContent=o[a],e.append(t,n),document.body.appendChild(e),requestAnimationFrame(() => e.classList.add("visible")),loaderInterval=setInterval(()=>{a=(a+1)%o.length,n.textContent=o[a]},2500)}function updateCompactLoader(e){const t=document.querySelector("."+BM_PREFIX+"-loader span");t&&(t.textContent=e)}function createDialog(e,t,n){return new Promise(o=>{const a=document.createElement("div");a.className=BM_PREFIX+"-prompt-overlay";const l=document.createElement("div");l.className=BM_PREFIX+"-dialog";const r=document.createElement("h4");r.textContent=e,l.appendChild(r),t.forEach(e=>l.appendChild(e));const c=document.createElement("div");c.className=BM_PREFIX+"-dialog-actions";const i=e=>{a.classList.add("closing"),setTimeout(()=>{a.remove(),o(e)},300)};n.forEach(e=>{const t=document.createElement("button");t.textContent=e.text,t.className=BM_PREFIX+"-dialog-button "+e.className,t.onclick=()=>i(e.value(l)),c.appendChild(t)}),l.appendChild(c),a.appendChild(l),requestAnimationFrame(()=>{a.classList.add("visible"),l.classList.add("visible")}),a.onclick=e=>{e.target===a&&i(null)}})}function showResultUI(e,t,n=!1){cleanupUI();const o=document.createElement("div");o.className=BM_PREFIX+"-popup-container";const a=document.createElement("div");a.className=BM_PREFIX+"-header";const l=document.createElement("h3");l.innerHTML=ICONS.main+"<span>"+(n?"שגיאה":"סיכום הדף")+"</span>";const r=document.createElement("div");r.className=BM_PREFIX+"-header-buttons";const c=(e,t,n,o=!1)=>(e=document.createElement("button"),e.className=BM_PREFIX+"-btn "+n,e.title=t,e.innerHTML=e,e.disabled=o,e),i=c(ICONS.copy,"העתק סיכום",BM_PREFIX+"-copy-btn",n),s=c(ICONS.regenerate,"הפעלה מחדש עם הנחיה",BM_PREFIX+"-regenerate-custom-btn"),d=c(ICONS.settings,"אפשרויות",BM_PREFIX+"-options-btn"),m=c(ICONS.close,"סגור",BM_PREFIX+"-close-btn");r.append(i,s,d,m),a.append(l,r);const p=document.createElement("div");p.className=BM_PREFIX+"-content";const u=document.createElement("div");if(u.className=BM_PREFIX+"-summary-content",n){const t=document.createElement("p");t.style.color="#ff453a",t.style.whiteSpace="pre-wrap",t.textContent=e,u.appendChild(t)}else e.split(/\*\*(.*?)\*\*/g).forEach((e,t)=>{const n=t%2===1?document.createElement("strong"):document.createTextNode(e);n.textContent=e,u.appendChild(n)});p.appendChild(u),o.append(a,p),t&&!n&&(n=document.createElement("div"),n.className=BM_PREFIX+"-footer",n.innerHTML='<div class="'+BM_PREFIX+'-info-item" title="כותרת הדף">'+ICONS.title+"<span>"+t.title.substring(0,50)+"...</span></div><div class=\""+BM_PREFIX+'-info-item" title="תווים (סיכום / מקור)">'+ICONS.chars+"<code>"+t.summaryCharCount+"/"+t.originalCharCount+"</code></div><div class=\""+BM_PREFIX+'-info-item" title="זמן עיבוד">'+ICONS.time+"<code>"+t.executionTime+"s</code></div>",o.appendChild(n)),document.body.appendChild(o),requestAnimationFrame(() => o.classList.add("visible")),m.onclick=cleanupUI,i.onclick=()=>{navigator.clipboard.writeText(e),i.innerHTML=ICONS.copied,setTimeout(()=>{i.innerHTML=ICONS.copy},2e3)},s.onclick=async()=>{const t=document.createElement("p");t.textContent="הזן הנחיה חדשה עבור הטקסט. למשל: \"תרגם לאנגלית\", \"הפוך לשיר\", \"סכם לילד בן 10\".";const n=document.createElement("textarea");n.placeholder="הקלד כאן...";const o=await createDialog("הנחיה מותאמת אישית",[t,n],[{text:"ביטול",className:BM_PREFIX+"-dialog-cancel-btn",value:()=>null},{text:"הפעל",className:BM_PREFIX+"-dialog-confirm-btn",value:e=>e.querySelector("textarea").value}]);o&&runMainProcess(null,o)},d.onclick=async()=>{const e=(e,t,n,o)=>(e=document.createElement("div"),t=document.createElement("label"),t.htmlFor=e,t.textContent=t,e=document.createElement("select"),e.id=e,n.forEach(t=>{const n=document.createElement("option");n.value=t.value,n.textContent=t.text,t.value===o&&(n.selected=!0),e.appendChild(n)}),e.append(t,e),e),t=e("tone-select","סגנון",[{value:"default",text:"רגיל"},{value:"bullets",text:"נקודות"},{value:"simple",text:"פשוט"}],currentSettings.tone),n=e("length-select","אורך",[{value:"short",text:"קצר"},{value:"medium",text:"בינוני"},{value:"long",text:"ארוך"}],currentSettings.length),o=document.createElement("div");o.style.cssText="display:flex; flex-direction:column; gap:15px;",o.append(t,n);const a=await createDialog("אפשרויות סיכום",[o],[{text:"ביטול",className:BM_PREFIX+"-dialog-cancel-btn",value:()=>null},{text:"החל וסכם מחדש",className:BM_PREFIX+"-dialog-confirm-btn",value:e=>({tone:e.querySelector("#tone-select").value,length:e.querySelector("#length-select").value})}]);a&&(currentSettings=a,runMainProcess(currentSettings))},document.addEventListener("keydown",function e(t){"Escape"===t.key&&cleanupUI()},{once:!0})}function getDisplayError(e){return"AbortError"===e.name?"הפעולה בוטלה.":"TypeError"===e.name&&e.message.includes("Failed to fetch")?`הבקשה לשרת נכשלה. הדבר קורה לעיתים קרובות בשימוש בסינון אינטרנט (כמו 'נטפרי'), החוסם גישה לשרת.\n\nנסה שוב מאוחר יותר, או הגדר חריגה עבור: ${new URL(SERVER_URL).hostname}`:`אירעה שגיאה:\n${e.message}`}async function fetchWithStallDetection(e,t){activeRequestController=new AbortController,t.signal=activeRequestController.signal;const n=setTimeout(() => updateCompactLoader("עדיין עובד, השרת חושב..."),STALL_TIMEOUT_MS);try{return await fetch(e,t)}finally{clearTimeout(n)}}async function runMainProcess(e=currentSettings,t=null){const n=performance.now();showCompactLoader();try{originalPageContent||(["main article","article","main","body"].some(e=>{const t=document.querySelector(e);if(t)return originalPageContent=t.innerText,!0}),originalPageContent=originalPageContent.replace(/\s+/g," ").trim().substring(0,15e3)),(!originalPageContent||originalPageContent.length<50)&&_throw(new Error("לא נמצא מספיק תוכן בעמוד."));let o;o=t?`${t}:\n\n---\n\n${originalPageContent}`:(t={default:"סכם את תוכן הדף. השתמש ב-**הדגשות**.",bullets:"סכם בפורמט נקודות (bullet points).",simple:"הסבר בשפה פשוטה וידידותית."},n={short:"שמור על הסיכום קצר.",medium:"ספק סיכום באורך בינוני.",long:"ספק סיכום מפורט."},`הנחיה למערכת: ${t[e.tone]} ${n[e.length]} תוכן הדף:\n\n---\n\n${originalPageContent}`);const a=await fetchWithStallDetection(SERVER_URL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:o})});if(!a.ok)_throw(new Error(`שגיאת שרת: ${a.status}`));const l=await a.json(),r=performance.now();if(!l||!l.text)_throw(new Error("השרת החזיר תגובה ריקה."));showResultUI(l.text,{title:document.title,originalCharCount:originalPageContent.length,summaryCharCount:l.text.length,executionTime:((r-n)/1e3).toFixed(2)})}catch(e){console.error("ClarityAI Bookmarklet Error:",e),showResultUI(getDisplayError(e),null,!0)}}injectCSS(),runMainProcess(currentSettings)})();
@I-believe כתב במדריך | אשכול מתעדכן לסימניות חכמות בכרום:
@יוסי-רחמים הקוד לא עובד
עריכה: ניסיתי שוב ע"י האתר הזה ועכשיו זה עובד.
@I-believe אפשר להוסיף את האתר הזה גם לפוסט הראשון, זה נראה שהוא יותר טוב, יש שם גם יותר פונקציות
javascript:(function()%7Bjavascript%3A(function()%20%7B%0A%20%20%20%20%2F*%0A%20%20%20%20%20*%20ClarityAI%20-%20Polished%20Bookmarklet%20Suite%20v6.1%20(Final)%0A%20%20%20%20%20*%20Fixes%20FOUC%2Fjumping%20issue%20with%20a%20two-step%20rendering%20process.%0A%20%20%20%20%20*%20All%20dynamic%20elements%20are%20now%20created%20invisible%20and%20then%20transitioned%20into%20view.%0A%20%20%20%20%20*%2F%0A%20%20%20%20const%20SERVER_URL%20%3D%20'https%3A%2F%2Fclarityai-smart-tools.onrender.com%2Fmain-ai2.php'%3B%0A%20%20%20%20const%20BM_PREFIX%20%3D%20'clarityai-bm-stable'%3B%0A%20%20%20%20const%20STALL_TIMEOUT_MS%20%3D%208000%3B%0A%20%20%20%20const%20ICONS%20%3D%20%7B%0A%20%20%20%20%20%20%20%20main%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M12%202a4.5%204.5%200%200%200-4.5%204.5c0%201.25.5%202.4%201.34%203.25C7.98%2010.59%207%2012.25%207%2014c0%202.25%202.25%204%205%204s5-1.75%205-4c0-1.75-.98-3.41-1.84-4.25A4.49%204.49%200%200%200%2016.5%206.5A4.5%204.5%200%200%200%2012%202Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12%2022v-3%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%60%2C%0A%20%20%20%20%20%20%20%20regenerate%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%3E%3Cpolyline%20points%3D%2223%204%2023%2010%2017%2010%22%3E%3C%2Fpolyline%3E%3Cpath%20d%3D%22M20.49%2015a9%209%200%201%201-2.12-9.36L23%2010%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%60%2C%0A%20%20%20%20%20%20%20%20settings%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%3E%3C%2Fcircle%3E%3Cpath%20d%3D%22M19.4%2015a1.65%201.65%200%200%200%20.33%201.82l.06.06a2%202%200%200%201%200%202.83%202%202%200%200%201-2.83%200l-.06-.06a1.65%201.65%200%200%200-1.82-.33%201.65%201.65%200%200%200-1%201.51V21a2%202%200%200%201-2%202%202%202%200%200%201-2-2v-.09A1.65%201.65%200%200%200%209%2019.4a1.65%201.65%200%200%200-1.82.33l-.06.06a2%202%200%200%201-2.83%200%202%202%200%200%201%200-2.83l.06-.06a1.65%201.65%200%200%200%20.33-1.82%201.65%201.65%200%200%200-1.51-1H3a2%202%200%200%201-2-2%202%202%200%200%201%202-2h.09A1.65%201.65%200%200%200%204.6%209a1.65%201.65%200%200%200-.33-1.82l-.06-.06a2%202%200%200%201%200-2.83%202%202%200%200%201%202.83%200l.06.06a1.65%201.65%200%200%200%201.82.33H9a1.65%201.65%200%200%200%201-1.51V3a2%202%200%200%201%202-2%202%202%200%200%201%202%202v.09a1.65%201.65%200%200%200%201%201.51%201.65%201.65%200%200%200%201.82-.33l.06-.06a2%202%200%200%201%202.83%200%202%202%200%200%201%200%202.83l-.06.06a1.65%201.65%200%200%200-.33%201.82V9a1.65%201.65%200%200%200%201.51%201H21a2%202%200%200%201%202%202%202%202%200%200%201-2%202h-.09a1.65%201.65%200%200%200-1.51%201z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%60%2C%0A%20%20%20%20%20%20%20%20close%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222.5%22%3E%3Cline%20x1%3D%2218%22%20y1%3D%226%22%20x2%3D%226%22%20y2%3D%2218%22%3E%3C%2Fline%3E%3Cline%20x1%3D%226%22%20y1%3D%226%22%20x2%3D%2218%22%20y2%3D%2218%22%3E%3C%2Fline%3E%3C%2Fsvg%3E%60%2C%0A%20%20%20%20%20%20%20%20copy%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%3E%3Crect%20x%3D%229%22%20y%3D%229%22%20width%3D%2213%22%20height%3D%2213%22%20rx%3D%222%22%20ry%3D%222%22%3E%3C%2Frect%3E%3Cpath%20d%3D%22M5%2015H4a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2h9a2%202%200%200%201%202%202v1%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%60%2C%0A%20%20%20%20%20%20%20%20copied%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222.5%22%3E%3Cpolyline%20points%3D%2220%206%209%2017%204%2012%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E%60%2C%0A%20%20%20%20%20%20%20%20title%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M2%203h6a4%204%200%200%201%204%204v14a3%203%200%200%200-3-3H2z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M22%203h-6a4%204%200%200%200-4%204v14a3%203%200%200%201%203-3h7z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%60%2C%0A%20%20%20%20%20%20%20%20chars%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%3E%3Cline%20x1%3D%224%22%20y1%3D%229%22%20x2%3D%2220%22%20y2%3D%229%22%3E%3C%2Fline%3E%3Cline%20x1%3D%224%22%20y1%3D%2215%22%20x2%3D%2220%22%20y2%3D%2215%22%3E%3C%2Fline%3E%3Cline%20x1%3D%2210%22%20y1%3D%223%22%20x2%3D%228%22%20y2%3D%2221%22%3E%3C%2Fline%3E%3Cline%20x1%3D%2216%22%20y1%3D%223%22%20x2%3D%2214%22%20y2%3D%2221%22%3E%3C%2Fline%3E%3C%2Fsvg%3E%60%2C%0A%20%20%20%20%20%20%20%20time%3A%20%60%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%3E%3C%2Fcircle%3E%3Cpolyline%20points%3D%2212%206%2012%2012%2016%2014%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E%60%0A%20%20%20%20%7D%3B%0A%20%0A%20%20%20%20let%20originalPageContent%20%3D%20null%3B%0A%20%20%20%20let%20currentSettings%20%3D%20%7B%20tone%3A%20'default'%2C%20length%3A%20'medium'%20%7D%3B%0A%20%20%20%20let%20activeRequestController%20%3D%20null%3B%0A%20%20%20%20let%20loaderInterval%20%3D%20null%3B%0A%20%0A%20%20%20%20function%20injectCSS()%20%7B%0A%20%20%20%20%20%20%20%20if%20(document.getElementById(%60%24%7BBM_PREFIX%7D-styles%60))%20return%3B%0A%20%20%20%20%20%20%20%20const%20styleSheet%20%3D%20document.createElement(%22style%22)%3B%0A%20%20%20%20%20%20%20%20styleSheet.id%20%3D%20%60%24%7BBM_PREFIX%7D-styles%60%3B%0A%20%20%20%20%20%20%20%20styleSheet.textContent%20%3D%20%60%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Aroot%20%7B%20--bm-accent%3A%20%23007aff%3B%20--bm-bg%3A%20%23ffffff%3B%20--bm-text%3A%20%231d1d1f%3B%20--bm-border%3A%20rgba(0%2C0%2C0%2C0.1)%3B%20--bm-shadow%3A%20rgba(0%2C0%2C0%2C0.12)%3B%20--bm-overlay-bg%3A%20rgba(0%2C0%2C0%2C0.4)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%40media%20(prefers-color-scheme%3A%20dark)%20%7B%20%3Aroot%20%7B%20--bm-accent%3A%20%230a84ff%3B%20--bm-bg%3A%20%231c1c1e%3B%20--bm-text%3A%20%23f0f0f0%3B%20--bm-border%3A%20rgba(255%2C255%2C255%2C0.15)%3B%20--bm-shadow%3A%20rgba(0%2C0%2C0%2C0.25)%3B%20--bm-overlay-bg%3A%20rgba(0%2C0%2C0%2C0.6)%3B%20%7D%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F*%20Animation%20Fix%3A%20Apply%20transitions%20to%20the%20base%20class%20*%2F%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-loader%2C%20.%24%7BBM_PREFIX%7D-popup-container%2C%20.%24%7BBM_PREFIX%7D-prompt-overlay%2C%20.%24%7BBM_PREFIX%7D-dialog%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20transition%3A%20opacity%200.3s%20ease%2C%20transform%200.4s%20cubic-bezier(0.2%2C%201%2C%200.3%2C%201)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20opacity%3A%200%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-loader%20%7B%20transform%3A%20translateX(-50%25)%20translateY(-30px)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-popup-container%2C%20.%24%7BBM_PREFIX%7D-dialog%20%7B%20transform%3A%20translate(-50%25%2C%20-50%25)%20scale(0.95)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-prompt-overlay%20%7B%20transition-property%3A%20opacity%2C%20backdrop-filter%3B%20%7D%0A%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F*%20Animation%20Fix%3A%20The%20.visible%20class%20triggers%20the%20transition%20*%2F%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-loader.visible%2C%20.%24%7BBM_PREFIX%7D-popup-container.visible%2C%20.%24%7BBM_PREFIX%7D-prompt-overlay.visible%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20opacity%3A%201%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-loader.visible%20%7B%20transform%3A%20translateX(-50%25)%20translateY(0)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-popup-container.visible%2C%20.%24%7BBM_PREFIX%7D-prompt-overlay%20.%24%7BBM_PREFIX%7D-dialog.visible%20%7B%20transform%3A%20translate(-50%25%2C%20-50%25)%20scale(1)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-prompt-overlay.closing%20%7B%20opacity%3A%200%20!important%3B%20%7D%0A%20%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-loader%20%7B%20position%3A%20fixed%3B%20top%3A%2016px%3B%20left%3A%2050%25%3B%20z-index%3A%202147483648%3B%20background%3A%20var(--bm-bg)%3B%20color%3A%20var(--bm-text)%3B%20padding%3A%2010px%2020px%3B%20border-radius%3A%2020px%3B%20box-shadow%3A%200%205px%2020px%20var(--bm-shadow)%3B%20border%3A%201px%20solid%20var(--bm-border)%3B%20display%3A%20flex%3B%20align-items%3A%20center%3B%20gap%3A%2012px%3B%20font-weight%3A%20500%3B%20font-family%3A%20-apple-system%2C%20sans-serif%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-loader-spinner%20%7B%20width%3A%2018px%3B%20height%3A%2018px%3B%20border%3A%202px%20solid%20var(--bm-border)%3B%20border-top-color%3A%20var(--bm-accent)%3B%20border-radius%3A%2050%25%3B%20animation%3A%20spin%201s%20linear%20infinite%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%40keyframes%20spin%20%7B%20to%20%7B%20transform%3A%20rotate(360deg)%3B%20%7D%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-popup-container%20%7B%20position%3A%20fixed%3B%20top%3A%2050%25%3B%20left%3A%2050%25%3B%20z-index%3A%202147483647%3B%20background%3A%20var(--bm-bg)%3B%20color%3A%20var(--bm-text)%3B%20border-radius%3A%2018px%3B%20box-shadow%3A%200%2015px%2050px%20var(--bm-shadow)%3B%20backdrop-filter%3A%20blur(10px)%3B%20width%3A%2095%25%3B%20max-width%3A%20720px%3B%20font-family%3A%20-apple-system%2C%20sans-serif%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-header%20%7B%20display%3A%20flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20space-between%3B%20padding%3A%2014px%2020px%3B%20border-bottom%3A%201px%20solid%20var(--bm-border)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-header%20h3%20%7B%20font-size%3A%201.2em%3B%20font-weight%3A%20600%3B%20margin%3A%200%3B%20display%3A%20flex%3B%20align-items%3A%20center%3B%20gap%3A%2010px%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-header%20h3%20svg%20%7B%20width%3A22px%3B%20height%3A22px%3B%20color%3A%20var(--bm-accent)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-header-buttons%20%7B%20display%3A%20flex%3B%20gap%3A%208px%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-btn%20%7B%20background%3A%20transparent%3B%20border%3A%20none%3B%20font-size%3A%201.2em%3B%20cursor%3A%20pointer%3B%20color%3A%20%238e8e93%3B%20padding%3A%206px%3B%20border-radius%3A%2050%25%3B%20width%3A%2036px%3B%20height%3A%2036px%3B%20display%3Aflex%3B%20align-items%3Acenter%3B%20justify-content%3Acenter%3B%20transition%3A%20all%200.2s%20ease%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-btn%20svg%20%7B%20width%3A%2020px%3B%20height%3A%2020px%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-btn%3Ahover%20%7B%20background-color%3A%20var(--bm-border)%3B%20color%3A%20var(--bm-text)%3B%20transform%3A%20scale(1.1)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-content%20%7B%20padding%3A%2025px%3B%20text-align%3A%20right%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-summary-content%20%7B%20max-height%3A%2045vh%3B%20overflow-y%3A%20auto%3B%20line-height%3A%201.75%3B%20white-space%3A%20pre-wrap%3B%20font-size%3A%201.1em%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-summary-content%20strong%20%7B%20color%3A%20var(--bm-accent)%3B%20font-weight%3A%20700%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-footer%20%7B%20padding%3A%2012px%2020px%3B%20border-top%3A%201px%20solid%20var(--bm-border)%3B%20font-size%3A%200.8em%3B%20color%3A%20%238e8e93%3B%20display%3A%20flex%3B%20flex-wrap%3A%20wrap%3B%20gap%3A%2015px%3B%20align-items%3A%20center%3B%20justify-content%3A%20flex-start%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-info-item%20%7B%20display%3A%20flex%3B%20align-items%3A%20center%3B%20gap%3A%205px%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-info-item%20svg%20%7B%20width%3A%2014px%3B%20height%3A%2014px%3B%20opacity%3A%200.7%3B%20stroke-width%3A2.5%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-info-item%20code%20%7B%20background%3A%20rgba(0%2C0%2C0%2C0.07)%3B%20padding%3A%202px%206px%3B%20border-radius%3A%204px%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%40media%20(prefers-color-scheme%3A%20dark)%20%7B%20.%24%7BBM_PREFIX%7D-info-item%20code%20%7B%20background%3A%20rgba(255%2C255%2C255%2C0.1)%3B%20%7D%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-prompt-overlay%20%7B%20position%3A%20fixed%3B%20top%3A%200%3B%20left%3A%200%3B%20width%3A%20100%25%3B%20height%3A%20100%25%3B%20background%3A%20var(--bm-overlay-bg)%3B%20backdrop-filter%3A%20blur(8px)%3B%20z-index%3A%202147483648%3B%20display%3Aflex%3B%20align-items%3Acenter%3B%20justify-content%3Acenter%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog%20%7B%20background%3A%20var(--bm-bg)%3B%20padding%3A%2025px%3B%20border-radius%3A%2016px%3B%20width%3A%2090%25%3B%20max-width%3A%20500px%3B%20text-align%3A%20right%3B%20box-shadow%3A%200%2010px%2040px%20rgba(0%2C0%2C0%2C0.2)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog%20h4%20%7B%20margin%3A%200%200%2010px%200%3B%20font-size%3A%201.2em%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog%20p%20%7B%20font-size%3A0.9em%3B%20color%3A%238e8e93%3B%20margin%3A-5px%200%2015px%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog%20textarea%2C%20.%24%7BBM_PREFIX%7D-dialog%20select%20%7B%20width%3A%20100%25%3B%20padding%3A%2010px%3B%20border%3A%201px%20solid%20var(--bm-border)%3B%20border-radius%3A%208px%3B%20font-size%3A%201em%3B%20margin-bottom%3A%2015px%3B%20resize%3A%20vertical%3B%20background%3A%20var(--bm-bg)%3B%20color%3A%20var(--bm-text)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog-actions%20%7B%20display%3A%20flex%3B%20justify-content%3A%20flex-end%3B%20gap%3A%2010px%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog-button%20%7B%20padding%3A%208px%2016px%3B%20border-radius%3A%208px%3B%20border%3A%20none%3B%20cursor%3A%20pointer%3B%20font-weight%3A%20500%3B%20transition%3A%20all%200.2s%20ease%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog-cancel-btn%20%7B%20background-color%3A%20var(--bm-border)%3B%20color%3A%20var(--bm-text)%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog-confirm-btn%20%7B%20background-color%3A%20var(--bm-accent)%3B%20color%3A%20white%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.%24%7BBM_PREFIX%7D-dialog-confirm-btn%3Ahover%20%7B%20filter%3A%20brightness(1.1)%3B%20%7D%0A%20%20%20%20%20%20%20%20%60%3B%0A%20%20%20%20%20%20%20%20document.head.appendChild(styleSheet)%3B%0A%20%20%20%20%7D%0A%20%0A%20%20%20%20function%20cleanupUI()%20%7B%0A%20%20%20%20%20%20%20%20clearInterval(loaderInterval)%3B%0A%20%20%20%20%20%20%20%20activeRequestController%3F.abort()%3B%0A%20%20%20%20%20%20%20%20document.querySelectorAll(%60.%24%7BBM_PREFIX%7D-loader%2C%20.%24%7BBM_PREFIX%7D-popup-container%2C%20.%24%7BBM_PREFIX%7D-prompt-overlay%60).forEach(el%20%3D%3E%20el.remove())%3B%0A%20%20%20%20%7D%0A%20%0A%20%20%20%20function%20showCompactLoader()%20%7B%0A%20%20%20%20%20%20%20%20cleanupUI()%3B%0A%20%20%20%20%20%20%20%20const%20loader%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20loader.className%20%3D%20%60%24%7BBM_PREFIX%7D-loader%60%3B%0A%20%20%20%20%20%20%20%20const%20spinner%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20spinner.className%20%3D%20%60%24%7BBM_PREFIX%7D-loader-spinner%60%3B%0A%20%20%20%20%20%20%20%20const%20text%20%3D%20document.createElement('span')%3B%0A%20%20%20%20%20%20%20%20const%20messages%20%3D%20%5B%22%D7%9E%D7%9B%D7%99%D7%9F%20%D7%A1%D7%99%D7%9B%D7%95%D7%9D...%22%2C%20%22%D7%9E%D7%A0%D7%AA%D7%97%20%D7%90%D7%AA%20%D7%94%D7%98%D7%A7%D7%A1%D7%98...%22%2C%20%22%D7%9E%D7%96%D7%A7%D7%A7%20%D7%AA%D7%95%D7%91%D7%A0%D7%95%D7%AA...%22%2C%20%22%D7%9B%D7%9E%D7%A2%D7%98%20%D7%A9%D7%9D...%22%5D%3B%0A%20%20%20%20%20%20%20%20let%20msgIndex%20%3D%200%3B%0A%20%20%20%20%20%20%20%20text.textContent%20%3D%20messages%5BmsgIndex%5D%3B%0A%20%20%20%20%20%20%20%20loader.append(spinner%2C%20text)%3B%0A%20%20%20%20%20%20%20%20document.body.appendChild(loader)%3B%0A%20%20%20%20%20%20%20%20requestAnimationFrame(()%20%3D%3E%20loader.classList.add('visible'))%3B%20%2F%2F%20Animation%20fix%0A%20%20%20%20%20%20%20%20loaderInterval%20%3D%20setInterval(()%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20msgIndex%20%3D%20(msgIndex%20%2B%201)%20%25%20messages.length%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20text.textContent%20%3D%20messages%5BmsgIndex%5D%3B%0A%20%20%20%20%20%20%20%20%7D%2C%202500)%3B%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20function%20updateCompactLoader(message)%20%7B%0A%20%20%20%20%20%20%20%20const%20loaderSpan%20%3D%20document.querySelector(%60.%24%7BBM_PREFIX%7D-loader%20span%60)%3B%0A%20%20%20%20%20%20%20%20if%20(loaderSpan)%20loaderSpan.textContent%20%3D%20message%3B%0A%20%20%20%20%7D%0A%20%0A%20%20%20%20function%20createDialog(title%2C%20contentElements%2C%20buttons)%20%7B%0A%20%20%20%20%20%20%20%20return%20new%20Promise(resolve%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20overlay%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20overlay.className%20%3D%20%60%24%7BBM_PREFIX%7D-prompt-overlay%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20dialog%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20dialog.className%20%3D%20%60%24%7BBM_PREFIX%7D-dialog%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20h4%20%3D%20document.createElement('h4')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20h4.textContent%20%3D%20title%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20dialog.appendChild(h4)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20contentElements.forEach(el%20%3D%3E%20dialog.appendChild(el))%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20actions%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20actions.className%20%3D%20%60%24%7BBM_PREFIX%7D-dialog-actions%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20close%20%3D%20(value)%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20overlay.classList.add('closing')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20setTimeout(()%20%3D%3E%20%7B%20overlay.remove()%3B%20resolve(value)%3B%20%7D%2C%20300)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%3B%0A%20%0A%20%20%20%20%20%20%20%20%20%20%20%20buttons.forEach(btnConfig%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20button%20%3D%20document.createElement('button')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20button.textContent%20%3D%20btnConfig.text%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20button.className%20%3D%20%60%24%7BBM_PREFIX%7D-dialog-button%20%24%7BbtnConfig.className%7D%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20button.onclick%20%3D%20()%20%3D%3E%20close(btnConfig.value(dialog))%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20actions.appendChild(button)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D)%3B%0A%20%0A%20%20%20%20%20%20%20%20%20%20%20%20dialog.appendChild(actions)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20overlay.appendChild(dialog)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20requestAnimationFrame(()%20%3D%3E%20%7B%20%2F%2F%20Animation%20fix%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20overlay.classList.add('visible')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20dialog.classList.add('visible')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20overlay.onclick%20%3D%20e%20%3D%3E%20%7B%20if%20(e.target%20%3D%3D%3D%20overlay)%20close(null)%3B%20%7D%3B%0A%20%20%20%20%20%20%20%20%7D)%3B%0A%20%20%20%20%7D%0A%20%0A%20%20%20%20function%20showResultUI(summaryText%2C%20pageInfo%2C%20isError%20%3D%20false)%20%7B%0A%20%20%20%20%20%20%20%20cleanupUI()%3B%0A%20%20%20%20%20%20%20%20const%20container%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20container.className%20%3D%20%60%24%7BBM_PREFIX%7D-popup-container%60%3B%0A%20%20%20%20%20%20%20%20const%20header%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20header.className%20%3D%20%60%24%7BBM_PREFIX%7D-header%60%3B%0A%20%20%20%20%20%20%20%20const%20title%20%3D%20document.createElement('h3')%3B%0A%20%20%20%20%20%20%20%20title.innerHTML%20%3D%20%60%24%7BICONS.main%7D%3Cspan%3E%24%7BisError%20%3F%20%22%D7%A9%D7%92%D7%99%D7%90%D7%94%22%20%3A%20%22%D7%A1%D7%99%D7%9B%D7%95%D7%9D%20%D7%94%D7%93%D7%A3%22%7D%3C%2Fspan%3E%60%3B%0A%20%20%20%20%20%20%20%20const%20headerButtons%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20headerButtons.className%20%3D%20%60%24%7BBM_PREFIX%7D-header-buttons%60%3B%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20const%20createBtn%20%3D%20(icon%2C%20title%2C%20className%2C%20disabled%20%3D%20false)%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20btn%20%3D%20document.createElement('button')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20btn.className%20%3D%20%60%24%7BBM_PREFIX%7D-btn%20%24%7BclassName%7D%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20btn.title%20%3D%20title%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20btn.innerHTML%20%3D%20icon%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20btn.disabled%20%3D%20disabled%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20btn%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20const%20copyBtn%20%3D%20createBtn(ICONS.copy%2C%20%22%D7%94%D7%A2%D7%AA%D7%A7%20%D7%A1%D7%99%D7%9B%D7%95%D7%9D%22%2C%20%60%24%7BBM_PREFIX%7D-copy-btn%60%2C%20isError)%3B%0A%20%20%20%20%20%20%20%20const%20customPromptBtn%20%3D%20createBtn(ICONS.regenerate%2C%20%22%D7%94%D7%A4%D7%A2%D7%9C%D7%94%20%D7%9E%D7%97%D7%93%D7%A9%20%D7%A2%D7%9D%20%D7%94%D7%A0%D7%97%D7%99%D7%94%22%2C%20%60%24%7BBM_PREFIX%7D-regenerate-custom-btn%60)%3B%0A%20%20%20%20%20%20%20%20const%20settingsBtn%20%3D%20createBtn(ICONS.settings%2C%20%22%D7%90%D7%A4%D7%A9%D7%A8%D7%95%D7%99%D7%95%D7%AA%22%2C%20%60%24%7BBM_PREFIX%7D-options-btn%60)%3B%0A%20%20%20%20%20%20%20%20const%20closeBtn%20%3D%20createBtn(ICONS.close%2C%20%22%D7%A1%D7%92%D7%95%D7%A8%22%2C%20%60%24%7BBM_PREFIX%7D-close-btn%60)%3B%0A%20%0A%20%20%20%20%20%20%20%20headerButtons.append(copyBtn%2C%20customPromptBtn%2C%20settingsBtn%2C%20closeBtn)%3B%0A%20%20%20%20%20%20%20%20header.append(title%2C%20headerButtons)%3B%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20const%20content%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20content.className%20%3D%20%60%24%7BBM_PREFIX%7D-content%60%3B%0A%20%20%20%20%20%20%20%20const%20summaryContent%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20summaryContent.className%20%3D%20%60%24%7BBM_PREFIX%7D-summary-content%60%3B%0A%20%20%20%20%20%20%20%20if%20(isError)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20p%20%3D%20document.createElement('p')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20p.style.color%20%3D%20'%23ff453a'%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20p.style.whiteSpace%20%3D%20'pre-wrap'%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20p.textContent%20%3D%20summaryText%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20summaryContent.appendChild(p)%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20summaryText.split(%2F%5C*%5C*(.*%3F)%5C*%5C*%2Fg).forEach((part%2C%20i)%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20node%20%3D%20i%20%25%202%20%3D%3D%3D%201%20%3F%20document.createElement('strong')%20%3A%20document.createTextNode(part)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20node.textContent%20%3D%20part%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20summaryContent.appendChild(node)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D)%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20content.appendChild(summaryContent)%3B%0A%20%20%20%20%20%20%20%20container.append(header%2C%20content)%3B%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20if%20(pageInfo%20%26%26%20!isError)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20footer%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20footer.className%20%3D%20%60%24%7BBM_PREFIX%7D-footer%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20footer.innerHTML%20%3D%20%60%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22%24%7BBM_PREFIX%7D-info-item%22%20title%3D%22%D7%9B%D7%95%D7%AA%D7%A8%D7%AA%20%D7%94%D7%93%D7%A3%22%3E%24%7BICONS.title%7D%3Cspan%3E%24%7BpageInfo.title.substring(0%2C%2050)%7D...%3C%2Fspan%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22%24%7BBM_PREFIX%7D-info-item%22%20title%3D%22%D7%AA%D7%95%D7%95%D7%99%D7%9D%20(%D7%A1%D7%99%D7%9B%D7%95%D7%9D%20%2F%20%D7%9E%D7%A7%D7%95%D7%A8)%22%3E%24%7BICONS.chars%7D%3Ccode%3E%24%7BpageInfo.summaryCharCount%7D%2F%24%7BpageInfo.originalCharCount%7D%3C%2Fcode%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22%24%7BBM_PREFIX%7D-info-item%22%20title%3D%22%D7%96%D7%9E%D7%9F%20%D7%A2%D7%99%D7%91%D7%95%D7%93%22%3E%24%7BICONS.time%7D%3Ccode%3E%24%7BpageInfo.executionTime%7Ds%3C%2Fcode%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20container.appendChild(footer)%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20document.body.appendChild(container)%3B%0A%20%20%20%20%20%20%20%20requestAnimationFrame(()%20%3D%3E%20container.classList.add('visible'))%3B%20%2F%2F%20Animation%20fix%0A%20%0A%20%20%20%20%20%20%20%20%2F%2F%20Attach%20listeners%0A%20%20%20%20%20%20%20%20closeBtn.onclick%20%3D%20cleanupUI%3B%0A%20%20%20%20%20%20%20%20copyBtn.onclick%20%3D%20()%20%3D%3E%20%7B%20navigator.clipboard.writeText(summaryText)%3B%20copyBtn.innerHTML%20%3D%20ICONS.copied%3B%20setTimeout(()%20%3D%3E%20%7B%20copyBtn.innerHTML%20%3D%20ICONS.copy%3B%20%7D%2C%202000)%3B%20%7D%3B%0A%20%20%20%20%20%20%20%20customPromptBtn.onclick%20%3D%20async%20()%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20p%20%3D%20document.createElement('p')%3B%20p.textContent%20%3D%20'%D7%94%D7%96%D7%9F%20%D7%94%D7%A0%D7%97%D7%99%D7%94%20%D7%97%D7%93%D7%A9%D7%94%20%D7%A2%D7%91%D7%95%D7%A8%20%D7%94%D7%98%D7%A7%D7%A1%D7%98.%20%D7%9C%D7%9E%D7%A9%D7%9C%3A%20%22%D7%AA%D7%A8%D7%92%D7%9D%20%D7%9C%D7%90%D7%A0%D7%92%D7%9C%D7%99%D7%AA%22%2C%20%22%D7%94%D7%A4%D7%95%D7%9A%20%D7%9C%D7%A9%D7%99%D7%A8%22%2C%20%22%D7%A1%D7%9B%D7%9D%20%D7%9C%D7%99%D7%9C%D7%93%20%D7%91%D7%9F%2010%22.'%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20textarea%20%3D%20document.createElement('textarea')%3B%20textarea.placeholder%20%3D%20'%D7%94%D7%A7%D7%9C%D7%93%20%D7%9B%D7%90%D7%9F...'%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20result%20%3D%20await%20createDialog(%22%D7%94%D7%A0%D7%97%D7%99%D7%94%20%D7%9E%D7%95%D7%AA%D7%90%D7%9E%D7%AA%20%D7%90%D7%99%D7%A9%D7%99%D7%AA%22%2C%20%5Bp%2C%20textarea%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5B%7B%20text%3A%20%22%D7%91%D7%99%D7%98%D7%95%D7%9C%22%2C%20className%3A%20%60%24%7BBM_PREFIX%7D-dialog-cancel-btn%60%2C%20value%3A%20()%20%3D%3E%20null%20%7D%2C%20%7B%20text%3A%20%22%D7%94%D7%A4%D7%A2%D7%9C%22%2C%20className%3A%20%60%24%7BBM_PREFIX%7D-dialog-confirm-btn%60%2C%20value%3A%20d%20%3D%3E%20d.querySelector('textarea').value%20%7D%5D%0A%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(result)%20runMainProcess(null%2C%20result)%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20settingsBtn.onclick%20%3D%20async%20()%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20createSelect%20%3D%20(id%2C%20label%2C%20options%2C%20selected)%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20div%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20lbl%20%3D%20document.createElement('label')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20lbl.htmlFor%20%3D%20id%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20lbl.textContent%20%3D%20label%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20select%20%3D%20document.createElement('select')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20select.id%20%3D%20id%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20options.forEach(opt%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20option%20%3D%20document.createElement('option')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20option.value%20%3D%20opt.value%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20option.textContent%20%3D%20opt.text%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20(opt.value%20%3D%3D%3D%20selected)%20option.selected%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20select.appendChild(option)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20div.append(lbl%2C%20select)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20div%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20toneSelect%20%3D%20createSelect('tone-select'%2C%20'%D7%A1%D7%92%D7%A0%D7%95%D7%9F'%2C%20%5B%7Bvalue%3A%20'default'%2C%20text%3A%20'%D7%A8%D7%92%D7%99%D7%9C'%7D%2C%20%7Bvalue%3A%20'bullets'%2C%20text%3A%20'%D7%A0%D7%A7%D7%95%D7%93%D7%95%D7%AA'%7D%2C%20%7Bvalue%3A%20'simple'%2C%20text%3A%20'%D7%A4%D7%A9%D7%95%D7%98'%7D%5D%2C%20currentSettings.tone)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20lengthSelect%20%3D%20createSelect('length-select'%2C%20'%D7%90%D7%95%D7%A8%D7%9A'%2C%20%5B%7Bvalue%3A%20'short'%2C%20text%3A%20'%D7%A7%D7%A6%D7%A8'%7D%2C%20%7Bvalue%3A%20'medium'%2C%20text%3A%20'%D7%91%D7%99%D7%A0%D7%95%D7%A0%D7%99'%7D%2C%20%7Bvalue%3A%20'long'%2C%20text%3A%20'%D7%90%D7%A8%D7%95%D7%9A'%7D%5D%2C%20currentSettings.length)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20contentContainer%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20contentContainer.style.cssText%20%3D%20'display%3Aflex%3B%20flex-direction%3Acolumn%3B%20gap%3A15px%3B'%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20contentContainer.append(toneSelect%2C%20lengthSelect)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20result%20%3D%20await%20createDialog(%22%D7%90%D7%A4%D7%A9%D7%A8%D7%95%D7%99%D7%95%D7%AA%20%D7%A1%D7%99%D7%9B%D7%95%D7%9D%22%2C%20%5BcontentContainer%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5B%7B%20text%3A%20%22%D7%91%D7%99%D7%98%D7%95%D7%9C%22%2C%20className%3A%20%60%24%7BBM_PREFIX%7D-dialog-cancel-btn%60%2C%20value%3A%20()%20%3D%3E%20null%20%7D%2C%20%7B%20text%3A%20%22%D7%94%D7%97%D7%9C%20%D7%95%D7%A1%D7%9B%D7%9D%20%D7%9E%D7%97%D7%93%D7%A9%22%2C%20className%3A%20%60%24%7BBM_PREFIX%7D-dialog-confirm-btn%60%2C%20value%3A%20d%20%3D%3E%20(%7Btone%3A%20d.querySelector('%23tone-select').value%2C%20length%3A%20d.querySelector('%23length-select').value%7D)%20%7D%5D%0A%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(result)%20%7B%20currentSettings%20%3D%20result%3B%20runMainProcess(currentSettings)%3B%20%7D%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20document.addEventListener('keydown'%2C%20function%20onEsc(e)%20%7B%20if%20(e.key%20%3D%3D%3D%20'Escape')%20cleanupUI()%3B%20%7D%2C%20%7B%20once%3A%20true%20%7D)%3B%0A%20%20%20%20%7D%0A%20%0A%20%20%20%20function%20getDisplayError(error)%20%7B%0A%20%20%20%20%20%20%20%20if%20(error.name%20%3D%3D%3D%20'AbortError')%20return%20%22%D7%94%D7%A4%D7%A2%D7%95%D7%9C%D7%94%20%D7%91%D7%95%D7%98%D7%9C%D7%94.%22%3B%0A%20%20%20%20%20%20%20%20if%20(error.name%20%3D%3D%3D%20'TypeError'%20%26%26%20error.message.includes('Failed%20to%20fetch'))%20return%20%60%D7%94%D7%91%D7%A7%D7%A9%D7%94%20%D7%9C%D7%A9%D7%A8%D7%AA%20%D7%A0%D7%9B%D7%A9%D7%9C%D7%94.%20%D7%94%D7%93%D7%91%D7%A8%20%D7%A7%D7%95%D7%A8%D7%94%20%D7%9C%D7%A2%D7%99%D7%AA%D7%99%D7%9D%20%D7%A7%D7%A8%D7%95%D7%91%D7%95%D7%AA%20%D7%91%D7%A9%D7%99%D7%9E%D7%95%D7%A9%20%D7%91%D7%A1%D7%99%D7%A0%D7%95%D7%9F%20%D7%90%D7%99%D7%A0%D7%98%D7%A8%D7%A0%D7%98%20(%D7%9B%D7%9E%D7%95%20'%D7%A0%D7%98%D7%A4%D7%A8%D7%99')%2C%20%D7%94%D7%97%D7%95%D7%A1%D7%9D%20%D7%92%D7%99%D7%A9%D7%94%20%D7%9C%D7%A9%D7%A8%D7%AA.%5Cn%5Cn%D7%A0%D7%A1%D7%94%20%D7%A9%D7%95%D7%91%20%D7%9E%D7%90%D7%95%D7%97%D7%A8%20%D7%99%D7%95%D7%AA%D7%A8%2C%20%D7%90%D7%95%20%D7%94%D7%92%D7%93%D7%A8%20%D7%97%D7%A8%D7%99%D7%92%D7%94%20%D7%A2%D7%91%D7%95%D7%A8%3A%20%24%7Bnew%20URL(SERVER_URL).hostname%7D%60%3B%0A%20%20%20%20%20%20%20%20return%20%60%D7%90%D7%99%D7%A8%D7%A2%D7%94%20%D7%A9%D7%92%D7%99%D7%90%D7%94%3A%5Cn%24%7Berror.message%7D%60%3B%0A%20%20%20%20%7D%0A%20%0A%20%20%20%20async%20function%20fetchWithStallDetection(url%2C%20options)%20%7B%0A%20%20%20%20%20%20%20%20activeRequestController%20%3D%20new%20AbortController()%3B%0A%20%20%20%20%20%20%20%20options.signal%20%3D%20activeRequestController.signal%3B%0A%20%20%20%20%20%20%20%20const%20stallTimeout%20%3D%20setTimeout(()%20%3D%3E%20updateCompactLoader(%22%D7%A2%D7%93%D7%99%D7%99%D7%9F%20%D7%A2%D7%95%D7%91%D7%93%2C%20%D7%94%D7%A9%D7%A8%D7%AA%20%D7%97%D7%95%D7%A9%D7%91...%22)%2C%20STALL_TIMEOUT_MS)%3B%0A%20%20%20%20%20%20%20%20try%20%7B%20return%20await%20fetch(url%2C%20options)%3B%20%7D%20finally%20%7B%20clearTimeout(stallTimeout)%3B%20%7D%0A%20%20%20%20%7D%0A%20%0A%20%20%20%20async%20function%20runMainProcess(settings%20%3D%20currentSettings%2C%20customInstruction%20%3D%20null)%20%7B%0A%20%20%20%20%20%20%20%20const%20startTime%20%3D%20performance.now()%3B%0A%20%20%20%20%20%20%20%20showCompactLoader()%3B%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20try%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(!originalPageContent)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20selectors%20%3D%20%5B'main%20article'%2C%20'article'%2C%20'main'%2C%20'body'%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20for%20(const%20selector%20of%20selectors)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20el%20%3D%20document.querySelector(selector)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20(el)%20%7B%20originalPageContent%20%3D%20el.innerText%3B%20break%3B%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20originalPageContent%20%3D%20originalPageContent.replace(%2F%5Cs%2B%2Fg%2C%20'%20').trim().substring(0%2C%2015000)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(!originalPageContent%20%7C%7C%20originalPageContent.length%20%3C%2050)%20throw%20new%20Error(%22%D7%9C%D7%90%20%D7%A0%D7%9E%D7%A6%D7%90%20%D7%9E%D7%A1%D7%A4%D7%99%D7%A7%20%D7%AA%D7%95%D7%9B%D7%9F%20%D7%91%D7%A2%D7%9E%D7%95%D7%93.%22)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20let%20prompt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(customInstruction)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20prompt%20%3D%20%60%24%7BcustomInstruction%7D%3A%5Cn%5Cn---%5Cn%5Cn%24%7BoriginalPageContent%7D%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20toneMap%20%3D%20%7B%20default%3A%20%22%D7%A1%D7%9B%D7%9D%20%D7%90%D7%AA%20%D7%AA%D7%95%D7%9B%D7%9F%20%D7%94%D7%93%D7%A3.%20%D7%94%D7%A9%D7%AA%D7%9E%D7%A9%20%D7%91-**%D7%94%D7%93%D7%92%D7%A9%D7%95%D7%AA**.%22%2C%20bullets%3A%20%22%D7%A1%D7%9B%D7%9D%20%D7%91%D7%A4%D7%95%D7%A8%D7%9E%D7%98%20%D7%A0%D7%A7%D7%95%D7%93%D7%95%D7%AA%20(bullet%20points).%22%2C%20simple%3A%20%22%D7%94%D7%A1%D7%91%D7%A8%20%D7%91%D7%A9%D7%A4%D7%94%20%D7%A4%D7%A9%D7%95%D7%98%D7%94%20%D7%95%D7%99%D7%93%D7%99%D7%93%D7%95%D7%AA%D7%99%D7%AA.%22%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20const%20lengthMap%20%3D%20%7B%20short%3A%20%22%D7%A9%D7%9E%D7%95%D7%A8%20%D7%A2%D7%9C%20%D7%94%D7%A1%D7%99%D7%9B%D7%95%D7%9D%20%D7%A7%D7%A6%D7%A8.%22%2C%20medium%3A%20%22%D7%A1%D7%A4%D7%A7%20%D7%A1%D7%99%D7%9B%D7%95%D7%9D%20%D7%91%D7%90%D7%95%D7%A8%D7%9A%20%D7%91%D7%99%D7%A0%D7%95%D7%A0%D7%99.%22%2C%20long%3A%20%22%D7%A1%D7%A4%D7%A7%20%D7%A1%D7%99%D7%9B%D7%95%D7%9D%20%D7%9E%D7%A4%D7%95%D7%A8%D7%98.%22%20%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20prompt%20%3D%20%60%D7%94%D7%A0%D7%97%D7%99%D7%94%20%D7%9C%D7%9E%D7%A2%D7%A8%D7%9B%D7%AA%3A%20%24%7BtoneMap%5Bsettings.tone%5D%7D%20%24%7BlengthMap%5Bsettings.length%5D%7D%20%D7%AA%D7%95%D7%9B%D7%9F%20%D7%94%D7%93%D7%A3%3A%5Cn%5Cn---%5Cn%5Cn%24%7BoriginalPageContent%7D%60%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20response%20%3D%20await%20fetchWithStallDetection(SERVER_URL%2C%20%7B%20method%3A%20'POST'%2C%20headers%3A%20%7B%20'Content-Type'%3A%20'application%2Fjson'%20%7D%2C%20body%3A%20JSON.stringify(%7B%20text%3A%20prompt%20%7D)%20%7D)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(!response.ok)%20throw%20new%20Error(%60%D7%A9%D7%92%D7%99%D7%90%D7%AA%20%D7%A9%D7%A8%D7%AA%3A%20%24%7Bresponse.status%7D%60)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20data%20%3D%20await%20response.json()%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20const%20endTime%20%3D%20performance.now()%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(!data%20%7C%7C%20!data.text)%20throw%20new%20Error(%22%D7%94%D7%A9%D7%A8%D7%AA%20%D7%94%D7%97%D7%96%D7%99%D7%A8%20%D7%AA%D7%92%D7%95%D7%91%D7%94%20%D7%A8%D7%99%D7%A7%D7%94.%22)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20showResultUI(data.text%2C%20%7B%20title%3A%20document.title%2C%20originalCharCount%3A%20originalPageContent.length%2C%20summaryCharCount%3A%20data.text.length%2C%20executionTime%3A%20((endTime%20-%20startTime)%20%2F%201000).toFixed(2)%20%7D)%3B%0A%20%20%20%20%20%20%20%20%7D%20catch%20(error)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20console.error(%22ClarityAI%20Bookmarklet%20Error%3A%22%2C%20error)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20showResultUI(getDisplayError(error)%2C%20null%2C%20true)%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%0A%20%20%20%20injectCSS()%3B%0A%20%20%20%20runMainProcess(currentSettings)%3B%0A%7D)()%3B%7D)()%3B
עריכה נוספת: אמנם זה פותח את החלון של הסיכום (הסיכום עצמו לא עובד אצלי בגלל נטפרי) אבל זה לא מאפשר ללחוץ על הכפתורים, חוץ מהכפתור של הסגירה.
-
משלים gmail.com יש לכתוב @ ולסמן את התו ואז ללחוץ על הסמניה
javascript:(function() { const selection = window.getSelection(); if (!selection.rangeCount) return; const range = selection.getRangeAt(0); const text = selection.toString(); if (!text) return; const converted = text.replace(/@/g, '@gmail.com'); range.deleteContents(); range.insertNode(document.createTextNode(converted)); })();
-
@I-believe יש את הסימניה להתגבר על הבעיה הידועה בהתחברות לחשבון בנק בדיסקונט ומרכנתיל שאין אפשרות לשמור את הקוד מזהה
וכמובן להחליף את הפרטים מספר זהות, סיסמה, וקוד מזהה,
javascript:(()=>{const id='מספר זהות',pass='סיסמה',code='קוד מזהה',i=document.querySelector("input[name='tzId']"),p=document.querySelector("input[name='tzPassword']"),c=document.querySelector("input[name='aidnum']"),f=document.querySelector("form.login-form");function trigger(el){el.dispatchEvent(new Event('input',{bubbles:true}));el.dispatchEvent(new Event('change',{bubbles:true}));}if(i&&p&&c&&f){i.value=id;trigger(i);p.value=pass;trigger(p);c.value=code;trigger(c);f.querySelector("button[type='submit']").click();}else alert("שדות או טופס לא נמצאו");})();
ואם זה מעניין אז עשיתי את אותו דבר גם לאיזור אישי של ביטוח לאומי
javascript:(function(){ var id = 'מספר זהות'; var user = 'שם משתמש'; var pass = 'סיסמה'; var form = document.querySelector("form[name='form']"); if (!form) return alert("לא נמצא טופס הזדהות."); var scope = angular.element(form).scope(); if (!scope || !scope.vm) return alert("Scope לא זמין עדיין."); scope.vm.userZehut = id; scope.vm.userName = user; scope.vm.password = pass; scope.$apply(); var btn = document.querySelector("button[name='btnLogin']"); if (btn) btn.click(); else alert("לא נמצא כפתור התחברות."); })();
וכמובן להכניס את הפרטים האמיתיים במקום מספר זהות שם משתמש וסיסמה
יש את זה לקבלת קוד מהאתר של ימות המשיח
יש לי עוד אולי אעלה בהמשך