עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

מישהו פה השתמש בהצלחה בGrease monkey?

Featured Replies

פורסם

אם כן, אשמח לשמוע איך

אני לא מבין איך משתמשים בזה - התקנתי את התוסף, הוספתי סקריפט חדש, בnamespace כתבתי את כתובת הדף (זה לא משנה מה אני כותב שם, נכון?)

כתבתי שם, בחרתי איזה דפים זה יכלול...

כתבתי את הסקריפט, נכנסתי לדף -

לחיצה ימנית על הקוף (בתחתית החלון של פיירפוקס מקפיצה לי תפריט - יש V ליד הenabled ו-V ליד שם הסקריפט שאני רוצה שירוץ

והנה בדיוק הטקסט של הסקריפט שכתבתי:

// ==UserScript==
// @name google_test
// @namespace [url]http://www.google.*/[/url]
// @description just a test
// @include [url]http://www.google.co.il/[/url]
// ==/UserScript==


function alert_tst()
{
alert('blah!');
}

מה הבעייה פה?

יש לי הרגשה שאני צריך לגרום לפונקציה alert_tst לרוץ איכשהו (הרי לא ייתכן שזה יריץ כל פונקציה שאני כותב ברגע שהדף נטען, אני צריך לבחור איזו פונקציה זה יריץ, לא?

חיפשתי בגוגל (העמקתי באיזה ויקיפדיה של Grease Monkey) ולא מצאתי פתרון, הסתכלתי על כמה סקריפטים מוכנים ונהיה לי חושך בעיניים... כל כך מסובך...

תודה מראש

איל

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.