wrapping for broswer plugins -dye