turk-dreamworld.com Sitesine Hoşgeldiniz.


7 sonuçtan 1 ile 7 arası
  1. #1
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    2 Bu Konu icin
    4.434 Toplam

    Standart chrome tampermonkey script paylasımı

    tampermonkeyi chrome magazadan indirebilirsiniz
    sonra script ekle diyerek istediginiz scriptleri ekleyebilirsiniz bendeki scriptleri paylasıyorum sizde de varsa kullandıgınız script paylasırsanız sevinirim

    auto video pause= sitelerdeki flash playerın otomatik calısmasını engeller buna youtube de dahil videoyu calıstırmak isterseniz tıklamanız yeterli siz acmadan video acılmaz

    // ==UserScript==
    // @name Video Pause
    // @namespace xeonx1
    // @version 1.83
    // @description Prevents auto-play HTML5 videos in new tabs on any page (not just YouTube) and pauses videos when leave/switch/change the current tab, to prevent any video playing in the background. This auto play blocker is an alternative to Click-to-Play / click to play. On some times like YouTube, click twice to begin first playback — From Dan Moorehead (xeonx1), developer of PowerAccess™ ([Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız])
    // @author Dan Moorehead (xeonx1), developer of PowerAccess™ ([Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]) ([Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]) and
    // @match [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    // @match [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    // @grant none
    // ==/UserScript==

    (function () {
    'use strict';

    // ******** User Preferences ********
    // Whether to pause videos when leaving a tab they are playing on
    var pauseOnLeaveTab = true;

    // Number of milliseconds after clicking where a video is allowed to autoplay.
    var allowAutoPlayWithinMillisecondsOfClick = 500;

    // For websites you won't to disable this script on, you can add domains (with or without subdomain, must not include [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] etc.) to always allow auto-play (doesn't affect pause on leave tab)
    var autoPlaySitesWhitelist = [
    // "youtube.com"
    ];
    // For video hosting sources (eg. YouTube used for videos embedded on other sites), you can add domains (with or without subdomain, must not include [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] etc.) to always allow auto-play (doesn't affect pause on leave tab)
    var autoPlaySourcesWhitelist = [
    // "youtube.com"
    ];

    //Advanced preferences from controlling side compatibility / testing:
    //seems required for:
    var handlePlayingInAdditionToPlayEvent = false;
    var allowPauseAgainAfterFirstFound = false;
    var treatPlayingLikeOnPlay = false;

    // ******** End Preferences ********

    /* Test Pages:
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]

    Known Issues:
    Have to click twice the first time to start:
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    Clicking anywhere except Play button causes to pause (so seeking, or click on video itself to unpause)
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]

    Still Auto Plays:
    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] (eventually auto-plays, stops for long time first, seems to switch between a few videos)


    Test JS Snippets:
    document.querySelector("video.html5-main-video").pause() //for pause on YouTube

    TODO (MAYBE):
    Allow pressing play after pressing spacebar?
    Delay YouTube pausing to avoid having to double click first time to play?
    */

    //TODO-MAYBE: We could add support for click anywhere on video to play/pause, but some video players may not update their play button status and therefore could be out-of-sync and many of them already support that (though not Apple Trailers, etc.)

    var hasAutoPlaySourcesWhitelist = autoPlaySourcesWhitelist.length > 0;
    var hasAutoPlaySitesWhitelist = autoPlaySitesWhitelist.length > 0;
    var lastClickTimeMs = 0;


    function isUrlMatch(url, pattern) {
    var regex = "https?\:\/\/[a-zA-Z0-9\.\-]*?\.?" + pattern.replace(/\./, "\.") + "\/";
    var reg = new RegExp(regex, "i");
    return url.match(reg) !== null;
    }

    //returns true if auto-play is always allowed for the *website* video is shown on (not source its hosted on)
    function isAutoPlayAllowedForSite(url) { // Check if video src is whitelisted.

    if (hasAutoPlaySitesWhitelist) {
    for (var i = 0; i < autoPlaySitesWhitelist.length; i++) {
    if (isUrlMatch(url, autoPlaySitesWhitelist[i]))
    return true;
    }
    }
    return false;
    }

    //exit, if the page shown in tab is whitelisted (regardless of where video is hosted / embedded from)
    if (isAutoPlayAllowedForSite(document.url)) {
    return;
    }

    //determine name of event for switched away from tab, based on the browser
    var tabHiddenPropertyName, tabVisibleChangedEventName;

    if ("undefined" !== typeof document.hidden) {
    tabHiddenPropertyName = "hidden";
    tabVisibleChangedEventName = "visibilitychange";
    } else if ("undefined" !== typeof document.webkitHidden) {
    tabHiddenPropertyName = "webkitHidden";
    tabVisibleChangedEventName = "webkitvisibilitychange";
    } else if ("undefined" !== typeof document.msHidden) {
    tabHiddenPropertyName = "msHidden";
    tabVisibleChangedEventName = "msvisibilitychange";
    }

    function safeAddHandler(element, event, handler) {
    element.removeEventListener(event, handler);
    element.addEventListener(event, handler);
    }
    function getVideos() {
    //OR: Can also add audio elements
    return document.getElementsByTagName("video");
    }

    function isPlaying(vid) {
    return !!(vid.currentTime > 0 && !vid.paused && !vid.ended && vid.readyState > 2);
    }

    function onTabVisibleChanged() {

    //console.log("Tab visibility changed for Video auto-player disabling user script. Document is hidden status: ", document[tabHiddenPropertyName]);

    var videos = getVideos();

    //if doc is hidden (switched away from that tab), then pause all its videos
    if (document[tabHiddenPropertyName]) {

    //remember had done this
    document.wasPausedOnChangeTab = true;

    //pause all videos, since
    for (var i = 0; i < videos.length; i++) {
    var vid = videos[i];

    pauseVideo(vid, true);
    }
    }
    //document is now the active tab
    else {
    document.wasPausedOnChangeTab = false; //reset state (unless need to use this field or delay this)

    //TODO-MAYBE: if want to auto-play once switch back to a tab if had paused before, then uncomment below, after changing from forEach() to for loop
    // getVideos().forEach( function(vid) {
    // if (vid.wasPausedOnChangeTab == true) {
    // vid.wasPausedOnChangeTab = false;
    // vid.play();
    // }
    // } );
    }
    }

    //handle active tab change events for this document/tab
    if (pauseOnLeaveTab) {
    safeAddHandler(document, tabVisibleChangedEventName, onTabVisibleChanged);
    }


    //returns true if auto-play is always allowed for the *website* video is shown on (not source its hosted on)
    //so YouTube videos embedded onto other sites will be blocked if YouTube is blocked here
    function isAutoPlayAllowedForSource(url) { // Check if video src is whitelisted.
    //NOTE: URL can start with blob: like on YouTube
    if (hasAutoPlaySourcesWhitelist) {
    for (var i = 0; i < autoPlaySitesWhitelist.length; i++) {
    if (isUrlMatch(url, hasAutoPlaySourcesWhitelist[i]))
    return true;
    }
    }
    return false;
    }

    //on pause or ended/finished, change playing state back to not-playing, so know to start preventing playback again unless after a click
    function onPaused(e)
    {
    e.target.isPlaying = false;
    }

    function pauseVideo(vid, isLeavingTab) {

    var eventName = "auto-play";

    if (isLeavingTab == true) //also handle undefind/unknown states
    {
    //OR: if wan't to avoid logging in some cases if not sure if playing:
    //if {vid.isPlaying != false) console.log("Paused video playback because switched away from this tab for video with source: ", vid.currentSrc); else logIt = false;

    vid.wasPausedOnChangeTab = true;

    eventName = "on leaving tab";
    //console.log("Paused video playback because switched away from this tab for video with source: ", vid.currentSrc);

    }

    console.log("Paused video " + eventName + " from source: ", vid.currentSrc);

    //remember video is no longer playing - just in case, though event handler for pause should also set this
    vid.isPlaying = false;

    //always pause regardless of isPlaying or isVideoPlaying() since aren't always reliable
    vid.pause();

    }

    function onPlay(e)
    {
    onPlayOrLoaded(e, true);
    }
    function onPlaying(e)
    {
    onPlayOrLoaded(e, false);
    }
    function onPlayOrLoaded(e, isPlayConfirmed) { // React when a video begins playing

    var msSinceLastClick = Date.now() - lastClickTimeMs;
    var vid = e.target;

    //exit, do nothing if is already playing (but not if undefined/unknown), in case clicked on seekbar, volume, etc. - don't toggle to paused state on each click
    if(vid.isPlaying == true) {
    //return;
    }

    //if haven't clicked recently on video, consider it auto-started, so prevent playback by pausing it (unless whitelisted source domain to always play from)
    if (msSinceLastClick > allowAutoPlayWithinMillisecondsOfClick && !isAutoPlayAllowedForSource(vid.currentSrc)) {

    pauseVideo(vid);
    } else
    {
    vid.isPlaying = isPlayConfirmed || treatPlayingLikeOnPlay;
    }
    }


    function addListenersToVideo(vid, srcChanged)
    {
    var pauseNow = false;
    //if this is first time found this video
    if (vid.hasAutoPlayHandlers != true) {
    vid.hasAutoPlayHandlers = true;

    safeAddHandler(vid, "play", onPlay);
    //NOTE: Seems playing is needed in addition to play event, but isn't this just supposed to occur whenever play, plus after play once buffering is finished?
    if (handlePlayingInAdditionToPlayEvent)
    safeAddHandler(vid, "playing", onPlaying);


    safeAddHandler(vid, "pause", onPaused);
    safeAddHandler(vid, "ended", onPaused);

    pauseNow = true;
    }
    //if video source URL has NOT changed and had already hooked up and paused this video before, then exit, don't pause again (in case user had clicked to play it earlier but another video injected into the page caused inspecting all videos again)
    //else if (srcChanged != true)
    // return; //exit, don't pause it again

    //pause the video since this is the first time was found OR src attribute had changed
    if (pauseNow || srcChanged == true) {

    pauseVideo(vid);

    if (allowPauseAgainAfterFirstFound) {
    vid.isPlaying = false; //allow upcoming first play event to cause pausing too this first time
    }
    }
    }
    function addListeners() {

    var videos = getVideos();
    //OR: Can get audio elements too

    for (var i = 0; i < videos.length; i++) {
    // Due to the way some sites dynamically add videos, the "playing" event is not always sufficient.
    // Also, in order to handle dynamically added videos, this function may be called on the same elements.
    // Must remove any existing instances of this event listener before adding. Prevent duplicate listeners.
    var vid = videos[i];

    addListenersToVideo(vid);
    }
    }

    //handle click event so can limit auto play until X time after a click
    safeAddHandler(document, "click", function () {
    lastClickTimeMs = Date.now();
    });

    var observer = new MutationObserver(function(mutations) {
    // Listen for elements being added. Add event listeners when video elements are added.
    mutations.forEach(function(mutation) {

    if (mutation.type == "attributes" && mutation.target.tagName == "VIDEO") { //&& mutation.attributeName == "src"

    videoAdded = true;

    addListenersToVideo(mutation.target, true);
    }

    if (mutation.addedNodes.length > 0) {

    addListeners();

    //faster to use getElementsByTagName() for rarely added types vs. iterating over all added elements, checking tagName
    // for (var i = 0; i < mutation.addedNodes.length; i++) {
    // var added = mutation.addedNodes[i];
    // if (added.nodeType == 1 && added.tagName == "VIDEO") {
    // videoAdded = true;
    // }
    // }
    }
    });
    });

    //subscribe to documents events for node added and src attribute changed via MutatorObserver, limiting to only src attribute changes
    observer.observe(document, { attributes: true, childList: true, subtree: true, characterData: false, attributeFilter: ['src'] });

    //don't also need to handle "spfdone" event

    //hookup event handlers for all videos that exist now (will still add to any that are inserted later)
    addListeners();

    })();
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  2. Teşekkür edenler:

    nasre (20.11.2017) , usta_399 (19.11.2017)

  3. #2
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    2 Bu Konu icin
    4.434 Toplam

    Standart Cevap: chrome tampermonkey script paylasımı

    youtube mp3 download button = youtubede mp3 dowload diye bir buton olusur indirmek istediginiz videoyu tıkladıgınızda mp3 olarak indirir

    // ==UserScript==
    // @name Youtube mp3 download button
    // @namespace [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    // @version 1.2.1
    // @description Adds a download button to YouTube videos which allows you to download the MP3 of the video without having to leave the page
    // @author Arari
    // @include http*://*.youtube.com/*
    // @include http*://youtube.com/*
    // @include http*://*.youtu.be/*
    // @include http*://youtu.be/*
    // @run-at document-end
    // ==/UserScript==

    function polymerInject(){

    /* Create button */
    var buttonDiv = document.createElement("div");
    buttonDiv.style.width = "100%";
    buttonDiv.id = "parentButton";

    var addButton = document.createElement("button");
    addButton.appendChild(document.createTextNode("Dow nload MP3"));

    if(typeof(document.getElementById("iframeDownloadB utton")) != 'undefined' && document.getElementById("iframeDownloadButton") !== null){

    document.getElementById("iframeDownloadButton").re move();

    }

    addButton.style.width = "100%";
    addButton.style.backgroundColor = "#181717";
    addButton.style.color = "white";
    addButton.style.textAlign = "center";
    addButton.style.padding = "10px 0";
    addButton.style.marginTop = "5px";
    addButton.style.fontSize = "14px";
    addButton.style.border = "0";
    addButton.style.cursor = "pointer";
    addButton.style.borderRadius = "2px";
    addButton.style.fontFamily = "Roboto, Arial, sans-serif";

    addButton.onclick = function () {

    this.remove();

    /* Add large button on click */
    var addIframe = document.createElement("iframe");
    addIframe.src = '//www.convertmp3.io/widget/button/?color=ba1717&video=' + window.location.href;

    addIframe.style.width = "100%";
    addIframe.style.height = "60px";
    addIframe.style.marginTop = "10px";
    addIframe.style.overflow = "hidden";
    addIframe.scrolling = "no";
    addIframe.id = "iframeDownloadButton";

    var targetElement = document.querySelectorAll("[id='meta']");

    for(var i = 0; i < targetElement.length; i++){

    if(targetElement[i].className.indexOf("ytd-watch") > -1){

    targetElement[i].insertBefore(addIframe, targetElement[i].childNodes[0]);

    }

    }

    };

    buttonDiv.appendChild(addButton);

    /* Find and add to target */
    var targetElement = document.querySelectorAll("[id='subscribe-button']");

    for(var i = 0; i < targetElement.length; i++){

    if(targetElement[i].className.indexOf("ytd-video-secondary-info-renderer") > -1){

    targetElement[i].appendChild(buttonDiv);

    }

    }

    /* Fix hidden description bug */
    var descriptionBox = document.querySelectorAll("ytd-video-secondary-info-renderer");
    if(descriptionBox[0].className.indexOf("loading") > -1){

    descriptionBox[0].classList.remove("loading");

    }

    }

    function standardInject() {
    var pagecontainer=document.getElementById('page-container');
    if (!pagecontainer) return;
    if (/^https?:\/\/www\.youtube.com\/watch\?/.test(window.location.href)) run();
    var isAjax=/class[\w\s"'-=]+spf\-link/.test(pagecontainer.innerHTML);
    var logocontainer=document.getElementById('logo-container');
    if (logocontainer && !isAjax) { // fix for blocked videos
    isAjax=(' '+logocontainer.className+' ').indexOf(' spf-link ')>=0;
    }
    var content=document.getElementById('content');
    if (isAjax && content) { // Ajax UI
    var mo=window.MutationObserver||window.WebKitMutationO bserver;
    if(typeof mo!=='undefined') {
    var observer=new mo(function(mutations) {
    mutations.forEach(function(mutation) {
    if(mutation.addedNodes!==null) {
    for (var i=0; i<mutation.addedNodes.length; i++) {
    if (mutation.addedNodes[i].id=='watch7-container' ||
    mutation.addedNodes[i].id=='watch7-main-container') { // old value: movie_player
    run();
    break;
    }
    }
    }
    });
    });
    observer.observe(content, {childList: true, subtree: true}); // old value: pagecontainer
    } else { // MutationObserver fallback for old browsers
    pagecontainer.addEventListener('DOMNodeInserted', onNodeInserted, false);
    }
    }
    }

    function onNodeInserted(e) {
    if (e && e.target && (e.target.id=='watch7-container' ||
    e.target.id=='watch7-main-container')) { // old value: movie_player
    run();
    }
    }

    function finalButton(){

    var buttonIframeDownload = document.createElement("iframe");
    buttonIframeDownload.src = '//www.convertmp3.io/widget/button/?color=ba1717&amp;video=' + window.location.href;
    buttonIframeDownload.id = "buttonIframe";

    buttonIframeDownload.style.width = "100%";
    buttonIframeDownload.style.height = "60px";
    buttonIframeDownload.style.paddingTop = "20px";
    buttonIframeDownload.style.paddingBottom = "20px";
    buttonIframeDownload.style.overflow = "hidden";
    buttonIframeDownload.scrolling = "no";

    document.getElementById("watch-header").appendChild(buttonIframeDownload);

    }

    function run(){

    if(!document.getElementById("parentButton") && window.location.href.substring(0, 25).indexOf("youtube.com") > -1 && window.location.href.indexOf("watch?") > -1){

    var parentButton = document.createElement("div");

    parentButton.className = "yt-uix-button yt-uix-button-default";
    parentButton.id = "parentButton";

    parentButton.style.height = "23px";
    parentButton.style.marginLeft = "28px";
    parentButton.style.paddingBottom = "1px";

    parentButton.onclick = function () {

    this.remove();
    finalButton();

    };

    document.getElementById("watch7-user-header").appendChild(parentButton);

    var childButton = document.createElement("span");
    childButton.appendChild(document.createTextNode("D ownload MP3"));
    childButton.className = "yt-uix-button-content";

    childButton.style.lineHeight = "25px";
    childButton.style.fontSize = "12px";

    parentButton.appendChild(childButton);

    }

    }

    if(document.getElementById("polymer-app") || document.getElementById("masthead") || window.Polymer){

    setInterval(function(){

    if(window.location.href.indexOf("watch?v=") < 0){

    return false;

    }

    if(document.getElementById("count") && document.getElementById("parentButton") === null){

    polymerInject();


    }

    }, 100);

    }

    else{

    standardInject();

    }
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  4. Teşekkür edenler:

    nasre (20.11.2017) , usta_399 (19.11.2017)

  5. #3
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    2 Bu Konu icin
    4.434 Toplam

    Standart Cevap: chrome tampermonkey script paylasımı

    ziyaret edilen sayfalar kırmızı olarak isaretler googlede arama yaparken cok ise yarıyor acaba buna bakmısmıydım demenize gerek kalmadan kırmızı renkle isaretliyor

    // ==UserScript==
    // @name Ziyaret edilen linkler kirmizi
    // @description Changes Googles visited link color to red.
    // @include *google.*
    // @grant GM_addStyle
    // @version 1.0
    // @namespace [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    // ==/UserScript==

    GM_addStyle('a:visited {color:red !important}');
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  6. Teşekkür edenler:

    nasre (21.11.2017) , usta_399 (19.11.2017)

  7. #4
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    2 Bu Konu icin
    4.434 Toplam

    Standart Cevap: chrome tampermonkey script paylasımı

    save from net helper = youtube okru vkcom daha bircok sitedeki videoların altına indir butonu olusturuyor butona tıklayarak istediginiz cozunurlukte videoyu indirebilirsiniz
    cok uzun oldugu icin buraya ekleyemedim asagıdan indirebilirsiniz

    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  8. Teşekkür edenler:

    nasre (20.11.2017) , usta_399 (19.11.2017)

  9. #5
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    3 Bu Konu icin
    4.434 Toplam

    Standart Cevap: chrome tampermonkey script paylasımı

    rss atom feed button = sitelerde rss yayın varsa ekranın sol ust kosesinde bir buton cıkıyor tıklayarak rss yayını okuyabilirsiniz

    // ==UserScript==
    // @id RSS+Atom Feed Subscribe Button Generator
    // @name RSS+Atom Feed Subscribe Button Generator
    // @description Finds RSS and/or Atom links on a page and inserts feed subscription links for use by aggregators
    // @namespace [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    // @include *
    // @creator Manpreet Singh [junkblocker@yahoo.com]
    // @copyright Manpreet Singh [junkblocker@yahoo.com]
    // @author Manpreet Singh [junkblocker@yahoo.com]
    // @version 2.5
    // @date 2014-11-04
    // ==/UserScript==

    /*
    * Copyright (c) 2006-2014, Manpreet Singh [junkblocker@yahoo.com]
    *
    * Permission is hereby granted, free of charge, to any person
    * obtaining a copy of this software and associated documentation
    * files (the "Software"), to deal in the Software without
    * restriction, including without limitation the rights to use,
    * copy, modify, merge, publish, distribute, sublicense, and/or sell
    * copies of the Software, and to permit persons to whom the
    * Software is furnished to do so, subject to the following
    * conditions:
    *
    * The above copyright notice and this permission notice shall be
    * included in all copies or substantial portions of the Software.
    *
    * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    * OTHER DEALINGS IN THE SOFTWARE.
    */

    // ******
    // Opera, Chrome, Chromium, Safari and IE7Pro compatible except
    //
    // 1) link tags injection does not work in IE7Pro
    //
    // due to non-firefox platform limitations/differences.
    //
    // IE7Pro bundles an older version of this script by default.
    // ******

    // Version 2.5 - New home at greasyfork.org
    // Removed auto-update code
    // Version 2.4 - Constrained container background and border
    // Version 2.3 - Constrained button dimensions some more
    // Version 2.2 - Constrained button dimensions
    // Version 2.1 - Fixed Content Security Policy issues
    // Version 2.0 - 'more' button was broken for me
    // some javascript lint cleanup
    // Lighter icons by simon!
    // Version 1.9 - Fixed invalid update metadata
    // Version 1.8 - Layout fix on apple.com/macupdate.com etc.
    // Version 1.7 - Minor layout fix on arstechnica.com
    // Version 1.6 - Insert discovered link tags in header for the browser's detection to list them too
    // Version 1.5 - Added license info
    // Added checks for feeds like &feed=rss or &feed=atom and some case insensitivity
    // Version 1.4 - Made the feed check slightly more stringent by excluding javascript: mailto: etc. urls
    // Version 1.3 - Reduce the number of button shown initially to a sane minimum
    // Version 1.2 - Fixed partially broken auto update.
    // Don't increase the install count on userscripts.org while checking for updates
    // Version 1.1 - Misc code cleanup
    // Version 1.0 - Added auto update without requiring an external script
    // Version 0.9 - Added a close button
    // Version 0.8 - Checks some wiki feeds with ?action=rss_rc and feeds with /rss/$ or /atom/$
    // Version 0.7 - Check for feedburner feeds
    // Version 0.6 - Fixed a major issue with using snapshotLength when it was not available
    // Version 0.5 - Updated contact info
    // Version 0.4 - Added optional auto-update facility
    // Version 0.3 - Added some speed optimizations
    // Version 0.2 - Merged Iain Brodfoot's floating div behaviour and removed purl.org links
    // - Allow revert to old behaviour by hand editing this script
    // Version 0.1 - First release

    /*
    * Options contribution by Iain Broadfoot (ibroadfo@geeksoc.org)
    * - remove link to purl
    * (Manually edit this script to restore old behaviour. See TWEAK NOTE 1 below)
    * - Float the buttons to enable better behaviour on blogger/blogspot.com
    * (Manually edit this script to restore old behaviour. See TWEAK NOTE 2 below)
    *
    * Initially lifted mostly from
    * Generate RSS and ATOM tags: [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    * Amazon Atom Injector: [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    * Add RSS Index: [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    *
    * Original buttons from the excellent: [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    */

    (function() {
    function addEventHandler(target, eventName, eventHandler, scope) {
    var f = scope ? function(){ eventHandler.apply( scope, arguments ); } : eventHandler;
    if (target.addEventListener) {
    target.addEventListener(eventName, f, true);
    } else if (target.attachEvent) {
    target.attachEvent('on' + eventName, f);
    }
    return f;
    }

    var head = document.getElementsByTagName('head');
    if (head && head[0]) head = head[0];
    var INITIAL_COUNT = 5;
    var ATOM_ICON = '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAPBAMAAAC B51W8AAAAAXNSR0IArs4c6QAAACRQTFRFAAEAAxx+JCYjYWNgh o53kJKPy6Gio63Ys7Wysb3lyMnG/f/8AJKv4wAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCan BgAAAAHdElNRQfcBhsNKDWiRqoQAAAA2UlEQVQoz42SoQ7CMBC GL10w7CWWEAwzNRiwOEzD5DwvgSGoJVUoBAZFSGeWQZPSeznab utYtiX709b0y3/X/wowVSFW0vZ4iSMOq2hAGVgux2d98dl15UFmQMVr4zHwAAsFsMX MAJdltKKzYVACgTVAbA2RucYdaLZfDtSJhJgGPMPvHRk5QwKpv WvXvi5NjZ3pkeP1hDQoiaxAb9eAb0gtqDneULMW7DmWplb8gI1 9rOiC3R4VkCgsYW5T539gPx7lhmITFH4So4G7qM1kpoBC5DiqY vLn+QGXavuS25r9yAAAAABJRU5ErkJggg==" style="border: none !important; margin: 0px !important; width: 80px !important; height: 15px !important; display: inline !important;" />';
    var RSS_ICON = '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAPAgMAAAA Op6AcAAAAAXNSR0IArs4c6QAAAAxQTFRFAAAA/2YAiY55////S8IQBgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wLFR MROauDVnkAAAB7SURBVBjTpc8xDoAgDEBRLuXsKToaT0FMungf MLgz4CmMdygzC1G0yGIii/EPDM0LaYWo1Z6vdtFADtWj6ctwhKNfcTE26ehm8nHhodxAApKx 3iifX3vL0AM6Y09NxDJlOUAHK2o2ihkVKbcwAiZNaSb25c9/e1Zvr3UBWOasaPHYnJwAAAAASUVORK5CYII=" style="border: none !important; margin: 0px !important; width: 80px !important; height: 15px !important; display: inline !important;" />';
    var RDF_ICON = '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAPAgMAAAA Op6AcAAAAAXNSR0IArs4c6QAAAAxQTFRFAAAA/2YAiY55////S8IQBgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wLFR MKD80PCHoAAAB3SURBVBjTpc8xDsAQGIZhl+rcU4jJMaSJxX1o 2A0cwx1+s0Ua+muXJrU0fQfDlycCIbPW/uogCx1J/Wj/MipWFJXR+mZqcJBrxFEkLqgE67PVeZz+khxlsL4bAJRtyI0Nad BoZHBLkQqOzUBzgP6+8987p3+fdQKJXassgfh4CAAAAABJRU5E rkJggg==" style="border: none !important; margin: 0px !important; width: 80px !important; height: 15px !important; display: inline !important;" />';
    var XML_ICON = '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAPAgMAAAA Op6AcAAAAAXNSR0IArs4c6QAAAAxQTFRFAAAA/2YAiY55////S8IQBgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wLFR MRFO5cCgwAAAB3SURBVBjTY2DABuz/Y4A/DKahIFC1CgmsIUWwtPTq9dCq/et2/Vv9a9/6V69/7QcKxl79DhR8tW7X63WrXoPIXUDB8NC7QMF963b9X/3qFVDlP4hKkPbVQDWrgMpeQVSCzPxa9W/1q3/rXwHVQ8ykzJ1Y/Y4NAADEZ67GIr3R+wAAAABJRU5ErkJggg==" style="border: none !important; margin: 0px !important; width: 80px !important; height: 15px !important; display: inline !important;" />';
    var CLOSE_ICON = '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPAgMAAAB GuH3ZAAAAAXNSR0IArs4c6QAAAAlQTFRF/2YA////AAAALA0mBgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAEnMAABJzAY wiuQcAAAAHdElNRQfcCxUTCRv8+I/EAAAAMklEQVQI12NYtWrVCoapoaERDBMYGCSghAMLkBAQABIsD kCCkQHGAouBZeGKwXpBpgAAhtMRBKRIycIAAAAASUVORK5CYII =" style="border: none !important; margin: 0px !important; width: 15px !important; height: 15px !important; display: inline !important;" />';
    var MORE_ICON = '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAPAgMAAAD rOWVwAAAAAXNSR0IArs4c6QAAAAxQTFRFAAEA/mcAh494/v/8doDPMwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wLF RMNODrzO7IAAABNSURBVAjXY2BAAPv/UPCHwTQUDKpWrcHGfAVklpbWxl/9W/ULyKz9ej229GrVPyCzvPQ6SPQ/WMH12KsQUaDa2FKIWiQTsFqB5AYEAABsXUkpSEP5/AAAAABJRU5ErkJggg==" style="border: none !important; margin: 0px !important; width: 40px !important; height: 15px !important; display: inline !important;" />';
    // array to keep track of 'seen' feed links.
    var seen = [];

    var fsbdiv = document.createElement("div");
    fsbdiv.setAttribute("id", "XmlButtons");
    fsbdiv.style.textAlign = "left";
    fsbdiv.style.margin = "0px";
    // top right bottom left
    fsbdiv.style.padding = "0px 3px 0px 3px";
    fsbdiv.style.border = "none" ;
    fsbdiv.style.background = "none";
    // TWEAK NOTE 1 START: Comment out the next three lines to disable the buttons from floating
    fsbdiv.style.position = "fixed";
    fsbdiv.style.top = "0px";
    fsbdiv.style.left = "0px";
    fsbdiv.style.zIndex = "99999";
    fsbdiv.style.display = 'inline';
    // TWEAK NOTE 1 END

    // Get links already declared properly in <link> elements in <head>
    function getKnownTags() {
    var linkRelElems = document.getElementsByTagName("link");
    var tlink;

    for (var i = 0, l = linkRelElems.length; i < l; i++) {
    tlink = linkRelElems[i];
    if (!tlink) continue;
    try {
    var thref = tlink.href;
    var type = tlink.type;

    if (type && type.match(/.*\/rs[sd](\+xml)?$/i)) {
    addRssLinkTag(thref, RSS_ICON);
    } else if (type && type.match(/.*\/atom\+xml$/i)) {
    addRssLinkTag(thref, ATOM_ICON);
    } else if (type && type.match(/^text\/xml$/i)) {
    addRssLinkTag(thref, RSS_ICON);
    }
    } catch (e) {
    }
    }
    }

    function discoverUnknownFeeds() {
    if( !document.links ) {
    document.links = document.getElementsByTagName("a");
    }
    var links = document.links;
    for (var a = 0, len = links.length; a < len ; a++) {
    var link = links[a];
    linkhref = link.href;

    if (linkhref.match(/^rss:/) ||
    linkhref.match(/^(http|ftp|feed).*([\.\/]rss([\.\/]xml|\.aspx|\.jsp|\/)?$|\/node\/feed$|\/rss\/[a-z0-9]+$|[?&;](rss|xml|rdf)=|[?&;]feed=rss[0-9.]*$|[?&;]action=rss_rc$|feeds\.feedburner\.com\/[a-z0-9]+$)/i)) {
    addRssLinkTag(linkhref, RSS_ICON, "rss");
    } else if (linkhref.match(/^(http|ftp|feed).*\/atom(\.xml|\.aspx|\.jsp|\/)?$|[?&;]feed=atom[0-9.]*$/i)) {
    addRssLinkTag(linkhref, ATOM_ICON, "atom");
    } else if (linkhref.match(/^(http|ftp|feed).*(\/feeds?\/[^.\/]*\.xml$|.*\/index\.xml$|feed\/msgs\.xml(\?num=\d+)?$)/i)) {
    addRssLinkTag(linkhref, XML_ICON, "rss");
    } else if (linkhref.match(/^(http|ftp|feed).*\.rdf$/i)) {
    addRssLinkTag(linkhref, RDF_ICON, "rss");
    } else if (linkhref.match(/^feed:\/\//i)) {
    addRssLinkTag(linkhref, RSS_ICON, "rss");
    }
    }
    }

    function beenThere(linkhref) {
    if (seen.length <= 0) return false;

    var href = linkhref.toLowerCase();
    for (var i = seen.length-1; i >=0; --i) {
    if (seen[i].toLowerCase() == href) return true;
    }

    return false;
    }

    function moreFSB() {
    var elem;
    for (var i = 1; ; i++) {
    elem = document.getElementById("XmlButton" + i);
    if (!elem) break;
    try {elem.style.display = "inline";} catch(e) {}
    }
    document.getElementById("MoreFSBButton").style.dis play = 'none';
    return false;
    }

    function addRssLinkTag(linkhref, icon, addheadtype) {
    if (beenThere(linkhref)) {
    return;
    } else {
    seen.push(linkhref);
    }

    if (seen.length == (INITIAL_COUNT + 1)) {
    var moreButton = document.createElement('a');
    moreButton.innerHTML = MORE_ICON;
    moreButton.style.display = 'inline';
    moreButton.style.cursor = 'pointer';
    moreButton.id = 'MoreFSBButton';
    addEventHandler(moreButton, 'click', moreFSB);
    fsbdiv.appendChild(moreButton);
    fsbdiv.appendChild(document.createTextNode(" "));
    }
    var flink = document.createElement("a");
    flink.innerHTML = icon;
    flink.href = linkhref;
    // TWEAK NOTE 2 START : Uncomment the href line below to retore linking
    // to purl.org pages for easy subscription in feed readers. This service
    // creates link for all known aggregators which support RSS subscription
    // service via a URL.

    // href = "http://purl.org/net/syndication/subscribe/?rss=" + linkhref;

    // TWEAK NOTE 2 END
    flink.alt = linkhref;
    flink.title = linkhref;
    flink.id = 'XmlButton' + seen.length;
    if (seen.length >= (INITIAL_COUNT + 1)) {
    flink.style.display = 'none';
    }
    fsbdiv.appendChild(flink);
    fsbdiv.appendChild(document.createTextNode(" "));
    // <link href="url" rel="alternate" title="desc" type="application/rss+xml" />
    if (addheadtype && head) {
    var link = document.createElement("link");
    link.href=linkhref;
    link.rel="alternate";
    link.title=linkhref + " (discovered by RSS+Atom Feed Subscribe Button Generator)";
    link.type="application/" + addheadtype + "+xml";
    head.appendChild(link);
    }

    }

    getKnownTags();
    discoverUnknownFeeds();

    var body = document.getElementsByTagName("body")[0];

    function closeFSB() {
    try {
    document.getElementById("XmlButtons").style.displa y = 'none';
    } catch(e) {}
    }

    // insert the div only if something was found
    if (seen.length > 0) {
    if (head) {
    var closeButton = document.createElement('a');
    closeButton.innerHTML = CLOSE_ICON;
    addEventHandler(closeButton, 'click', closeFSB);
    closeButton.style.display = 'inline';
    closeButton.style.cursor = 'pointer';
    }
    fsbdiv.insertBefore(closeButton, fsbdiv.firstChild);
    setTimeout(function() {
    body.insertBefore(fsbdiv, body.firstChild);
    }, 333); // hack to workaround the duplicated content problem
    }
    })();
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  10. Teşekkür edenler:

    nasre (20.11.2017) , usta_399 (19.11.2017) , Elvis (19.11.2017)

  11. #6
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    2 Bu Konu icin
    4.434 Toplam

    Standart Cevap: chrome tampermonkey script paylasımı

    anti adware = sitelerin adware rekram engelleyicisini kapatması icin kurdugu yazılımı engeller
    yeni yukledim tam test edemedim oyle bir siteye denk gelmedim henuz yada ise yarıyor adwareyi kapat diyen site cıkmadı henuz

    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  12. Teşekkür edenler:

    nasre (20.11.2017) , usta_399 (19.11.2017)

  13. #7
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    3 Bu Konu icin
    4.434 Toplam

    Standart Cevap: chrome tampermonkey script paylasımı

    acılır pencere engelleyicisi = openload dahil hicbir sitenin pencere acmasına izin vermez manuel izin vermek isterseniz settings ayarlardan white list bolumune eklemeniz gerekmektedir
    izin verecekleriniz User excludes yazan bolume eklenecek

    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  14. Teşekkür edenler:

    nasre (20.11.2017) , usta_399 (19.11.2017) , docea37 (19.11.2017)

 

 

Benzer Konular

  1. Chrome cok islevli eklenti Tampermonkey
    Von endebar im Forum PC, Internet ve yazılım
    Cevaplar: 3
    Son Mesaj: 8.04.2016, 11:08
  2. Google chrome ayarları yedekleme batch script ve chrome guvenlik
    Von endebar im Forum Windows 98, NT, XP, Vista, Win7, Win8, Win10
    Cevaplar: 0
    Son Mesaj: 2.03.2016, 20:32
  3. kart paylasımı yapabilen cihazlar
    Von cemil2006 im Forum Home, Local Cardsharing, Kart Paylaşımı
    Cevaplar: 4
    Son Mesaj: 14.06.2009, 13:00
  4. uydu gecıslerının hızlanması+sky box ve kart paylasımı
    Von starsın im Forum Diğer Uydu Alıcıları
    Cevaplar: 1
    Son Mesaj: 30.11.2007, 02:54

Yetkileriniz

  • Konu Acma Yetkiniz Yok
  • Cevap Yazma Yetkiniz Yok
  • Eklenti Yükleme Yetkiniz Yok
  • Mesajınızı Değiştirme Yetkiniz Yok
  •  

Page generated in 1.710.821.448.89095 seconds with 22 queries Sayfa Boyutu (294198)