The absolute best filter – for InternetExplorer only

Home Forums Computers / Electronics / Online The absolute best filter – for InternetExplorer only

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #603691
    HaLeiVi
    Participant

    I’ve noticed a while ago that the filters offer what I didn’t need and don’t offer what I really need. They block me from going to places that I wouldn’t go, but can’t block pictures that I don’t want from sites that are otherwise fine.

    Therefore, I made a little script that will enable me to at least get rid of a picture once it shows up. You just right-click over the picture and press “-“, or click on “Toss-Image”. This only works in InternetExplorer, and does not work with Flash pictures/videos.

    If people are interested in this, I can either post a link to it or I can post code that you copy into Notepad and save it as “LoadBestFilter.js”, and then click on the newly saved file to install it.

    This is not meant to replace a conventional filter, just to complement it.

    #878823
    dash™
    Participant

    Why don’t you wrap it in “code” tags and post it?

    #878824

    Could you post the link/code?

    Thanks

    #878825
    thehock
    Member

    A long time ago (i.e. have no idea what I did and if it can be done in the latest version of IE) I changed my IE settings to not show pictures by default. This is helpful for those sites. However, there are some items (videos?) that auto-play and the setting does not help for that.

    #878826
    YW Moderator-42
    Moderator

    Please post the code.

    I use an add-on called ImgLikeOpera in Firefox which automatically blcoks all images unless I right click and choose to load that particular image. I can also set filters to always show images for certain known sites.

    #878827
    HaLeiVi
    Participant

    Here goes:

    fs = new ActiveXObject("Scripting.FileSystemObject")
    ws = new ActiveXObject("WScript.Shell")

    reg = "Windows Registry Editor Version 5.00"
    reg += "[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\&Toss Image]"
    reg += ""Contexts"=dword:00000002"
    reg += "@="file://C:\\Program Files\\YummyPrograms\\ridPic.htm""

    htm = "<SCRIPT>rn"
    htm += " external.menuArguments.event.srcElement.style.filter = "alpha(opacity=0)"rn"
    htm += "</SCRIPT>"

    fol = "C:\Program Files\YummyPrograms"
    if (!fs.folderExists(fol)) fs.CreateFolder(fol)
    hnm = fol + "\" + "ridPic" + ".htm"
    if(!fs.fileExists(hnm))
    {
    fl = fs.OpenTextFile(hnm, 2, true)
    fl.Write(htm)
    }
    else {
    ws.popup("BestFilter is already installed. How could you have not noticed!?", 5, "Best Filter Installer", 0);
    WScript.Quit();
    }
    menu = "Toss&-Image"
    key = "HKCU\Software\Microsoft\Internet Explorer\MenuExt\" + menu + "\"
    ws.RegWrite(key, "file://" + fol + "\ridPic.htm")
    ws.RegWrite(key + "Contexts", "00000002", "REG_DWORD")

    ws.popup("BestFilter is now succesfully installed. Happy holying.", 5, "Best Filter Installer", 0)

    To disable images in general, go to Internet Options, then click on the Advanced tab. Scroll down until you see the option for images. For Flash videos, go to Internet Options, then Programs. Click on the ‘Manage Add-ons’ tab and disable Flash.

    #878829

    i saved the file onto notepad. what should i do now?

    #878830
    HaLeiVi
    Participant

    The file should be renamed to “loadFilter.js” The “.js” at the end is the important part.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.